minimal set of changes to disable sequencer registration for non sudo… #828
E2E report yarn test-sequencerStaking ❌
❌ e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
12 tests were completed in 78s with 0 passed, 11 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/sequencerStaking.rules.test.ts | 6❌ | 1⚪ | 17s | |
test/sequential/sequencerStaking.sequencerJoining.test.ts | 5❌ | 60s |
❌ test/sequential/sequencerStaking.rules.test.ts
sequencerStaking
❌ An already collator joining as sequencer - On Active
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ Active Sequencer - mint less than min amount -> Not in active
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ Active Sequencer -> Active -> pending update -> Can not leave
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ Only a selected sequencer can submit updates
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ A selected sequencer with read rights can submit updates
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ An active sequencer with cancel rights can submit cancels
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
⚪ 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: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake < minimalStakeAmount THEN return error
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake > minimalStakeAmount THEN User is a sequencer
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN User provides a stake by using StakeOnly action And User use rejoinActiveSequencer function THEN User is a sequencer
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ Happy path - A user can join and leave sequencing
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-fce7a870-b7c7-11ef-9dc4-c36aad03f580.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-fce7a870-b7c7-11ef-9dc4-c36aad03f580.xml
Error:
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Raw output
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:11:19)
at Object.decorated [as provideSequencerStake] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:55:36)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/SequencerStaking.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)