Skip to content

Commit 2ff67fd

Browse files
test: delegator from v0 flows (#45)
1 parent ac1c7fe commit 2ff67fd

File tree

3 files changed

+425
-11
lines changed

3 files changed

+425
-11
lines changed

src/flow_test/flow_ideas.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,12 @@
4040
- find sigma: Enter V0, change in V2, catch all ifs.
4141
- find sigma_edge_cases: catch the comments.
4242
- find sigma - cover all branches with member from V0, V1, V2(V2 DONE).
43-
- member from V0, update balance at V3 before getting rewards, pool gets rewards, test rewards.
44-
- member from V0, pool gets rewards at V1, update balance at V3 before getting rewards, pool gets rewards, test rewards.
45-
- member from V0, pool gets rewards at V1, pool gets rewards at V3, update balance, test rewards.
46-
- member from V0, pool gets rewards at V1, pool gets rewards at V3, test rewards without update balance.
4743
- member from V1(+V2), update balance at V3, pool gets rewards at V3, test rewards. (IDX=0)
4844
- member from V1(+V2), update balance at V1, update balance at V3, test rewards. (IDX=1=LEN)
4945
- member from V1(+V2), update balance at V1, pool gets rewards at V1, update balance at V3, test rewards. (IDX=1!=LEN)
5046
- member from V1(+V2), pool gets rewards at V1, pool gets rewards at V1, update balance at V1, update balance at V3, test rewards (IDX=LEN)
5147
- member from V1(+V2), pool gets_rewards at V1, pool gets rewards at V1, update balance at V1, pool gets rewards at V3, update balance at V3, test rewards. (REGULAR CASE)
5248
- member from V1(+V2), pool gets_rewards at V1, pool gets rewards at V1, update balance at V1, pool gets rewards at V1 same epoch, pool gets rewards at V3, update balance at V3, test rewards. (REGULAR CASE)
53-
- V0->V1->V3:
54-
- enter in V0, pool gets rewards in V1, change balance at V1, pool gets rewards in V1, pool gets rewards in V3, update balance at V3, pool gets rewards in V3, test rewards.
5549
more ideas:
5650
- member from V1, pool gets rewards at V1, update balance at V1, update balance at V3, pool gets rewards at V3, test rewards.
5751
- member from V1, pool gets rewards at V1, pool gets rewards at V3, update balance at V3, test rewards.

0 commit comments

Comments
 (0)