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-sequencerCancellation failed Dec 6, 2024 in 0s

E2E report yarn test-sequencerCancellation ❌

Tests failed

❌ e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

6 tests were completed in 15s with 0 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.cancel.test.ts 6❌ 15s

❌ test/sequential/sequencerStaking.cancel.test.ts

❌ GIVEN a sequencer, WHEN <correctly> canceling an update THEN a % of the slash is given to it
	TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update THEN my slash is burned
	TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ GIVEN a sequencer, WHEN <no> canceling an update THEN no slash is applied
	TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels, THEN it can be still slashed and kicked, cancels & updates will be executed.
	TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND cancelator provides staking THEN cancelator will be slashed but he will stay in activeSequncer pool
	TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels AND users provide staking THEN users have read/cancel rights
	TypeError: Cannot read properties of undefined (reading 'toNumber')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <correctly> canceling an update THEN a % of the slash is given to it

Failed test found in:
  e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.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.cancel.test.ts:36:64
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update THEN my slash is burned

Failed test found in:
  e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.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.cancel.test.ts:36:64
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <no> canceling an update THEN no slash is applied

Failed test found in:
  e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.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.cancel.test.ts:36:64
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels, THEN it can be still slashed and kicked, cancels & updates will be executed.

Failed test found in:
  e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.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.cancel.test.ts:36:64
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update AND cancelator provides staking THEN cancelator will be slashed but he will stay in activeSequncer pool

Failed test found in:
  e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.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.cancel.test.ts:36:64
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequencerCancellation

test/sequential/sequencerStaking.cancel.test.ts ► GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels AND users provide staking THEN users have read/cancel rights

Failed test found in:
  e2eTests/reports/junit.xml-3884a430-b3c9-11ef-81fa-c98e5869eacf.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.cancel.test.ts:36:64
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sequencerStaking.cancel.test.ts:8:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)