diff --git a/hardhat.config.ts b/hardhat.config.ts index 9ba923a..4e7c5e8 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -135,11 +135,11 @@ const config: HardhatUserConfig = { }, tavaxc: { url: 'https://api.avax-test.network/ext/C/rpc', - accounts: [`${TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`] + accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`] }, avaxc: { url: 'https://api.avax.network/ext/bc/C/rpc', - accounts: [`${MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`] + accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`] } }, gasReporter: { diff --git a/package.json b/package.json index 57efbd2..53fac50 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "test": "test" }, "scripts": { - "deploy-prod": "hardhat run scripts/deployV1FactoryContracts.ts --network", + "deploy-prod": "hardhat run scripts/deploy.ts --network", "deploy-test": "hardhat run scripts/deploy.ts --network", "test": "hardhat test", "coverage": "hardhat coverage", diff --git a/scripts/deploy.ts b/scripts/deploy.ts index 6bb350f..eebffe0 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -119,8 +119,8 @@ async function main() { case 43113: eip1559GasParams.gasLimit = 3000000; walletImplementationContractName = 'WalletSimple'; - forwarderContractName = 'Forwarder'; - forwarderFactoryContractName = 'ForwarderFactory'; + forwarderContractName = 'ForwarderV4'; + forwarderFactoryContractName = 'ForwarderFactoryV4'; contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`; break; }