Skip to content

adds maintenance check for ferry deposit calls #758

adds maintenance check for ferry deposit calls

adds maintenance check for ferry deposit calls #758

GitHub Actions / E2E report yarn test-rolldown failed Nov 29, 2024 in 1s

E2E report yarn test-rolldown ❌

Tests failed

❌ e2eTests/reports/junit.xml-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

12 tests were completed in 1752s 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❌ 1704s

❌ 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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0xdb895fb6f49309b4fb7c52b279e2e2e6f9e1efa6"
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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x4262688635bbf62e77d8675ed839ebfb6a0edb0c"
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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x978d169b4e99e17f2a71e182859442de7e23fe7f"
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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x885d8186daee86fa049b438efa28acc90196c8db"
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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.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-9c666a00-ae57-11ef-b6f1-032a646550cd.xml

See this annotation in the file changed.

@github-actions 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-9c666a00-ae57-11ef-b6f1-032a646550cd.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)