diff --git a/foundry.toml b/foundry.toml index 53e0ea1..3db7807 100644 --- a/foundry.toml +++ b/foundry.toml @@ -35,16 +35,7 @@ bsc = "${ETH_NODE_URI_BSC}" base = "${ETH_NODE_URI_BASE}" [etherscan] -arbitrum = { key = "${ARBITRUM_ETHERSCAN_API_KEY}" } -gnosis = { key = "${GNOSIS_ETHERSCAN_API_KEY}" , url = "https://api.gnosisscan.io/api"} -mainnet = { key = "${MAINNET_ETHERSCAN_API_KEY}" } -optimism = { key = "${OPTIMISM_ETHERSCAN_API_KEY}" } -polygon = { key = "${POLYGON_ETHERSCAN_API_KEY}" } -avalanche = { key = "${AVALANCHE_ETHERSCAN_API_KEY}" } -celo = { key = "${CELO_ETHERSCAN_API_KEY}", url = "https://api.celoscan.io/api" } -base = { key = "${BASE_ETHERSCAN_API_KEY}", url = "https://api.basescan.org/api" } -polygonzkevm = { key = "${POLYGONZKEVM_ETHERSCAN_API_KEY}", url = "https://api-zkevm.polygonscan.com/api" } -bsc = { key = "${BSC_ETHERSCAN_API_KEY}"} + [profile.dev] optimizer = true @@ -56,8 +47,8 @@ gas_reports = ["*"] runs = 2000 [profile.dev.invariant] -runs = 10 -depth = 1 +runs = 100 +depth = 10 fail_on_revert = true [profile.ci] diff --git a/scripts/DeployVeAngle.s.sol b/scripts/DeployVeAngle.s.sol index 2fa1890..0f5c436 100644 --- a/scripts/DeployVeAngle.s.sol +++ b/scripts/DeployVeAngle.s.sol @@ -6,18 +6,16 @@ import { console } from "forge-std/console.sol"; import { VyperDeployer } from "contracts/utils/VyperDeployer.sol"; import "./Utils.s.sol"; -contract DeployVeAngleScript is Script, Utils { +contract DeployVeAngleScript is Script, Utils, VyperDeployer { function run() external { uint256 deployerPrivateKey = vm.deriveKey(vm.envString("MNEMONIC_MAINNET"), "m/44'/60'/0'/0/", 0); - vm.startBroadcast(deployerPrivateKey); address deployer = vm.addr(deployerPrivateKey); console.log("Deployer address: ", deployer); - VyperDeployer vyperDeployer = new VyperDeployer(); - address veANGLE = vyperDeployer.deployContract("contracts/dao/veANGLE.vy"); - console.log("veANGLE deployed at: ", veANGLE); - + vm.startBroadcast(deployerPrivateKey); + address veANGLE = deployContract("contracts/dao/veANGLE.vy"); vm.stopBroadcast(); + console.log("veANGLE deployed at: ", veANGLE); } }