Skip to content

Conversation

@noa-starkware
Copy link
Collaborator

@noa-starkware noa-starkware commented Nov 20, 2025

Note

Adds comprehensive delegator rewards migration flow tests (multiple idx/regular cases), integrates them into multi-version tests, and removes an unused import; updates flow ideas.

  • Flow tests (src/flow_test/flows.cairo):
    • Add delegator rewards migration flows: DelegatorRewardsMigrationIdxIsZeroFlow, DelegatorRewardsMigrationIdxLenIsOneFlow, DelegatorRewardsMigrationIdxIsOneFlow, DelegatorRewardsMigrationIdxIsLenFlow, DelegatorRewardsMigrationFirstRegularCaseFlow, DelegatorRewardsMigrationSecondRegularCaseFlow.
    • Each flow covers delegation balance changes across versions (V1/V2→V3), attestations, and reward assertions.
    • Minor cleanup: drop unused strk_pool_update_rewards_v1 import.
  • Tests (src/flow_test/multi_version_tests.cairo):
    • Register new flows with mainnet-forked tests for all added scenarios.
  • Docs (src/flow_test/flow_ideas.md):
    • Expand migration test ideas around member-from-V1 scenarios.

Written by Cursor Bugbot for commit a5fbe8a. This will update automatically on new commits. Configure here.


This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants