Skip to content

Commit

Permalink
event log scenario test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Sep 12, 2023
1 parent fc943b5 commit e15ab11
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 33 deletions.
3 changes: 1 addition & 2 deletions test/delegation/v0_2/purchase/purchase_buy_1x.scen.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@
],
"data": [
"str:DirectCall",
"str:purchaseStake",
"str:delegator_1___________________s1"
"str:payment for stake"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions test/delegation/v0_2/purchase/purchase_buy_2x.scen.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@
],
"data": [
"str:DirectCall",
"str:purchaseStake",
"str:delegator_1___________________s1"
"str:payment for stake"
]
},
{
Expand Down Expand Up @@ -116,8 +115,7 @@
],
"data": [
"str:DirectCall",
"str:purchaseStake",
"str:delegator_1___________________s1"
"str:payment for stake"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions test/delegation/v0_2/unstake/stake_unstake_1.scen.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@
],
"data": [
"str:DirectCall",
"str:unstake",
"567,000,000,000"
"str:delegation unstake"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
],
"data": [
"str:DirectCall",
"str:withdrawInactiveStake",
"1,000,000,000"
"str:delegation withdraw inactive stake"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,21 @@
"sc:delegation"
],
"data": [
"str:AsyncCall",
"str:unBond",
"str:bls_key_5_______________________________________________________________________________________"
"str:BackTransfer",
"0"
]
},
{
"address": "sc:auction",
"endpoint": "str:transferValueOnly",
"topics": [
"111,000,000,000,000",
"sc:delegation"
],
"data": [
"str:AsyncCallback",
"str:callBack",
"0x00"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,21 @@
"sc:delegation"
],
"data": [
"str:AsyncCall",
"str:unBond",
"str:bls_key_6_______________________________________________________________________________________",
"str:bls_key_3_______________________________________________________________________________________",
"str:bls_key_2_______________________________________________________________________________________"
"str:BackTransfer",
"0"
]
},
{
"address": "sc:auction",
"endpoint": "str:transferValueOnly",
"topics": [
"333,000,000,000,000",
"sc:delegation"
],
"data": [
"str:AsyncCallback",
"str:callBack",
"0x00"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
],
"data": [
"str:DirectCall",
"str:withdrawInactiveStake",
"1,000,000,000,000"
"str:delegation withdraw inactive stake"
]
},
{
Expand Down Expand Up @@ -105,8 +104,7 @@
],
"data": [
"str:DirectCall",
"str:withdrawInactiveStake",
"113,000,000,000,000"
"str:delegation withdraw inactive stake"
]
},
{
Expand Down Expand Up @@ -183,8 +181,7 @@
],
"data": [
"str:DirectCall",
"str:withdrawInactiveStake",
"284,000,000,000,000"
"str:delegation withdraw inactive stake"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
],
"data": [
"str:DirectCall",
"str:claimRewards"
"str:delegation rewards claim"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
],
"data": [
"str:DirectCall",
"str:claimRewards"
"str:delegation rewards claim"
]
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,21 @@
"sc:delegation"
],
"data": [
"str:AsyncCall",
"str:unBondNodes",
"str:bls_key_6_______________________________________________________________________________________"
"str:BackTransfer",
"0"
]
},
{
"address": "sc:auction",
"endpoint": "str:transferValueOnly",
"topics": [
"100,000,000,000,000",
"sc:delegation"
],
"data": [
"str:AsyncCallback",
"str:callBack",
"0x00"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,21 @@
"sc:delegation"
],
"data": [
"str:AsyncCall",
"str:unBondTokens",
"1000"
"str:BackTransfer",
""
]
},
{
"address": "sc:auction",
"endpoint": "str:transferValueOnly",
"topics": [
"1000",
"sc:delegation"
],
"data": [
"str:AsyncCallback",
"str:callBack",
"0x00"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion test/dns/scenarios/05_claim.steps.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"data": [
"str:DirectCall",
"str:claim"
"str:dns claim"
]
}
],
Expand Down

0 comments on commit e15ab11

Please sign in to comment.