Skip to content

Commit

Permalink
Add check-fjord script to smoke test live chains (#10578)
Browse files Browse the repository at this point in the history
* Add check-fjord script to smoke test live chains

* Fix checkRIP7212 invalid signature test

* check-fjord: several fixes

* fix callopts

* check-fjord: fix bindings import

* check-fjord: fix errors & naming

* lint

* fix commands

* Remove unused configuration flags

* Add e2e test for check-fjord script

* Add test to verify unactivated fjord is properly detected

* Refactor check-fjord script and e2e test for cleaner separation

* Add tests to ensure all fjord checks error if fork is unactivated

* Update op-e2e/check_scripts_test.go

---------

Co-authored-by: Sebastian Stammler <seb@oplabs.co>
  • Loading branch information
2 people authored and maurelian committed May 22, 2024
1 parent 9eb6a54 commit dac9eb2
Show file tree
Hide file tree
Showing 4 changed files with 589 additions and 1 deletion.
2 changes: 1 addition & 1 deletion op-chain-ops/cmd/check-ecotone/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ func checkL1Fees(ctx context.Context, env *actionEnv) error {
return fmt.Errorf("expected %d L1 gas, but only spent %d", expectedCalldataGas, receipt.L1GasUsed)
}
if big.NewInt(0).Cmp(receipt.L1Fee) >= 0 {
return fmt.Errorf("calculated to low L1 fee: %d", receipt.L1Fee)
return fmt.Errorf("calculated too low L1 fee: %d", receipt.L1Fee)
}
env.log.Info("L1 fees test: success")
return nil
Expand Down
Loading

0 comments on commit dac9eb2

Please sign in to comment.