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-rolldown succeeded Oct 11, 2024 in 1s

E2E report yarn test-rolldown ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-a1154240-87da-11ef-bb2a-8315ae04995b.xml

12 tests were completed in 2094s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/rolldown.cancel.test.ts 4✅ 1278s
test/sequential/rolldown.forceUpdate.test.ts 8✅ 817s

✅ test/sequential/rolldown.cancel.test.ts

✅ Active Sequencer -> Active -> canceled update -> Can not leave
✅ GIVEN a slashed sequencer, WHEN slashed it can not provide any update / cancel until the next session ( if gets elected )
✅ GIVEN a cancel, WHEN is justified then its stored for the batch corresponding to the network
✅ GIVEN a cancel, WHEN is not justified then its stored for the batch corresponding to the network

✅ test/sequential/rolldown.forceUpdate.test.ts

✅ forceUpdateL2FromL1 can be called by Sudo
✅ forceUpdateL2FromL1 can't be called by non-sudo user
✅ Validate that forceCancelRequestsFromL1 can be called by Sudo
✅ Validate that forceCancelRequestsFromL1 can't be called by non-sudo user
✅ forceUpdateL2FromL1 does not wait for a dispute period
✅ forceCancelRequest does not need any resolution to justify the cancellation
Seq1 do an update and seq2 cancel it
  ✅ When forceUpdateL2FromL1 and Justified=false then the slashed is the canceler and sequencerStatus is updated accordingly
  ✅ When forceUpdateL2FromL1 and Justified=true then the slashed is the updater and sequencerStatus is updated accordingly