Skip to content

Commit

Permalink
Add --build-info to forge build command
Browse files Browse the repository at this point in the history
Forge has recently (foundry-rs/foundry#7197) dropped the ast from the build json by default, so we need to request it explicitly with `--ast`, `ast = <bool>` config or just `--build-info` to avoid checking if forge supports the `--ast` command
  • Loading branch information
karmacoma-eth committed Mar 1, 2024
1 parent f5684c3 commit 0ca8adb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/halmos/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,7 @@ def _main(_args=None) -> MainResult:
build_cmd = [
"forge", # shutil.which('forge')
"build",
"--build-info",
"--root",
args.root,
"--extra-output",
Expand Down

0 comments on commit 0ca8adb

Please sign in to comment.