GASP-1625 Feature/locked tokens #749
E2E report yarn test-sequencerStaking ❌
❌ e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
12 tests were completed in 912s with 0 passed, 11 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/sequencerStaking.rules.test.ts | 6❌ | 1⚪ | 852s | |
test/sequential/sequencerStaking.sequencerJoining.test.ts | 5❌ | 60s |
❌ test/sequential/sequencerStaking.rules.test.ts
sequencerStaking
❌ An already collator joining as sequencer - On Active
Error: thrown: Object {
❌ Active Sequencer - mint less than min amount -> Not in active
Error: thrown: Object {
❌ Active Sequencer -> Active -> pending update -> Can not leave
Error: thrown: Object {
❌ Only a selected sequencer can submit updates
Error: thrown: Object {
❌ A selected sequencer with read rights can submit updates
Error: thrown: Object {
❌ An active sequencer with cancel rights can submit cancels
Error: thrown: Object {
⚪ Max sequencer is set for both chains - fix when BugFix
❌ test/sequential/sequencerStaking.sequencerJoining.test.ts
❌ GIVEN User provides a stake by using StakeOnly action THEN User is not a sequencer
Error: thrown: Object {
❌ GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake < minimalStakeAmount THEN return error
Error: thrown: Object {
❌ GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake > minimalStakeAmount THEN User is a sequencer
Error: thrown: Object {
❌ GIVEN User provides a stake by using StakeOnly action And User use rejoinActiveSequencer function THEN User is a sequencer
Error: thrown: Object {
❌ Happy path - A user can join and leave sequencing
Error: thrown: Object {
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.rules.test.ts ► sequencerStaking ► An already collator joining as sequencer - On Active
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.rules.test.ts:87: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/sequencerStaking.rules.test.ts:63: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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.rules.test.ts ► sequencerStaking ► Active Sequencer - mint less than min amount -> Not in active
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.rules.test.ts:95: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/sequencerStaking.rules.test.ts:63: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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.rules.test.ts ► sequencerStaking ► Active Sequencer -> Active -> pending update -> Can not leave
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.rules.test.ts:115: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/sequencerStaking.rules.test.ts:63: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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.rules.test.ts ► sequencerStaking ► Only a selected sequencer can submit updates
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.rules.test.ts:181: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/sequencerStaking.rules.test.ts:63: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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.rules.test.ts ► sequencerStaking ► A selected sequencer with read rights can submit updates
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.rules.test.ts:257: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/sequencerStaking.rules.test.ts:63: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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.rules.test.ts ► sequencerStaking ► An active sequencer with cancel rights can submit cancels
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.rules.test.ts:295: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/sequencerStaking.rules.test.ts:63: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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.sequencerJoining.test.ts ► GIVEN User provides a stake by using StakeOnly action THEN User is not a sequencer
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.sequencerJoining.test.ts:41: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 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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.sequencerJoining.test.ts ► GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake < minimalStakeAmount THEN return error
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.sequencerJoining.test.ts:58: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 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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.sequencerJoining.test.ts ► GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake > minimalStakeAmount THEN User is a sequencer
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.sequencerJoining.test.ts:78: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 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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.sequencerJoining.test.ts ► GIVEN User provides a stake by using StakeOnly action And User use rejoinActiveSequencer function THEN User is a sequencer
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.sequencerJoining.test.ts:93: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 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-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.xml
github-actions / E2E report yarn test-sequencerStaking
test/sequential/sequencerStaking.sequencerJoining.test.ts ► Happy path - A user can join and leave sequencing
Failed test found in:
e2eTests/reports/junit.xml-6c690d70-adb3-11ef-b9cf-4fab8b0591fc.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/sequencerStaking.sequencerJoining.test.ts:121: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 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)