Skip to content

Commit

Permalink
explicitly set evm target to 'paris', refs #1533
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r committed Aug 7, 2023
1 parent 9ef597b commit 7cedb13
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/ethereum-contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ root = '../..'
src = 'packages/ethereum-contracts/contracts'
test = 'packages/ethereum-contracts/test/foundry/'
solc_version = "0.8.19"
# keep in sync with truffle-config.js
evm_version = 'paris'
remappings = [
'@superfluid-finance/ethereum-contracts/contracts/=packages/ethereum-contracts/contracts/',
'@openzeppelin/=node_modules/@openzeppelin/',
Expand Down
1 change: 1 addition & 0 deletions packages/ethereum-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const config: HardhatUserConfig = {
enabled: true,
runs: 200,
},
evmVersion: "paris",
},
},
networks: {
Expand Down
5 changes: 4 additions & 1 deletion packages/ethereum-contracts/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,10 @@ const E = (module.exports = {
enabled: true,
runs: 200,
},
// evmVersion: use default
// see https://docs.soliditylang.org/en/latest/using-the-compiler.html#target-options
// we don't switch to "shanghai" or later as long as there's networks
// without EIP-3855 support (PUSH0)
evmVersion: "paris",
},
},
},
Expand Down

0 comments on commit 7cedb13

Please # to comment.