Commit 0dccbdaa authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

ctb: Configurable verification for deployer network (#4041)

Most ephemeral networks created via the regntool don't need verification. This PR allows verification to be enabled on a case-by-case basis by setting an environment variable.
parent ea2cf94c
...@@ -38,6 +38,7 @@ const config: HardhatUserConfig = { ...@@ -38,6 +38,7 @@ const config: HardhatUserConfig = {
chainId: Number(process.env.CHAIN_ID), chainId: Number(process.env.CHAIN_ID),
url: process.env.L1_RPC || '', url: process.env.L1_RPC || '',
accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero], accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero],
live: process.env.VERIFY_CONTRACTS === 'true',
}, },
'mainnet-forked': { 'mainnet-forked': {
chainId: 1, chainId: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment