Skip to content

fixe while loop causing crash & add u512 to avoid overflows for maxxe… #820

fixe while loop causing crash & add u512 to avoid overflows for maxxe…

fixe while loop causing crash & add u512 to avoid overflows for maxxe… #820

GitHub Actions / E2E report yarn test-sequencerCancellation succeeded Dec 9, 2024 in 0s

E2E report yarn test-sequencerCancellation ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-d2541730-b62b-11ef-823b-4b23bbe25d52.xml

6 tests were completed in 2358s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.cancel.test.ts 6✅ 2358s

✅ test/sequential/sequencerStaking.cancel.test.ts

✅ GIVEN a sequencer, WHEN <correctly> canceling an update THEN a % of the slash is given to it
✅ GIVEN a sequencer, WHEN <in-correctly> canceling an update THEN my slash is burned
✅ GIVEN a sequencer, WHEN <no> canceling an update THEN no slash is applied
✅ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels, THEN it can be still slashed and kicked, cancels & updates will be executed.
✅ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND cancelator provides staking THEN cancelator will be slashed but he will stay in activeSequncer pool
✅ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels AND users provide staking THEN users have read/cancel rights