Skip to content

Feature: Merge mangata-node repository code #2141

Feature: Merge mangata-node repository code

Feature: Merge mangata-node repository code #2141

GitHub Actions / E2E report yarn test-sequencerRewards failed Jan 21, 2025 in 1s

1 passed, 4 failed and 0 skipped

Tests failed

❌ e2eTests/reports/junit.xml-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml

5 tests were completed in 1548s with 1 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.rewards.test.ts 1✅ 4❌ 1548s

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

❌ Sequencer budget is set when initializing issuance config
	TypeError: api.tx.issuance.setIssuanceConfig is not a function
❌ 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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml

See this annotation in the file changed.

@github-actions 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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml
Error:
  TypeError: api.tx.issuance.setIssuanceConfig is not a function
Raw output
TypeError: api.tx.issuance.setIssuanceConfig is not a function
    at Function.<anonymous> (/home/runner/_work/gasp-monorepo/gasp-monorepo/e2eTests/utils/Issuance.ts:14:23)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/gasp-monorepo/gasp-monorepo/e2eTests/utils/Issuance.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'diff')
Raw output
TypeError: Cannot read properties of undefined (reading 'diff')
    at /home/runner/_work/gasp-monorepo/gasp-monorepo/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:123:50
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/gasp-monorepo/gasp-monorepo/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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'diff')
Raw output
TypeError: Cannot read properties of undefined (reading 'diff')
    at /home/runner/_work/gasp-monorepo/gasp-monorepo/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:268:51
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/gasp-monorepo/gasp-monorepo/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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml

See this annotation in the file changed.

@github-actions 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-c9b9caf0-d829-11ef-b2b0-f1b6e3b05da8.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/gasp-monorepo/gasp-monorepo/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:303:28
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/gasp-monorepo/gasp-monorepo/e2eTests/test/sequential/sequencerStaking.rewards.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)