Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Oct 28, 2024
1 parent c0a5506 commit 7927d49
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const optimizerSettings = {
},
},
};
const proxyContractCompilerSettings = {
// For contracts that are fixed to a specific version, we fix the compiler settings as well
const fixedContractCompilerSettings = {
version: '0.8.21',
settings: {
evmVersion: process.env.EVM_VERSION || 'london',
Expand Down Expand Up @@ -55,10 +56,10 @@ module.exports = {
overrides: process.env.NO_OVERRIDES
? {}
: {
'contracts/proxies/InterchainProxy.sol': proxyContractCompilerSettings,
'contracts/proxies/TokenManagerProxy.sol': proxyContractCompilerSettings,
'contracts/interchain-token/InterchainToken.sol': proxyContractCompilerSettings,
'contracts/test/TestInterchainTokenService.sol': proxyContractCompilerSettings,
'contracts/proxies/InterchainProxy.sol': fixedContractCompilerSettings,
'contracts/proxies/TokenManagerProxy.sol': fixedContractCompilerSettings,
'contracts/interchain-token/InterchainToken.sol': fixedContractCompilerSettings,
'contracts/test/TestInterchainTokenService.sol': fixedContractCompilerSettings,
},
},
defaultNetwork: 'hardhat',
Expand Down

0 comments on commit 7927d49

Please sign in to comment.