Skip to content

Fix/rewards market GASP-1681 (#855) #809

Fix/rewards market GASP-1681 (#855)

Fix/rewards market GASP-1681 (#855) #809

GitHub Actions / E2E report yarn test-sequencerRewards failed Dec 6, 2024 in 1s

E2E report yarn test-sequencerRewards ❌

Tests failed

❌ e2eTests/reports/junit.xml-5a9d7810-b3d5-11ef-a8e6-a3ec3c1c2472.xml

5 tests were completed in 954s with 3 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.rewards.test.ts 3✅ 2❌ 954s

❌ test/sequential/sequencerStaking.rewards.test.ts

✅ Sequencer budget is set when initializing issuance config
❌ Sequencers get paid on every session BUT only when they submit valid updates ( Succeeded extrinsics )
	TypeError: Cannot read properties of undefined (reading 'toNumber')
✅ 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 'toNumber')
✅ Regardless joining , slash, join or leaving sequencer set, Sequencer will be paid if points

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-5a9d7810-b3d5-11ef-a8e6-a3ec3c1c2472.xml

See this annotation in the file changed.

@github-actions 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-5a9d7810-b3d5-11ef-a8e6-a3ec3c1c2472.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.rewards.test.ts:90:70
    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-5a9d7810-b3d5-11ef-a8e6-a3ec3c1c2472.xml

See this annotation in the file changed.

@github-actions 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-5a9d7810-b3d5-11ef-a8e6-a3ec3c1c2472.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.rewards.test.ts:182:70
    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)