minimal set of changes to disable sequencer registration for non sudo… #828
E2E report yarn test-sequencerCancellation ❌
❌ e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
6 tests were completed in 63s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/sequencerStaking.cancel.test.ts | 6❌ | 63s |
❌ test/sequential/sequencerStaking.cancel.test.ts
❌ GIVEN a sequencer, WHEN <correctly> canceling an update THEN a % of the slash is given to it
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update THEN my slash is burned
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN a sequencer, WHEN <no> canceling an update THEN no slash is applied
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels, THEN it can be still slashed and kicked, cancels & updates will be executed.
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND cancelator provides staking THEN cancelator will be slashed but he will stay in activeSequncer pool
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels AND users provide staking THEN users have read/cancel rights
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
github-actions / E2E report yarn test-sequencerCancellation
test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <correctly> canceling an update THEN a % of the slash is given to it
Failed test found in:
e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.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-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
github-actions / E2E report yarn test-sequencerCancellation
test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update THEN my slash is burned
Failed test found in:
e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.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-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
github-actions / E2E report yarn test-sequencerCancellation
test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <no> canceling an update THEN no slash is applied
Failed test found in:
e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.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-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
github-actions / E2E report yarn test-sequencerCancellation
test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels, THEN it can be still slashed and kicked, cancels & updates will be executed.
Failed test found in:
e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.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-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
github-actions / E2E report yarn test-sequencerCancellation
test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update AND cancelator provides staking THEN cancelator will be slashed but he will stay in activeSequncer pool
Failed test found in:
e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.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-a5885270-b86f-11ef-9338-c3d0ecb96d25.xml
github-actions / E2E report yarn test-sequencerCancellation
test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels AND users provide staking THEN users have read/cancel rights
Failed test found in:
e2eTests/reports/junit.xml-a5885270-b86f-11ef-9338-c3d0ecb96d25.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)