minimal set of changes to disable sequencer registration for non sudo… #828
E2E report yarn test-rolldownWithdrawal ❌
❌ e2eTests/reports/junit.xml-76d0d460-b870-11ef-b34e-1d12067ad157.xml
11 tests were completed in 414s with 9 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/rolldown.withdraw.fees.test.ts | 5✅ | 119s | ||
test/sequential/rolldown.withdraw.merkleRoot.test.ts | 4✅ | 2❌ | 295s |
✅ test/sequential/rolldown.withdraw.fees.test.ts
✅ GIVEN a withdrawal, WHEN paying with GASP and withdrawing GASP, some fees goes to treasury
✅ GIVEN a withdrawal, WHEN paying with GASP and withdrawing Eth, some fees goes to treasury
✅ GIVEN a withdrawal, WHEN paying with GASP and withdrawing ALL GASP, extrinsic fail
✅ GIVEN a withdrawal, WHEN user having only Eth and withdrawing Eth, extrinsic fail
✅ Given a fee withdrawal payment WHEN withdrawal is sent from another account THEN the fee is deducted from from sender's account
❌ test/sequential/rolldown.withdraw.merkleRoot.test.ts
Withdraw & Batches tests -
❌ Given a cancel WHEN block is processed THEN it will create an update that needs to be sent through a batch to L1 for justification
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
✅ Given a withdraw extrinsic run WHEN token address does not exist THEN a withdraw fail and no l2update is stored
✅ Given a withdraw extrinsic run WHEN token address exist but requester does not have funds THEN a withdraw fail and no l2update is stored
✅ Given a succeed withdraw, when block is executed Then tokens are removed from user wallet
❌ GIVEN <batchSize - 1> withdraws, AND manually generated batch and create another withdraw for some other network (arb) THEN the batch is not generated
Error: Extrinsic sequencerStaking.provideSequencerStake expects 5 arguments, got 4.
✅ Given a failed deposit TX, then a withdrawal can be created by `refundFailedDeposit
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-76d0d460-b870-11ef-b34e-1d12067ad157.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► Given a cancel WHEN block is processed THEN it will create an update that needs to be sent through a batch to L1 for justification
Failed test found in:
e2eTests/reports/junit.xml-76d0d460-b870-11ef-b34e-1d12067ad157.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-76d0d460-b870-11ef-b34e-1d12067ad157.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► GIVEN <batchSize - 1> withdraws, AND manually generated batch and create another withdraw for some other network (arb) THEN the batch is not generated
Failed test found in:
e2eTests/reports/junit.xml-76d0d460-b870-11ef-b34e-1d12067ad157.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)