Skip to content

Rolldown on_idle_hook & configurable dispute period #723

Rolldown on_idle_hook & configurable dispute period

Rolldown on_idle_hook & configurable dispute period #723

GitHub Actions / E2E report yarn test-rollupUpdate failed Nov 24, 2024 in 0s

E2E report yarn test-rollupUpdate ❌

Tests failed

❌ e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml

25 tests were completed in 1297s with 0 passed, 4 failed and 21 skipped.

Test suite Passed Failed Skipped Time
test/sequential/rolldown.updateL1FromL1.test.ts 4❌ 21⚪ 1297s

❌ test/sequential/rolldown.updateL1FromL1.test.ts

updateL1FromL1
  ⚪ Updates are accepted
  ⚪ Future +1 updates are  not accepted
  ⚪ Future -1,0,1 updates are  not accepted
  ⚪ Add twice the same deposit with requestId
  ⚪ Add twice the same request id but different deposits
  ⚪ Add twice the same request groups
  ⚪ Old Ids can be included but wont be considered
  ⚪ Old Ids can be included on some other update and wont be considered
  ⚪ An update with no new updates will fail
  ⚪ An update with a gap will fail
  ⚪ An update that is not ordered will fail
  ⚪ An update with two identical deposits must be executed correctly
  ⚪ Every update item is validated
updateL1FromL1 - errors › Update with gap: true
  ⚪ An update including gap? : true at positions 0
  ⚪ An update including gap? : true at positions 1
  ⚪ An update including gap? : true at positions 2
  ⚪ An update including gap? : true at positions 3
updateL1FromL1 - errors › Update with gap: false
  ⚪ An update including gap? : false at positions 0
  ⚪ An update including gap? : false at positions 1
  ⚪ An update including gap? : false at positions 2
  ⚪ An update including gap? : false at positions 3
updateL2FromL1 - cancelResolution and deposit errors
  ❌ When a cancel resolution fail, maintenance mode will be triggered automatically
	Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
  ❌ [BUG] When a cancel resolution fail, the whole update wont be stored
	Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
  ❌ When we have a failed deposit and send it again, it will result in no-execution again
	TypeError: Cannot read properties of undefined (reading 'toNumber')
  ❌ GIVEN two deposit with u128max-1 amount THEN second deposit fails
	Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml

See this annotation in the file changed.

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

test/sequential/rolldown.updateL1FromL1.test.ts ► updateL2FromL1 - cancelResolution and deposit errors ► When a cancel resolution fail, maintenance mode will be triggered automatically

Failed test found in:
  e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml
Error:
  Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
Raw output
Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:524:3
    at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:501: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-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml

See this annotation in the file changed.

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

test/sequential/rolldown.updateL1FromL1.test.ts ► updateL2FromL1 - cancelResolution and deposit errors ► [BUG] When a cancel resolution fail, the whole update wont be stored

Failed test found in:
  e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml
Error:
  Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
Raw output
Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:548:3
    at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:501: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-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml

See this annotation in the file changed.

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

test/sequential/rolldown.updateL1FromL1.test.ts ► updateL2FromL1 - cancelResolution and deposit errors ► When we have a failed deposit and send it again, it will result in no-execution again

Failed test found in:
  e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:608:46
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml

See this annotation in the file changed.

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

test/sequential/rolldown.updateL1FromL1.test.ts ► updateL2FromL1 - cancelResolution and deposit errors ► GIVEN two deposit with u128max-1 amount THEN second deposit fails

Failed test found in:
  e2eTests/reports/junit.xml-9b4c27e0-aa5b-11ef-8bad-cfc6452b52f4.xml
Error:
  Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
Raw output
Error: thrown: "method rolldown.RequestProcessedOnL2 not found within blocks limit"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:654:3
    at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.updateL1FromL1.test.ts:501: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)