diff --git a/hardhat.config.ts b/hardhat.config.ts index c45ae81..fb4c4d2 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -126,17 +126,11 @@ const config: HardhatUserConfig = { }, tbaseeth: { url: 'https://sepolia.base.org', - accounts: [ - `${PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT}`, - `${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP}` - ] + accounts: [`${TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`] }, baseeth: { url: 'https://mainnet.base.org/', - accounts: [ - `${PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT}`, - `${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP}` - ] + accounts: [`${MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`] }, tbera: { url: `https://bartio.rpc.berachain.com/`, diff --git a/package.json b/package.json index b0d6257..53fac50 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "test": "test" }, "scripts": { - "deploy-prod": "hardhat run scripts/deployV1FactoryContracts.ts --network", - "deploy-test": "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", "solhint": "./node_modules/.bin/solhint --fix 'contracts/**/*.sol'", diff --git a/scripts/deploy.ts b/scripts/deploy.ts index d310843..7b1eb27 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -86,8 +86,8 @@ async function main() { // base case 8453: walletImplementationContractName = 'WalletSimple'; - forwarderContractName = 'ForwarderV4'; - forwarderFactoryContractName = 'ForwarderFactoryV4'; + forwarderContractName = 'Forwarder'; + forwarderFactoryContractName = 'ForwarderFactory'; contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`; break; case 80084: