We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e3701c + b34499c commit ca74be8Copy full SHA for ca74be8
hardhat.config.ts
@@ -30,6 +30,7 @@ const HARDFORK = 'istanbul';
30
const ETHERSCAN_KEY = process.env.ETHERSCAN_KEY || '';
31
const MNEMONIC_PATH = "m/44'/60'/0'/0";
32
const MNEMONIC = process.env.MNEMONIC || '';
33
+const UNLIMITED_BYTECODE_SIZE = process.env.UNLIMITED_BYTECODE_SIZE === 'true';
34
35
// Prevent to load scripts before compilation and typechain
36
if (!SKIP_LOAD) {
@@ -104,6 +105,7 @@ const buidlerConfig: HardhatUserConfig = {
104
105
blockGasLimit: DEFAULT_BLOCK_GAS_LIMIT,
106
gas: DEFAULT_BLOCK_GAS_LIMIT,
107
gasPrice: 8000000000,
108
+ allowUnlimitedContractSize: UNLIMITED_BYTECODE_SIZE,
109
chainId: BUIDLEREVM_CHAINID,
110
throwOnTransactionFailures: true,
111
throwOnCallFailures: true,
0 commit comments