Skip to content

GASP-1625 Feature/locked tokens #749

GASP-1625 Feature/locked tokens

GASP-1625 Feature/locked tokens #749

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

E2E report yarn test-rolldown ❌

Tests failed

❌ e2eTests/reports/junit.xml-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x81fbd199bd123a5e8c76c70d8ba0d5f8e1322523"
Received array: []
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:58: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x3fbda6515099da49eec1a9050e18e8beefe39f95"
Received array: []
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:58: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x28a2053b08793f4a747725283bff0a1018659699"
Received array: []
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:58: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected value: "0x37ebbd17843c5e3cdf2b1d3f537365b972e306ec"
Received array: []
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.cancel.test.ts:58: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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:208: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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:208: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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:208: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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:208: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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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-5d84e110-adb5-11ef-b871-c3532a4b64e0.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:208:11)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)