Commit b37679f
authored
test: add balances delay (more balance changes) flow (#84)
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/starknet-staking/84)
<!-- Reviewable:end -->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Adds new balance-delay upgrade/attest test flows (incl. 2-pool trace entries), renames the existing flow, and wires up corresponding fork tests; minor ideas doc cleanup.
>
> - **Flows/Tests**:
> - Add `BalancesDelayUpgradeAttestFlow` to verify staking power and rewards across epochs around an upgrade and attestations.
> - Add `BalancesDelay2PoolTraceEntriesFlow` to cover multi-epoch, multi-increment scenarios (STRK+BTC) pre/post-upgrade.
> - Rename and refactor `BalancesDelayFlow` -> `BalancesDelay1PoolTraceEntryFlow` (setup/test updated accordingly).
> - **Fork Tests**:
> - Add `balances_delay_2_pool_trace_entries_flow_test` and `balances_delay_upgrade_attest_flow_test`.
> - Replace `balances_delay_flow_test` with `balances_delay_1_pool_trace_entry_flow_test`.
> - **Docs**:
> - Trim obsolete migration notes from `src/flow_test/flow_ideas.md`.
>
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 91fd529. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent bd3cec8 commit b37679f
3 files changed
+539
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
0 commit comments