diff --git a/script/deployAllChains.sh b/script/deployAllChains.sh index f09931d..6fc0af3 100755 --- a/script/deployAllChains.sh +++ b/script/deployAllChains.sh @@ -15,15 +15,15 @@ echo "------ StaticOpenfortDeploy ------ (Arbitrum Goerli testnet)" forge script StaticOpenfortDeploy --rpc-url $ARBITRUM_GOERLI_RPC -vvvv --verify --broadcast --etherscan-api-key $ARBISCAN_API_KEY >> $LOG_FILE echo "------ UpgradeableOpenfortDeploy ------ (Goerli)" -forge script UpgradeableOpenfortDeploy --rpc-url $GOERLI_RPC -vvvv --verify --broadcast --etherscan-api-key $GOERLI_API_KEY >> $LOG_FILE +forge script UpgradeableOpenfortDeploy --rpc-url $GOERLI_RPC -vvvv --verify --broadcast --slow --etherscan-api-key $GOERLI_API_KEY >> $LOG_FILE echo "------ UpgradeableOpenfortDeploy ------ (Mumbai)" -forge script UpgradeableOpenfortDeploy --rpc-url $POLYGON_MUMBAI_RPC -vvvv --verify --broadcast --legacy --etherscan-api-key $POLYGON_MUMBAI_KEY >> $LOG_FILE +forge script UpgradeableOpenfortDeploy --rpc-url $POLYGON_MUMBAI_RPC -vvvv --verify --broadcast --slow --legacy --etherscan-api-key $POLYGON_MUMBAI_KEY >> $LOG_FILE echo "------ UpgradeableOpenfortDeploy ------ (Fuji)" -forge script UpgradeableOpenfortDeploy --rpc-url $AVALANCHE_FUJI_RPC -vvvv --verify --broadcast --etherscan-api-key $FUJI_API_KEY >> $LOG_FILE +forge script UpgradeableOpenfortDeploy --rpc-url $AVALANCHE_FUJI_RPC -vvvv --verify --broadcast --slow --etherscan-api-key $FUJI_API_KEY >> $LOG_FILE echo "------ UpgradeableOpenfortDeploy ------ (BSC testnet)" -forge script UpgradeableOpenfortDeploy --rpc-url $BSC_TESTNET_RPC -vvvv --verify --broadcast --etherscan-api-key $BSCSCAN_TESTNET_API_KEY >> $LOG_FILE +forge script UpgradeableOpenfortDeploy --rpc-url $BSC_TESTNET_RPC -vvvv --verify --broadcast --slow --etherscan-api-key $BSCSCAN_TESTNET_API_KEY >> $LOG_FILE echo "------ UpgradeableOpenfortDeploy ------ (Arbitrum Goerli testnet)" -forge script UpgradeableOpenfortDeploy --rpc-url $ARBITRUM_GOERLI_RPC -vvvv --verify --broadcast --etherscan-api-key $ARBISCAN_API_KEY >> $LOG_FILE +forge script UpgradeableOpenfortDeploy --rpc-url $ARBITRUM_GOERLI_RPC -vvvv --verify --broadcast --slow -g 200 --etherscan-api-key $ARBISCAN_API_KEY >> $LOG_FILE echo "------ ManagedOpenfortDeploy ------ (Goerli)" forge script ManagedOpenfortDeploy --rpc-url $GOERLI_RPC -vvvv --verify --broadcast --etherscan-api-key $GOERLI_API_KEY >> $LOG_FILE diff --git a/script/deployUpgradeableAccounts.sol b/script/deployUpgradeableAccounts.sol index f453fcb..a03059f 100644 --- a/script/deployUpgradeableAccounts.sol +++ b/script/deployUpgradeableAccounts.sol @@ -19,15 +19,15 @@ contract UpgradeableOpenfortDeploy is Script { UpgradeableOpenfortFactory upgradeableOpenfortFactory = new UpgradeableOpenfortFactory{salt: versionSalt}(address(entryPoint), address(upgradeableOpenfortAccount)); - address account1 = upgradeableOpenfortFactory.accountImplementation(); + // address account1 = upgradeableOpenfortFactory.accountImplementation(); // The first call should create a new account, while the second will just return the corresponding account address - address account2 = upgradeableOpenfortFactory.createAccountWithNonce(deployAddress, "1"); - console.log( - "Factory at address %s has created an account at address %s", address(upgradeableOpenfortFactory), account2 - ); + // address account2 = upgradeableOpenfortFactory.createAccountWithNonce(deployAddress, "1"); + // console.log( + // "Factory at address %s has created an account at address %s", address(upgradeableOpenfortFactory), account2 + // ); - assert(account1 != account2); + // assert(account1 != account2); // address account3 = upgradeableOpenfortFactory.createAccountWithNonce(deployAddress, 3); // console.log( // "Factory at address %s has created an account at address %s", address(upgradeableOpenfortFactory), account3