Skip to content

Commit d322f78

Browse files
Merge pull request #238 from BitGo/COIN-4849
feat(contract): deploy hoodi v4 contract
2 parents a4d162c + ee27a7c commit d322f78

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

hardhat.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ const config: HardhatUserConfig = {
104104
hteth: {
105105
url: `https://ethereum-hoodi-rpc.publicnode.com`,
106106
accounts: [
107-
`${PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT}`,
108-
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP}`,
107+
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
108+
`${PLACEHOLDER_KEY}`,
109109
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
110110
]
111111
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"scripts": {
1212
"deploy-prod": "hardhat run scripts/deploy.ts --network",
13-
"deploy-test": "hardhat run scripts/deployV1FactoryContracts.ts --network",
13+
"deploy-test": "hardhat run scripts/deploy.ts --network",
1414
"deploy-batcher": "hardhat run scripts/deployBatcherContract.ts --network",
1515
"test": "hardhat test",
1616
"coverage": "hardhat coverage",

scripts/chainConfig.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ export async function getChainConfig(chainId: number): Promise<ChainConfig> {
5757
forwarderFactoryContractName = 'ForwarderFactoryV4';
5858
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
5959
break;
60-
// hoodi testnet
6160
case CHAIN_IDS.HOODI:
62-
forwarderContractName = 'Forwarder';
63-
forwarderFactoryContractName = 'ForwarderFactory';
61+
forwarderContractName = 'ForwarderV4';
62+
forwarderFactoryContractName = 'ForwarderFactoryV4';
6463
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
6564
break;
6665
case CHAIN_IDS.BSC_MAINNET:

0 commit comments

Comments
 (0)