Staging env configuration update #2200
GitHub Actions / E2E report yarn test-sequencerStaking
succeeded
Jan 29, 2025 in 0s
11 passed, 0 failed and 1 skipped
✅ e2eTests/reports/junit.xml-37c7a700-de61-11ef-a784-25966b4923f1.xml
12 tests were completed in 2466s with 11 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/sequencerStaking.rules.test.ts | 6✅ | 1⚪ | 2310s | |
test/sequential/sequencerStaking.sequencerJoining.test.ts | 5✅ | 156s |
✅ test/sequential/sequencerStaking.rules.test.ts
sequencerStaking
✅ An already collator joining as sequencer - On Active
✅ Active Sequencer - mint less than min amount -> Not in active
✅ Active Sequencer -> Active -> pending update -> Can not leave
✅ Only a selected sequencer can submit updates
✅ A selected sequencer with read rights can submit updates
✅ An active sequencer with cancel rights can submit cancels
⚪ 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
Loading