Rolldown on_idle_hook & configurable dispute period (#843) #755
E2E report yarn test-rolldown ❌
❌ e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
12 tests were completed in 1746s with 2 passed, 10 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/rolldown.cancel.test.ts | 4❌ | 48s | ||
test/sequential/rolldown.forceUpdate.test.ts | 2✅ | 6❌ | 1698s |
❌ test/sequential/rolldown.cancel.test.ts
❌ Active Sequencer -> Active -> canceled update -> Can not leave
Error: expect(received).toContain(expected) // indexOf
❌ GIVEN a slashed sequencer, WHEN slashed it can not provide any update / cancel until the next session ( if gets elected )
Error: expect(received).toContain(expected) // indexOf
❌ GIVEN a cancel, WHEN is justified then its stored for the batch corresponding to the network
Error: expect(received).toContain(expected) // indexOf
❌ GIVEN a cancel, WHEN is not justified then its stored for the batch corresponding to the network
Error: expect(received).toContain(expected) // indexOf
❌ test/sequential/rolldown.forceUpdate.test.ts
✅ forceUpdateL2FromL1 can be called by Sudo
❌ forceUpdateL2FromL1 can't be called by non-sudo user
Error: thrown: Object {
❌ Validate that forceCancelRequestsFromL1 can be called by Sudo
Error: Max blocks reached without getting read rights
❌ Validate that forceCancelRequestsFromL1 can't be called by non-sudo user
Error: Max blocks reached without getting read rights
✅ forceUpdateL2FromL1 does not wait for a dispute period
❌ forceCancelRequest does not need any resolution to justify the cancellation
Error: Max blocks reached without getting read rights
Seq1 do an update and seq2 cancel it
❌ When forceUpdateL2FromL1 and Justified=false then the slashed is the canceler and sequencerStatus is updated accordingly
Error: Max blocks reached without getting read rights
❌ When forceUpdateL2FromL1 and Justified=true then the slashed is the updater and sequencerStatus is updated accordingly
Error: Max blocks reached without getting read rights
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.cancel.test.ts ► Active Sequencer -> Active -> canceled update -> Can not leave
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf
Expected value: "0x701627dd57f13d47d0e4c0f0d13ea5a83bbb22c9"
Received array: []
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:57:41
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.cancel.test.ts ► GIVEN a slashed sequencer, WHEN slashed it can not provide any update / cancel until the next session ( if gets elected )
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf
Expected value: "0x4aaee4d8681592f5f64936a30296accd0b58bb98"
Received array: []
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:57:41
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.cancel.test.ts ► GIVEN a cancel, WHEN is justified then its stored for the batch corresponding to the network
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf
Expected value: "0x23f80b81aca7b70f87025d88d4080e395bb162d7"
Received array: []
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:57:41
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.cancel.test.ts ► GIVEN a cancel, WHEN is not justified then its stored for the batch corresponding to the network
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf
Expected value: "0x0b3cdd8385d0e2110238c9f884ee033370869439"
Received array: []
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:57:41
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.forceUpdate.test.ts ► forceUpdateL2FromL1 can't be called by non-sudo user
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.forceUpdate.test.ts:57:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.forceUpdate.test.ts ► Validate that forceCancelRequestsFromL1 can be called by Sudo
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: Max blocks reached without getting read rights
Raw output
Error: Max blocks reached without getting read rights
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:214:11)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.forceUpdate.test.ts ► Validate that forceCancelRequestsFromL1 can't be called by non-sudo user
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: Max blocks reached without getting read rights
Raw output
Error: Max blocks reached without getting read rights
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:214:11)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.forceUpdate.test.ts ► forceCancelRequest does not need any resolution to justify the cancellation
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: Max blocks reached without getting read rights
Raw output
Error: Max blocks reached without getting read rights
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:214:11)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.forceUpdate.test.ts ► Seq1 do an update and seq2 cancel it ► When forceUpdateL2FromL1 and Justified=false then the slashed is the canceler and sequencerStatus is updated accordingly
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: Max blocks reached without getting read rights
Raw output
Error: Max blocks reached without getting read rights
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:214:11)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)
Check failure on line 0 in e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
github-actions / E2E report yarn test-rolldown
test/sequential/rolldown.forceUpdate.test.ts ► Seq1 do an update and seq2 cancel it ► When forceUpdateL2FromL1 and Justified=true then the slashed is the updater and sequencerStatus is updated accordingly
Failed test found in:
e2eTests/reports/junit.xml-7d587f70-ae3b-11ef-a4dd-2163a3cad248.xml
Error:
Error: Max blocks reached without getting read rights
Raw output
Error: Max blocks reached without getting read rights
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:214:11)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)