Skip to content

Commit ca184fc

Browse files
Merge pull request #319 from BitGo/COIN-6013-ftm-v4
feat: deploy v4 contract on ftm
2 parents c477dd8 + bfa5915 commit ca184fc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

hardhat.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,8 +789,8 @@ const config: HardhatUserConfig = {
789789
ftm: {
790790
url: `https://rpcapi.fantom.network`,
791791
accounts: [
792-
`${PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT}`,
793-
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP}`,
792+
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
793+
`${PLACEHOLDER_KEY}`,
794794
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
795795
]
796796
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "test"
1010
},
1111
"scripts": {
12-
"deploy-prod": "hardhat run scripts/deployV1FactoryContracts.ts --network",
12+
"deploy-prod": "hardhat run scripts/deploy.ts --network",
1313
"deploy-test": "hardhat run scripts/deploy.ts --network",
1414
"deploy-batcher": "hardhat run scripts/deployBatcherContract.ts --network",
1515
"update-gas-limit": "hardhat run scripts/updateTransferGasLimit.ts --network",

scripts/chainConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export async function getChainConfig(chainId: number): Promise<ChainConfig> {
7777
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
7878
break;
7979
case CHAIN_IDS.ftm:
80-
forwarderContractName = 'Forwarder';
81-
forwarderFactoryContractName = 'ForwarderFactory';
80+
forwarderContractName = 'ForwarderV4';
81+
forwarderFactoryContractName = 'ForwarderFactoryV4';
8282
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
8383
break;
8484

0 commit comments

Comments
 (0)