Skip to content

Commit

Permalink
fix(governance,unlockjs): update evm version to shanghai (#15246)
Browse files Browse the repository at this point in the history
update evm version to shanghai
  • Loading branch information
clemsos authored Dec 5, 2024
1 parent 19f41a9 commit ae99fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion governance/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const config = {
compilers: [
// required to compile oracle as Uniswap v3-periphery supports only solc < 0.8
{ version: '0.7.6', settings: { ...settings, evmVersion: 'istanbul' } },
{ version: '0.8.21', settings },
{ version: '0.8.21', settings: { ...settings, evmVersion: 'shanghai' } },
],
},
sourcify: {
Expand Down
3 changes: 2 additions & 1 deletion packages/unlock-js/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ require('@nomicfoundation/hardhat-ethers')

module.exports = {
solidity: {
version: '0.8.13',
version: '0.8.21',
settings: {
optimizer: {
enabled: true,
runs: 10,
},
evmVersion: 'shanghai',
},
},
}

0 comments on commit ae99fb8

Please sign in to comment.