From d5229df69550fa2d4c0b6901d3a6f7ba24de06df Mon Sep 17 00:00:00 2001 From: 0xtekgrinder <0xtekgrinder@protonmail.com> Date: Tue, 18 Jun 2024 14:17:53 +0200 Subject: [PATCH] feat: blast deployment of ProposalReceiver --- foundry.toml | 13 ++----------- lib/utils | 2 +- package.json | 2 +- scripts/deployment/DeploySideChainGovernance.s.sol | 2 +- yarn.lock | 8 ++++---- 5 files changed, 9 insertions(+), 18 deletions(-) diff --git a/foundry.toml b/foundry.toml index ed31cdc..ab5cec6 100644 --- a/foundry.toml +++ b/foundry.toml @@ -35,19 +35,10 @@ bsc = "${ETH_NODE_URI_BSC}" base = "${ETH_NODE_URI_BASE}" linea = "${ETH_NODE_URI_LINEA}" mode = "${ETH_NODE_URI_MODE}" +blast = "${ETH_NODE_URI_BLAST}" [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" } -polygon-zkevm = { key = "${POLYGON_ZKEVM_ETHERSCAN_API_KEY}", url = "https://api-zkevm.polygonscan.com/api" } -bsc = { key = "${BSC_ETHERSCAN_API_KEY}"} -base = { key = "${BASE_ETHERSCAN_API_KEY}", url = "https://api.basescan.org/api" } -linea = { key = "${LINEA_ETHERSCAN_API_KEY}" } +blast = { key = "${BLAST_ETHERSCAN_API_KEY}", url = "https://api.blastscan.io/api" } [profile.dev] diff --git a/lib/utils b/lib/utils index 4a734f6..19038bf 160000 --- a/lib/utils +++ b/lib/utils @@ -1 +1 @@ -Subproject commit 4a734f605e58f0636fdb7b2a132823ae9424a1fa +Subproject commit 19038bf499bbcdbb3ee95b983494c0f4ec817c28 diff --git a/package.json b/package.json index 97329d4..066747e 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "url": "https://github.com/AngleProtocol/boilerplate/issues" }, "devDependencies": { - "@angleprotocol/sdk": "^v2.10.2", + "@angleprotocol/sdk": "^v2.11.9", "@layerzerolabs/lz-sdk": "^0.0.75", "discord.js": "^14.14.1", "prettier": "^2.0.0", diff --git a/scripts/deployment/DeploySideChainGovernance.s.sol b/scripts/deployment/DeploySideChainGovernance.s.sol index 7dfe4f1..e50f187 100644 --- a/scripts/deployment/DeploySideChainGovernance.s.sol +++ b/scripts/deployment/DeploySideChainGovernance.s.sol @@ -30,7 +30,7 @@ contract DeploySideChainGovernance is Utils { // TODO can be modified to deploy on any chain uint256 srcChainId = CHAIN_ETHEREUM; - uint256 destChainId = CHAIN_MODE; + uint256 destChainId = CHAIN_BLAST; address destSafeMultiSig = 0x7DE8289038DF0b89FFEC71Ee48a2BaD572549027; // guardian // END diff --git a/yarn.lock b/yarn.lock index 5362962..991addf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@angleprotocol/sdk@^v2.10.2": - version "2.10.3" - resolved "https://npm.pkg.github.com/download/@angleprotocol/sdk/2.10.3/b44247bf23db46a6f1bd32cee1b5210b9f7e3e33#b44247bf23db46a6f1bd32cee1b5210b9f7e3e33" - integrity sha512-/1kQaJOPjA9AeHIVZvGIcor0FjsP+88U/QIAu9pjIINBVUuPOEWUkkgQQogMJZPP2hdJbKP+dbxjE9GpHhyh9w== +"@angleprotocol/sdk@^v2.11.9": + version "2.11.9" + resolved "https://npm.pkg.github.com/download/@angleprotocol/sdk/2.11.9/bc59a761468c47298c4d0107a09914f49a82e378#bc59a761468c47298c4d0107a09914f49a82e378" + integrity sha512-ZSZXBjL+2B+XL+uKijkjOa50dlnFIExqB1UYwHycnKjvyhJMjDcfFmaF0HSH4ca1gAy8tr5lq52p4NrhFVZzgQ== dependencies: "@apollo/client" "^3.7.17" "@typechain/ethers-v5" "^10.0.0"