Skip to content

Commit

Permalink
♻️ Set viaIR explicitely to false
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Dec 13, 2023
1 parent 51eef86 commit a9522ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ solc_version = '0.8.23' # override for the s
evm_version = 'paris' # set the EVM target version (prevent using the `PUSH0` opcode)
optimizer = true # enable the solc optimiser
optimizer_runs = 10_000_000 # the number of optimiser runs
via_ir = false # disable compilation pipeline to go through the Yul intermediate representation
verbosity = 3 # the verbosity of tests
fs_permissions = [{ access = "read-write", path = "./"}] # set read-write access to project root
bytecode_hash = 'none' # remove the metadata hash from the bytecode
Expand Down
1 change: 1 addition & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const config: HardhatUserConfig = {
runs: 10_000_000,
},
evmVersion: "paris", // Prevent using the `PUSH0` opcode
viaIR: false, // Disable compilation pipeline to go through the Yul intermediate representation
metadata: {
bytecodeHash: "none", // Remove the metadata hash from the bytecode
},
Expand Down

0 comments on commit a9522ae

Please sign in to comment.