Commit 1819733e authored by Matt Solomon's avatar Matt Solomon Committed by GitHub

fix: set default forge gas limit (#11342)

parent e1c7dbe2
...@@ -29,6 +29,12 @@ ast = true ...@@ -29,6 +29,12 @@ ast = true
evm_version = "cancun" evm_version = "cancun"
ignored_error_codes = ["transient-storage", "code-size", "init-code-size"] ignored_error_codes = ["transient-storage", "code-size", "init-code-size"]
# 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`.
# We use this gas limit since it was the default gas limit prior to https://github.com/foundry-rs/foundry/pull/8274.
# Due to toml-rs limitations, if you increase the gas limit above this value it must be a string.
gas_limit = 9223372036854775807
# Test / Script Runner Settings # Test / Script Runner Settings
ffi = true ffi = true
fs_permissions = [ fs_permissions = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment