Funds for sequencers (#873) #847
E2E report yarn test-sequencerRewards ❌
❌ e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
5 tests were completed in 1428s with 1 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/sequencerStaking.rewards.test.ts | 1✅ | 4❌ | 1428s |
❌ test/sequential/sequencerStaking.rewards.test.ts
❌ Sequencer budget is set when initializing issuance config
TypeError: Cannot read properties of undefined (reading '0')
❌ Sequencers get paid on every session BUT only when they submit valid updates ( Succeeded extrinsics )
TypeError: Cannot read properties of undefined (reading 'diff')
✅ When a sequencer brings an update It will get some points
❌ When session ends, tokens will be distributed according the points obtained
TypeError: Cannot read properties of undefined (reading 'diff')
❌ Regardless joining , slash, join or leaving sequencer set, Sequencer will be paid if points
Error: Expected: 0
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
github-actions / E2E report yarn test-sequencerRewards
test/sequential/sequencerStaking.rewards.test.ts ► Sequencer budget is set when initializing issuance config
Failed test found in:
e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
Error:
TypeError: Cannot read properties of undefined (reading '0')
Raw output
TypeError: Cannot read properties of undefined (reading '0')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:82:18
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
github-actions / E2E report yarn test-sequencerRewards
test/sequential/sequencerStaking.rewards.test.ts ► Sequencers get paid on every session BUT only when they submit valid updates ( Succeeded extrinsics )
Failed test found in:
e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
Error:
TypeError: Cannot read properties of undefined (reading 'diff')
Raw output
TypeError: Cannot read properties of undefined (reading 'diff')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:120:50
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
github-actions / E2E report yarn test-sequencerRewards
test/sequential/sequencerStaking.rewards.test.ts ► When session ends, tokens will be distributed according the points obtained
Failed test found in:
e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
Error:
TypeError: Cannot read properties of undefined (reading 'diff')
Raw output
TypeError: Cannot read properties of undefined (reading 'diff')
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:265:51
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
github-actions / E2E report yarn test-sequencerRewards
test/sequential/sequencerStaking.rewards.test.ts ► Regardless joining , slash, join or leaving sequencer set, Sequencer will be paid if points
Failed test found in:
e2eTests/reports/junit.xml-8ed39480-beba-11ef-990c-cf053c852b32.xml
Error:
Error: Expected: 0
Raw output
Error: Expected: 0
lt Actual: 0
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:300:28
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)