Skip to content

Rolldown on_idle_hook & configurable dispute period #726

Rolldown on_idle_hook & configurable dispute period

Rolldown on_idle_hook & configurable dispute period #726

GitHub Actions / E2E report yarn test-sequencerCancellation failed Nov 26, 2024 in 1s

E2E report yarn test-sequencerCancellation ❌

Tests failed

❌ e2eTests/reports/junit.xml-2189a0f0-abdb-11ef-9ea6-2b57d391af08.xml

6 tests were completed in 2238s with 5 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.cancel.test.ts 5✅ 1❌ 2238s

❌ 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.
	Error:   --- TX Mapping issue ---
✅ 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

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-2189a0f0-abdb-11ef-9ea6-2b57d391af08.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► 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.

Failed test found in:
  e2eTests/reports/junit.xml-2189a0f0-abdb-11ef-9ea6-2b57d391af08.xml
Error:
  Error:   --- TX Mapping issue --- 
Raw output
Error:   --- TX Mapping issue --- 
    at getEventResultFromMangataTx (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:169:11)
    at Function.getUpdateIdFromEvents (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:61:19)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:259:25
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)