forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contracts-bedrock: flake fix attempt (ethereum-optimism#9082)
* contracts-bedrock: flake fix attempt Progress towards fixing flakes in CI. Using `etch` to set contracts in state instead of deploying will help to fix the nonce mismatches between the L1 contract addresses and the L2 genesis that contains L1 contract addresses. Developers will need to run `forge clean` to remove artifacts for the tests to pass after this commit is merged. It enforces a single version of `FFIInterface` to be compiled instead of it being compiled with multiple compiler versions. The `vm.getCode` family of cheats fail when there are multiple compiled versions of the same contract because the artfact has the compiler version appended to the name of the artifact. This will also help to improve compiler time since the compiled contracts do not need to include the compiled bytecode of the deploy and ffiinterface contracts, the code is loaded dynamically instead of being deployed with `CREATE`. * contracts-bedrock: more cleanup Deletes a dead file that is no longer needed and sets the deploy config in state using `etch`. `DeployL2` is not used, we should be using the `superchain-ops` repo for deploying new L2 contracts or deploy them through L1. Since `DeployL2` used code using solc `0.8.19` (EAS) it caused multiple versions of the `DeployConfig` to be compiled which causes headaches when using `vm.getCode`. * contracts-bedrock: update gas snapshot * contracts-bedrock: more cleanup * contracts-bedrock: gas-snapshot * lint: fix
- Loading branch information
Showing
8 changed files
with
39 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_0() (gas: 352278) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_1() (gas: 2950440) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_0() (gas: 540648) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_1() (gas: 4052841) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_0() (gas: 442007) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_0() (gas: 352255) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_1() (gas: 2950462) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_0() (gas: 540625) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_1() (gas: 4052818) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_0() (gas: 442029) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_1() (gas: 3487756) | ||
GasBenchMark_L1StandardBridge_Finalize:test_finalizeETHWithdrawal_benchmark() (gas: 55367) | ||
GasBenchMark_L2OutputOracle:test_proposeL2Output_benchmark() (gas: 86629) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark() (gas: 68450) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark_1() (gas: 68899) | ||
GasBenchMark_OptimismPortal:test_proveWithdrawalTransaction_benchmark() (gas: 153493) | ||
GasBenchMark_L2OutputOracle:test_proposeL2Output_benchmark() (gas: 86651) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark() (gas: 68472) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark_1() (gas: 68909) | ||
GasBenchMark_OptimismPortal:test_proveWithdrawalTransaction_benchmark() (gas: 153504) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters