Skip to content

Commit

Permalink
chore: set allowUnlimitedContractSize to true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsenych-cw committed Nov 18, 2024
1 parent ec06d0e commit ae3df8b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ const config: HardhatUserConfig = {
accounts: {
mnemonic: process.env.HARDHAT_MNEMONIC
},
allowUnlimitedContractSize: process.env.ALLOW_UNLIMITED_CONTRACT_SIZE === "true"
allowUnlimitedContractSize:
process.env.ALLOW_UNLIMITED_CONTRACT_SIZE !== undefined
? process.env.ALLOW_UNLIMITED_CONTRACT_SIZE === "true"
: true
},
ganache: {
url: process.env.GANACHE_RPC,
Expand All @@ -35,16 +38,16 @@ const config: HardhatUserConfig = {
accounts: process.env.CW_TESTNET_PK
? [process.env.CW_TESTNET_PK]
: {
mnemonic: process.env.CW_TESTNET_MNEMONIC ?? ""
}
mnemonic: process.env.CW_TESTNET_MNEMONIC ?? ""
}
},
cw_mainnet: {
url: process.env.CW_MAINNET_RPC,
accounts: process.env.CW_MAINNET_PK
? [process.env.CW_MAINNET_PK]
: {
mnemonic: process.env.CW_MAINNET_MNEMONIC ?? ""
}
mnemonic: process.env.CW_MAINNET_MNEMONIC ?? ""
}
}
},
gasReporter: {
Expand Down

0 comments on commit ae3df8b

Please sign in to comment.