Skip to content

Commit

Permalink
foundry: add ignored error code
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed Aug 7, 2024
1 parent 222554d commit 2ff2bb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/contracts-bedrock/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ bytecode_hash = 'none'
build_info_path = 'artifacts/build-info'
ast = true
evm_version = "cancun"
ignored_error_codes = ["transient-storage", "code-size", "init-code-size"]
# 5159 error code is selfdestruct error code
ignored_error_codes = ["transient-storage", "code-size", "init-code-size", 5159]

# We set the gas limit to max int64 to avoid running out of gas during testing, since the default
# gas limit is 1B and some of our tests require more gas than that, such as `test_callWithMinGas_noLeakageLow_succeeds`.
Expand Down

0 comments on commit 2ff2bb7

Please sign in to comment.