You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to deploy something on mainnet I got this ropsten related error: Invalid account: #1 for network: ropsten - Expected string, received undefined
It seems that even though I'm deploying on mainnet, the ropsten accounts configuration is still processed and since process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY is set, it also expects process.env.KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY, which I shouldn't have set for deployments not related to legacy Keep.
For reference, this is ropsten config on hardhat.config.ts:
@cygnus, so you were running something like "yarn deploy --network mainnet" or "hardhat deploy --network mainnet" and got an error related to ropsten network configuration? That looks like a bug in hardhat...
Trying to deploy something on mainnet I got this ropsten related error:
Invalid account: #1 for network: ropsten - Expected string, received undefined
It seems that even though I'm deploying on mainnet, the ropsten accounts configuration is still processed and since
process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY
is set, it also expectsprocess.env.KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY
, which I shouldn't have set for deployments not related to legacy Keep.For reference, this is ropsten config on
hardhat.config.ts
:The text was updated successfully, but these errors were encountered: