Skip to content

Commit

Permalink
contracts-bedrock: omit build-info (ethereum-optimism#9115)
Browse files Browse the repository at this point in the history
* contracts-bedrock: omit build-info

The `build-info` was required by the legacy hh deploy workflow.
It is no longer required and will save a lot of disk i/o by turning
off. `slither` uses build-info but it will clean and pass the cli
flag to `forge` directly. We do not need to create the build info
on each build. This should speed up foundry build times but not
by a huge amount.

* slither: fix
  • Loading branch information
tynes authored Jan 20, 2024
1 parent 69242f9 commit 5b38b2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/contracts-bedrock/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ remappings = [
]
extra_output = ['devdoc', 'userdoc', 'metadata', 'storageLayout']
bytecode_hash = 'none'
build_info = true
build_info_path = 'artifacts/build-info'

# Test / Script Runner Settings
Expand Down

0 comments on commit 5b38b2b

Please sign in to comment.