Commit 56670a73 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix: workaround for foundry snapshot nuking bug (#13209)

Workaround for a bug? feature? in foundry that causes it to nuke
whatever snapshots directory you have configured. Since this now
defaults to "snapshots" it was nuking our snapshots folder.
parent c36de049
...@@ -8,6 +8,7 @@ src = 'src' ...@@ -8,6 +8,7 @@ src = 'src'
out = 'forge-artifacts' out = 'forge-artifacts'
script = 'scripts' script = 'scripts'
build_info_path = 'artifacts/build-info' build_info_path = 'artifacts/build-info'
snapshots = 'notarealpath' # workaround for foundry#9477
optimizer = true optimizer = true
optimizer_runs = 999999 optimizer_runs = 999999
...@@ -15,7 +16,7 @@ optimizer_runs = 999999 ...@@ -15,7 +16,7 @@ optimizer_runs = 999999
extra_output = ['devdoc', 'userdoc', 'metadata', 'storageLayout'] extra_output = ['devdoc', 'userdoc', 'metadata', 'storageLayout']
bytecode_hash = 'none' bytecode_hash = 'none'
ast = true ast = true
evm_version = "cancun" evm_version = 'cancun'
remappings = [ remappings = [
'@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts', '@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts',
......
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