Fix/rewards market GASP-1681 (#855) #809
E2E report yarn test-sequencerStaking ❌
❌ e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
12 tests were completed in 186s with 5 passed, 6 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/sequencerStaking.rules.test.ts | 6❌ | 1⚪ | 24s | |
test/sequential/sequencerStaking.sequencerJoining.test.ts | 5✅ | 162s |
❌ test/sequential/sequencerStaking.rules.test.ts
sequencerStaking
❌ An already collator joining as sequencer - On Active
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ Active Sequencer - mint less than min amount -> Not in active
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ Active Sequencer -> Active -> pending update -> Can not leave
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ Only a selected sequencer can submit updates
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ A selected sequencer with read rights can submit updates
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ An active sequencer with cancel rights can submit cancels
TypeError: Cannot read properties of undefined (reading 'toNumber')
⚪ 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
✅ GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake < minimalStakeAmount THEN return error
✅ GIVEN User provides a stake by using StakeAndJoinActiveSet action AND his stake > minimalStakeAmount THEN User is a sequencer
✅ GIVEN User provides a stake by using StakeOnly action And User use rejoinActiveSequencer function THEN User is a sequencer
✅ Happy path - A user can join and leave sequencing
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.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-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
Error:
TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:83:65
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.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-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
Error:
TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:83:65
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.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-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
Error:
TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:83:65
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.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-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
Error:
TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:83:65
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.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-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
Error:
TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:83:65
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-624f4bd0-b3d3-11ef-a024-4114791f9c5a.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-624f4bd0-b3d3-11ef-a024-4114791f9c5a.xml
Error:
TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:83:65
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rules.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)