Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GASP token address for local environment #823

Merged
merged 1 commit into from
Oct 11, 2024

update token address

63ed8e5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Update GASP token address for local environment #823

update token address
63ed8e5
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-sequencerStaking succeeded Oct 11, 2024 in 1s

E2E report yarn test-sequencerStaking ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-bd52b870-87da-11ef-8a54-0f9b9d2d9a5a.xml

12 tests were completed in 2118s with 11 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.rules.test.ts 6✅ 1⚪ 1962s
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