Skip to content

Conversation

@noa-starkware
Copy link
Collaborator

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

Note

Adds multiversion flow tests covering delegator balance changes and reward accrual during V1/V2→V3 migration, plus registers them in the mainnet test suite and updates flow ideas.

  • Tests (flows.cairo):
    • Add multiversion delegator-rewards migration flows covering V1/V2→V3:
      • DelegatorRewardsMigrationIdxIsZeroFlow
      • DelegatorRewardsMigrationIdxLenIsOneFlow
      • DelegatorRewardsMigrationIdxIsOneFlow
      • DelegatorRewardsMigrationIdxIsLenFlow
      • DelegatorRewardsMigrationFirstRegularCaseFlow
      • DelegatorRewardsMigrationSecondRegularCaseFlow
  • Test Suite (multi_version_tests.cairo):
    • Register new flows with MAINNET_LATEST tests invoking test_multi_version_flow_mainnet.
  • Docs (flow_ideas.md):
    • Update ideas to enumerate new delegator migration/reward scenarios.

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


This change is Reviewable

@noa-starkware noa-starkware self-assigned this Nov 20, 2025
@noa-starkware noa-starkware force-pushed the noa/staking/v3/test/delegator-v0 branch 2 times, most recently from 9b801e3 to 0cbc327 Compare November 23, 2025 14:56
@noa-starkware noa-starkware force-pushed the noa/staking/v3/test/delegator-migrations branch from a5fbe8a to d9a6000 Compare November 23, 2025 14:57
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