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: delete strict deployment (ethereum-optimism#9181)
There was previously a concept in the deploy script that would check a `.chainId` file on disk against the remote chainid. This check became problematic because of the parallel nature of foundry tests that caused it to attempt to read/write the same file to disk many times in parallel and then it caused a lot of flakes around the file not existing. Remove this feature from the deploy script to reduce the complexity of it. We need less complexity and rely on instead simulations and assertions for correctness. The assertions can expect a particular chainid instead of using the local filesystem. This also ties into the migration of the deployment artifacts away from being in `contracts-bedrock` and instead towards the superchain registry.
- Loading branch information
Showing
2 changed files
with
7 additions
and
16 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
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