Skip to content

remove patch

remove patch #805

GitHub Actions / E2E report yarn test-sequencerStaking failed Dec 5, 2024 in 0s

E2E report yarn test-sequencerStaking ❌

Tests failed

❌ e2eTests/reports/junit.xml-1e582530-b330-11ef-85a9-07b889e28fb0.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⚪ 30s
test/sequential/sequencerStaking.sequencerJoining.test.ts 5✅ 156s

❌ 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-1e582530-b330-11ef-85a9-07b889e28fb0.xml

See this annotation in the file changed.

@github-actions 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-1e582530-b330-11ef-85a9-07b889e28fb0.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-1e582530-b330-11ef-85a9-07b889e28fb0.xml

See this annotation in the file changed.

@github-actions 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-1e582530-b330-11ef-85a9-07b889e28fb0.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-1e582530-b330-11ef-85a9-07b889e28fb0.xml

See this annotation in the file changed.

@github-actions 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-1e582530-b330-11ef-85a9-07b889e28fb0.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-1e582530-b330-11ef-85a9-07b889e28fb0.xml

See this annotation in the file changed.

@github-actions 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-1e582530-b330-11ef-85a9-07b889e28fb0.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-1e582530-b330-11ef-85a9-07b889e28fb0.xml

See this annotation in the file changed.

@github-actions 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-1e582530-b330-11ef-85a9-07b889e28fb0.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-1e582530-b330-11ef-85a9-07b889e28fb0.xml

See this annotation in the file changed.

@github-actions 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-1e582530-b330-11ef-85a9-07b889e28fb0.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)