From 43ea7722a2d4588c1ac4913a9325dbb07b9cfc24 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Sun, 9 Feb 2025 20:56:02 +0100 Subject: [PATCH 01/12] Added healthCheck for new network deployment git action --- .../healthCheckForNewNetworkDeployment.yml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/healthCheckForNewNetworkDeployment.yml diff --git a/.github/workflows/healthCheckForNewNetworkDeployment.yml b/.github/workflows/healthCheckForNewNetworkDeployment.yml new file mode 100644 index 000000000..40f8ffab8 --- /dev/null +++ b/.github/workflows/healthCheckForNewNetworkDeployment.yml @@ -0,0 +1,54 @@ +name: Health Check for New Network Deployment + +on: + push: + paths: + - 'networks.json' + pull_request: + paths: + - 'networks.json' + +jobs: + check-new-network-health: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: Install dependencies + run: bun install + + - name: Detect Newly Added Networks + id: detect-changes + run: | + echo "Comparing networks.json with the previous commit..." + git fetch origin main --depth=1 + OLD_NETWORKS=$(git show origin/main:networks.json | jq 'keys') + NEW_NETWORKS=$(jq 'keys' networks.json) + + echo "Old Networks: $OLD_NETWORKS" + echo "New Networks: $NEW_NETWORKS" + + ADDED_NETWORKS=$(jq -n --argjson old "$OLD_NETWORKS" --argjson new "$NEW_NETWORKS" '$new - $old') + + if [[ "$ADDED_NETWORKS" == "[]" ]]; then + echo "No new networks detected." + echo "CONTINUE=true" >> $GITHUB_ENV + else + echo "New networks detected: $ADDED_NETWORKS" + echo "added_networks=$ADDED_NETWORKS" >> $GITHUB_ENV + fi + + - name: Run Health Checks on New Networks + if: env.CONTINUE != 'true' + run: | + echo "Running health check for new networks..." + for network in $(echo $added_networks | jq -r '.[]'); do + echo "🔍 Checking network: $network" + bun run script/deploy/healthCheck.ts $network || exit 1 + done From ac0fda93aae09cb82ecd3cefd503b0e292720fc3 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Tue, 11 Feb 2025 17:33:17 +0100 Subject: [PATCH 02/12] Updated healthCheckForNewNetworkDeployment github action and healthCheck script --- .../healthCheckForNewNetworkDeployment.yml | 83 ++++++++++++---- script/deploy/healthCheck.ts | 96 ++++++++++++------- 2 files changed, 128 insertions(+), 51 deletions(-) diff --git a/.github/workflows/healthCheckForNewNetworkDeployment.yml b/.github/workflows/healthCheckForNewNetworkDeployment.yml index 40f8ffab8..f872d0c4a 100644 --- a/.github/workflows/healthCheckForNewNetworkDeployment.yml +++ b/.github/workflows/healthCheckForNewNetworkDeployment.yml @@ -2,11 +2,7 @@ name: Health Check for New Network Deployment on: push: - paths: - - 'networks.json' pull_request: - paths: - - 'networks.json' jobs: check-new-network-health: @@ -14,23 +10,36 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - - name: Install Bun - uses: oven-sh/setup-bun@v1 with: - bun-version: latest + fetch-depth: 0 - - name: Install dependencies - run: bun install + - name: Check if config/networks.json was changed in this branch + id: check-file-change + run: | + if git diff --name-only origin/main...HEAD | grep -q "config/networks.json"; then + echo "✅ config/networks.json has been modified in this branch" + echo "run_check=true" >> $GITHUB_ENV + else + echo "❌ No changes in config/networks.json detected in this branch" + echo "run_check=false" >> $GITHUB_ENV + fi - name: Detect Newly Added Networks + if: env.run_check == 'true' id: detect-changes run: | - echo "Comparing networks.json with the previous commit..." - git fetch origin main --depth=1 - OLD_NETWORKS=$(git show origin/main:networks.json | jq 'keys') - NEW_NETWORKS=$(jq 'keys' networks.json) - + echo "Comparing config/networks.json with the previous commit..." + git fetch origin main --depth=1 || echo "No previous commit found." + + if git show origin/main:config/networks.json > /dev/null 2>&1; then + OLD_NETWORKS=$(git show origin/main:config/networks.json | jq 'keys') + else + echo "No previous networks.json found, assuming all networks are new." + OLD_NETWORKS="[]" + fi + + NEW_NETWORKS=$(jq 'keys' config/networks.json) + echo "Old Networks: $OLD_NETWORKS" echo "New Networks: $NEW_NETWORKS" @@ -38,17 +47,53 @@ jobs: if [[ "$ADDED_NETWORKS" == "[]" ]]; then echo "No new networks detected." - echo "CONTINUE=true" >> $GITHUB_ENV + echo "skip_check=true" >> $GITHUB_ENV else echo "New networks detected: $ADDED_NETWORKS" - echo "added_networks=$ADDED_NETWORKS" >> $GITHUB_ENV + echo "added_networks=$(echo $ADDED_NETWORKS | jq -c .)" >> $GITHUB_ENV fi + - name: Validate Network Deployment Files + if: env.run_check == 'true' && env.skip_check != 'true' + run: | + echo "Validating required files for new networks..." + for network in $(echo $added_networks | jq -r '.[]'); do + echo "🔍 Checking files for network: $network" + + # Check if network exists in _targetState.json + if ! jq -e 'has("'"$network"'")' script/deploy/_targetState.json > /dev/null; then + echo "❌ Error: Network '$network' not found in script/deploy/_targetState.json" + exit 1 + fi + + # Check if deployments/{network}.json file exists + if [[ ! -f "deployments/$network.json" ]]; then + echo "❌ Error: Missing deployment file: deployments/$network.json" + exit 1 + fi + done + + - name: Install Bun + if: env.run_check == 'true' && env.skip_check != 'true' + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: Install Foundry (provides cast) + if: env.run_check == 'true' && env.skip_check != 'true' + uses: foundry-rs/foundry-toolchain@v1 + + - name: Install dependencies + if: env.run_check == 'true' && env.skip_check != 'true' + run: bun install + - name: Run Health Checks on New Networks - if: env.CONTINUE != 'true' + if: env.run_check == 'true' && env.skip_check != 'true' run: | echo "Running health check for new networks..." + set -e for network in $(echo $added_networks | jq -r '.[]'); do echo "🔍 Checking network: $network" - bun run script/deploy/healthCheck.ts $network || exit 1 + bun run script/deploy/healthCheck.ts --network "$network" || exit 1 done + diff --git a/script/deploy/healthCheck.ts b/script/deploy/healthCheck.ts index 7e1a1f061..955e0a843 100644 --- a/script/deploy/healthCheck.ts +++ b/script/deploy/healthCheck.ts @@ -1,6 +1,6 @@ // @ts-nocheck import { consola } from 'consola' -import { $, spinner } from 'zx' +import { $ } from 'zx' import { defineCommand, runMain } from 'citty' import * as chains from 'viem/chains' import * as path from 'path' @@ -25,8 +25,6 @@ import { const SAFE_THRESHOLD = 3 -const louperCmd = 'louper-cli' - const coreFacets = [ 'DiamondCutFacet', 'DiamondLoupeFacet', @@ -39,7 +37,6 @@ const coreFacets = [ 'GenericSwapFacet', 'GenericSwapFacetV3', 'CalldataVerificationFacet', - 'StandardizedCallFacet', ] const corePeriphery = [ @@ -64,26 +61,8 @@ const main = defineCommand({ }, }, async run({ args }) { - if ((await $`${louperCmd}`.exitCode) !== 0) { - const answer = await consola.prompt( - 'Louper CLI is required but not installed. Would you like to install it now?', - { - type: 'confirm', - } - ) - if (answer) { - await spinner( - 'Installing...', - () => $`npm install -g @mark3labs/louper-cli` - ) - } else { - consola.error('Louper CLI is required to run this script') - process.exit(1) - } - } - const { network } = args - const deployedContracts = await import( + const { default: deployedContracts } = await import( `../../deployments/${network.toLowerCase()}.json` ) const targetStateJson = await import( @@ -177,16 +156,66 @@ const main = defineCommand({ let registeredFacets: string[] = [] try { - const facetsResult = - await $`${louperCmd} inspect diamond -a ${diamondAddress} -n ${network} --json` - registeredFacets = JSON.parse(facetsResult.stdout).facets.map( - (f: { name: string }) => f.name - ) + if (networksConfig[network.toLowerCase()].rpcUrl) { + const rpcUrl: string = networksConfig[network.toLowerCase()].rpcUrl + const facetsResult = + await $`cast call ${diamondAddress} "facets() returns ((address,bytes4[])[])" --rpc-url ${rpcUrl}` + const rawString = facetsResult.stdout + + const jsonCompatibleString = rawString + .replace(/\(/g, '[') + .replace(/\)/g, ']') + .replace(/0x[0-9a-fA-F]+/g, '"$&"') + + const onChainFacets = JSON.parse(jsonCompatibleString) + + if (Array.isArray(onChainFacets)) { + // mapping on-chain facet addresses to names in config + const configFacetsByAddress = Object.fromEntries( + Object.entries(deployedContracts).map(([name, address]) => { + return [address.toLowerCase(), name] + }) + ) + + const onChainFacetAddresses = onChainFacets.map(([address]) => + address.toLowerCase() + ) + + const configuredFacetAddresses = Object.keys(configFacetsByAddress) + + const missingInConfig = onChainFacetAddresses.filter( + (address) => !configFacetsByAddress[address] + ) + + const missingOnChain = configuredFacetAddresses.filter( + (address) => !onChainFacetAddresses.includes(address) + ) + + if (missingInConfig.length > 0) { + logError( + `The following facets exist on-chain but are missing in the config: ${JSON.stringify( + missingInConfig + )}` + ) + } + if (missingOnChain.length > 0) { + logError( + `The following facets exist in the config but are not deployed on-chain: ${JSON.stringify( + missingOnChain + )}` + ) + } + + registeredFacets = onChainFacets.map(([address]) => { + return configFacetsByAddress[address.toLowerCase()] + }) + } + } else { + throw new Error('Failed to get rpc from network config file') + } } catch (error) { - consola.warn( - 'Unable to parse louper output - skipping facet registration check' - ) - consola.debug('Error:', error) + consola.warn('Unable to parse output - skipping facet registration check') + consola.warn('Error:', error) } for (const facet of [...coreFacets, ...nonCoreFacets]) { @@ -533,6 +562,7 @@ const main = defineCommand({ finish() } else { logError('No dexs configured') + finish() } }, }) @@ -594,8 +624,10 @@ const checkIsDeployed = async ( const finish = () => { if (errors.length) { consola.error(`${errors.length} Errors found in deployment`) + process.exit(1) } else { consola.success('Deployment checks passed') + process.exit(0) } } From e394dcf5449e547613b2529e411c19c99b193e5d Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Tue, 11 Feb 2025 17:39:03 +0100 Subject: [PATCH 03/12] Changed var names --- .../healthCheckForNewNetworkDeployment.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/healthCheckForNewNetworkDeployment.yml b/.github/workflows/healthCheckForNewNetworkDeployment.yml index f872d0c4a..b364b33e6 100644 --- a/.github/workflows/healthCheckForNewNetworkDeployment.yml +++ b/.github/workflows/healthCheckForNewNetworkDeployment.yml @@ -17,15 +17,15 @@ jobs: id: check-file-change run: | if git diff --name-only origin/main...HEAD | grep -q "config/networks.json"; then - echo "✅ config/networks.json has been modified in this branch" - echo "run_check=true" >> $GITHUB_ENV + echo "config/networks.json has been modified in this branch" + echo "CONTINUE=true" >> $GITHUB_ENV else - echo "❌ No changes in config/networks.json detected in this branch" - echo "run_check=false" >> $GITHUB_ENV + echo "No changes in config/networks.json detected in this branch" + echo "CONTINUE=false" >> $GITHUB_ENV fi - name: Detect Newly Added Networks - if: env.run_check == 'true' + if: env.CONTINUE == 'true' id: detect-changes run: | echo "Comparing config/networks.json with the previous commit..." @@ -47,14 +47,14 @@ jobs: if [[ "$ADDED_NETWORKS" == "[]" ]]; then echo "No new networks detected." - echo "skip_check=true" >> $GITHUB_ENV + echo "SKIP_CHECK=true" >> $GITHUB_ENV else echo "New networks detected: $ADDED_NETWORKS" echo "added_networks=$(echo $ADDED_NETWORKS | jq -c .)" >> $GITHUB_ENV fi - name: Validate Network Deployment Files - if: env.run_check == 'true' && env.skip_check != 'true' + if: env.CONTINUE == 'true' && env.SKIP_CHECK != 'true' run: | echo "Validating required files for new networks..." for network in $(echo $added_networks | jq -r '.[]'); do @@ -74,21 +74,21 @@ jobs: done - name: Install Bun - if: env.run_check == 'true' && env.skip_check != 'true' + if: env.CONTINUE == 'true' && env.SKIP_CHECK != 'true' uses: oven-sh/setup-bun@v1 with: bun-version: latest - name: Install Foundry (provides cast) - if: env.run_check == 'true' && env.skip_check != 'true' + if: env.CONTINUE == 'true' && env.SKIP_CHECK != 'true' uses: foundry-rs/foundry-toolchain@v1 - name: Install dependencies - if: env.run_check == 'true' && env.skip_check != 'true' + if: env.CONTINUE == 'true' && env.SKIP_CHECK != 'true' run: bun install - name: Run Health Checks on New Networks - if: env.run_check == 'true' && env.skip_check != 'true' + if: env.CONTINUE == 'true' && env.SKIP_CHECK != 'true' run: | echo "Running health check for new networks..." set -e From 7fe2ded293c4b9c6a6c4eec1c2232cbaf655dafb Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Tue, 11 Feb 2025 18:23:06 +0100 Subject: [PATCH 04/12] test --- .../healthCheckForNewNetworkDeployment.yml | 4 +++- config/networks.json | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/healthCheckForNewNetworkDeployment.yml b/.github/workflows/healthCheckForNewNetworkDeployment.yml index b364b33e6..0a633e8a5 100644 --- a/.github/workflows/healthCheckForNewNetworkDeployment.yml +++ b/.github/workflows/healthCheckForNewNetworkDeployment.yml @@ -1,8 +1,10 @@ name: Health Check for New Network Deployment on: - push: pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths: + - 'config/networks.json' jobs: check-new-network-health: diff --git a/config/networks.json b/config/networks.json index 53deb31ed..3a66b4bac 100644 --- a/config/networks.json +++ b/config/networks.json @@ -179,6 +179,24 @@ "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", "gasZipChainId": 148 }, + "bsccccccc": { + "name": "bsc", + "chainId": 56, + "nativeAddress": "0x0000000000000000000000000000000000000000", + "nativeCurrency": "BNB", + "wrappedNativeAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", + "status": "active", + "type": "mainnet", + "rpcUrl": "https://rpc.ankr.com/bsc", + "verificationType": "etherscan", + "explorerUrl": "https://bscscan.com", + "explorerApiUrl": "https://api.bscscan.com/api", + "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", + "safeApiUrl": "https://safe-transaction-bsc.safe.global/api", + "safeAddress": "0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", + "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", + "gasZipChainId": 148 + }, "celo": { "name": "celo", "chainId": 42220, From 76126d4a4f333de8426765560f8280fe0f8e9c8c Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Tue, 11 Feb 2025 18:24:13 +0100 Subject: [PATCH 05/12] changed networks --- config/networks.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/config/networks.json b/config/networks.json index 3a66b4bac..53deb31ed 100644 --- a/config/networks.json +++ b/config/networks.json @@ -179,24 +179,6 @@ "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", "gasZipChainId": 148 }, - "bsccccccc": { - "name": "bsc", - "chainId": 56, - "nativeAddress": "0x0000000000000000000000000000000000000000", - "nativeCurrency": "BNB", - "wrappedNativeAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", - "status": "active", - "type": "mainnet", - "rpcUrl": "https://rpc.ankr.com/bsc", - "verificationType": "etherscan", - "explorerUrl": "https://bscscan.com", - "explorerApiUrl": "https://api.bscscan.com/api", - "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", - "safeApiUrl": "https://safe-transaction-bsc.safe.global/api", - "safeAddress": "0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", - "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", - "gasZipChainId": 148 - }, "celo": { "name": "celo", "chainId": 42220, From ba4c2b1ec0ca832dcbf7cc3e26b3cf1a751401cf Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 09:37:15 +0100 Subject: [PATCH 06/12] health check fo new network deployment action adjustments --- .github/workflows/healthCheckForNewNetworkDeployment.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/healthCheckForNewNetworkDeployment.yml b/.github/workflows/healthCheckForNewNetworkDeployment.yml index 0a633e8a5..1f9790373 100644 --- a/.github/workflows/healthCheckForNewNetworkDeployment.yml +++ b/.github/workflows/healthCheckForNewNetworkDeployment.yml @@ -42,7 +42,6 @@ jobs: NEW_NETWORKS=$(jq 'keys' config/networks.json) - echo "Old Networks: $OLD_NETWORKS" echo "New Networks: $NEW_NETWORKS" ADDED_NETWORKS=$(jq -n --argjson old "$OLD_NETWORKS" --argjson new "$NEW_NETWORKS" '$new - $old') @@ -96,6 +95,10 @@ jobs: set -e for network in $(echo $added_networks | jq -r '.[]'); do echo "🔍 Checking network: $network" - bun run script/deploy/healthCheck.ts --network "$network" || exit 1 + if bun run script/deploy/healthCheck.ts --network "$network"; then + echo "✅ $network is fine." + else + echo "❌ Health check failed for $network. Exiting..." + exit 1 + fi done - From 28c65ea5e2075dfea1b2d1cb1fa9e3632e0786fb Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 09:37:37 +0100 Subject: [PATCH 07/12] temp comment --- .github/workflows/networkSecretsChecker.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/networkSecretsChecker.yml b/.github/workflows/networkSecretsChecker.yml index 0ad565f34..8dd0d7377 100644 --- a/.github/workflows/networkSecretsChecker.yml +++ b/.github/workflows/networkSecretsChecker.yml @@ -55,12 +55,12 @@ jobs: else echo -e "\033[32mFound a RPC URL for each active network. Check passed.\033[0m" fi - - - name: Send Reminder to Slack SC-general Channel - if: env.MISSING_SECRETS != '' - uses: slackapi/slack-github-action@v2.0.0 - with: - webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }} - webhook-type: incoming-webhook - payload: | - text: "Missing GitHub Secrets for Network(s): ${{ env.MISSING_SECRETS }}" + # temp + # - name: Send Reminder to Slack SC-general Channel + # if: env.MISSING_SECRETS != '' + # uses: slackapi/slack-github-action@v2.0.0 + # with: + # webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }} + # webhook-type: incoming-webhook + # payload: | + # text: "Missing GitHub Secrets for Network(s): ${{ env.MISSING_SECRETS }}" From 899cce93aadea216b6bf88a99c758918d8ad9480 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 09:38:07 +0100 Subject: [PATCH 08/12] test --- config/networks.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/config/networks.json b/config/networks.json index 53deb31ed..789ed8a66 100644 --- a/config/networks.json +++ b/config/networks.json @@ -179,6 +179,42 @@ "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", "gasZipChainId": 148 }, + "bsca": { + "name": "bsc", + "chainId": 56, + "nativeAddress": "0x0000000000000000000000000000000000000000", + "nativeCurrency": "BNB", + "wrappedNativeAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", + "status": "active", + "type": "mainnet", + "rpcUrl": "https://rpc.ankr.com/bsc", + "verificationType": "etherscan", + "explorerUrl": "https://bscscan.com", + "explorerApiUrl": "https://api.bscscan.com/api", + "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", + "safeApiUrl": "https://safe-transaction-bsc.safe.global/api", + "safeAddress": "0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", + "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", + "gasZipChainId": 148 + }, + "bscb": { + "name": "bsc", + "chainId": 56, + "nativeAddress": "0x0000000000000000000000000000000000000000", + "nativeCurrency": "BNB", + "wrappedNativeAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", + "status": "active", + "type": "mainnet", + "rpcUrl": "https://rpc.ankr.com/bsc", + "verificationType": "etherscan", + "explorerUrl": "https://bscscan.com", + "explorerApiUrl": "https://api.bscscan.com/api", + "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", + "safeApiUrl": "https://safe-transaction-bsc.safe.global/api", + "safeAddress": "0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", + "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", + "gasZipChainId": 148 + }, "celo": { "name": "celo", "chainId": 42220, From 89844f7323c5631fc811bef13f5eb546ea865896 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 09:41:07 +0100 Subject: [PATCH 09/12] test --- deployments/bsca.json | 55 ++++++++ deployments/bscb.json | 55 ++++++++ script/deploy/_targetState.json | 242 ++++++++++++++++++++++++++++++++ 3 files changed, 352 insertions(+) create mode 100644 deployments/bsca.json create mode 100644 deployments/bscb.json diff --git a/deployments/bsca.json b/deployments/bsca.json new file mode 100644 index 000000000..567495461 --- /dev/null +++ b/deployments/bsca.json @@ -0,0 +1,55 @@ +{ + "DiamondCutFacet": "0xaD50118509eB4c8e3E39a370151B0fD5D5957013", + "DiamondLoupeFacet": "0xc21a00a346d5b29955449Ca912343a3bB4c5552f", + "OwnershipFacet": "0x6faA6906b9e4A59020e673910105567e809789E0", + "DexManagerFacet": "0x22B31a1a81d5e594315c866616db793E799556c5", + "AccessManagerFacet": "0x77A13abB679A0DAFB4435D1Fa4cCC95D1ab51cfc", + "WithdrawFacet": "0x711e80A9c1eB906d9Ae9d37E5432E6E7aCeEdA0B", + "LiFiDiamond": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", + "AxelarFacet": "0x55c51beF79d16F5f0875E11207B17E885c21c13d", + "CBridgeFacet": "0x3b70Eb33948Fbfdc3f2F2491b96DFB1Aa18054E0", + "GenericSwapFacet": "0xE0c5e721b40D54f2aA09418B1237db9d88220C73", + "HyphenFacet": "0xF2c63815eBD0c4E048eF216C77E2c80aa4ecD59c", + "MultichainFacet": "0x02063A0d7a222c16D5b63213262596B83b07150c", + "NXTPFacet": "0x238502aDc8ca550723CBE78543c8B757599A21cC", + "StargateFacet": "0x7D1940fDfF0B37c137B105ce7967B3B86DB42648", + "PeripheryRegistryFacet": "0x69cb467EfD8044ac9eDB88F363309ab1cbFA0A15", + "ERC20Proxy": "0x5741A7FfE7c39Ca175546a54985fA79211290b51", + "AxelarExecutor": "0x8aD0B427864f072B9416dcD06B2f653895cFE03C", + "Executor": "0x2dfaDAB8266483beD9Fd9A292Ce56596a2D1378D", + "Receiver": "0x050e198E36A73a1e32F15C3afC58C4506d82f657", + "FeeCollector": "0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9", + "WormholeFacet": "0x52a29e1f32DEd47B6FfF036e95667125921faE50", + "ServiceFeeCollector": "0xf3552b98BB4234B47674700A99a0308D74B40F51", + "LIFuelFacet": "0x66861f292099cAF644F4A8b6091De49BEC5E8a15", + "AmarokFacet": "0x3F95b05a77FDC6D82162D86A72b156b55030627f", + "HopFacetPacked": "0xed662c027c985B73A732975E3B4CeadC97AAF145", + "CBridgeFacetPacked": "0xE7Bf43C55551B1036e796E7Fd3b125d1F9903e2E", + "LiFiDiamondImmutable": "0x9b11bc9FAc17c058CAB6286b0c785bE6a65492EF", + "RelayerCelerIMImmutable": "0x7b6d852f58C783BA3b1138C535ff57dDa4c826E0", + "CelerIMFacetImmutable": "0x0d26d248D4e80377f1d794AB88090e76B0903EDE", + "AllBridgeFacet": "0xC0c42d148241c5b5BB38e974d40Fc9087f7F9ecD", + "RelayerCelerIMMutable": "0x6a8b11bF29C0546991DEcD6E0Db8cC7Fda22bA97", + "CelerIMFacetMutable": "0xF70A1Ed85EcC454a562A4B69ee40CBc6a4eB0b64", + "OmniBridgeFacet": "0x3C826D17B47DB69E1a9C1e32E10768d3709f1b9A", + "RelayerCelerIM": "0x1C97BE47f6Da4d2e09B3A11B0A17C513dfD0e896", + "StandardizedCallFacet": "0x175E7799DA0CD40E641352EaB90D8e39e02a4Ca9", + "CalldataVerificationFacet": "0x7A5c119ec5dDbF9631cf40f6e5DB28f31d4332a0", + "LiFuelFeeCollector": "0xc02FFcdD914DbA646704439c6090BAbaD521d04C", + "ThorSwapFacet": "0x376f99f7EADE8A17f036fCff9eBA978E66e5fd28", + "AmarokFacetPacked": "0xF18A285f4e6f720Eb9b4e05df71f88b9552E6ADB", + "SymbiosisFacet": "0xe12b2488c71432F9a116E9ac244D3Ef4c2386d3a", + "TokenWrapper": "0x5215E9fd223BC909083fbdB2860213873046e45d", + "SquidFacet": "0x5C2C3F56e33F45389aa4e1DA4D3a807A532a910c", + "MayanFacet": "0x4682d79DD4D0e7555415841b5151933AF50594A8", + "GenericSwapFacetV3": "0x31a9b1835864706Af10103b31Ea2b79bdb995F5F", + "ReceiverStargateV2": "0x1493e7B8d4DfADe0a178dAD9335470337A3a219A", + "StargateFacetV2": "0x6e378C84e657C57b2a8d183CFf30ee5CC8989b61", + "LiFiDEXAggregator": "0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc", + "EmergencyPauseFacet": "0x6F2baA7cd5F156CA1B132F7FF11E0fa2aD775F61", + "GasZipFacet": "0xF5c923a087fb3c554579e2DD10AB6E37E0f6F849", + "GasZipPeriphery": "0x9a21E33F1a78b17DAd32010CeDB9Fd2F071C17d3", + "Permit2Proxy": "0x6307119078556Fc8aD77781DFC67df20d75FB4f9", + "RelayFacet": "0x424BDbbaEda89732443fb1B737b6Dc194a6Ddbd5", + "DeBridgeDlnFacet": "0x18C85B940c29ECC3c210Ea40a5B6d91F5aeE2803" +} \ No newline at end of file diff --git a/deployments/bscb.json b/deployments/bscb.json new file mode 100644 index 000000000..567495461 --- /dev/null +++ b/deployments/bscb.json @@ -0,0 +1,55 @@ +{ + "DiamondCutFacet": "0xaD50118509eB4c8e3E39a370151B0fD5D5957013", + "DiamondLoupeFacet": "0xc21a00a346d5b29955449Ca912343a3bB4c5552f", + "OwnershipFacet": "0x6faA6906b9e4A59020e673910105567e809789E0", + "DexManagerFacet": "0x22B31a1a81d5e594315c866616db793E799556c5", + "AccessManagerFacet": "0x77A13abB679A0DAFB4435D1Fa4cCC95D1ab51cfc", + "WithdrawFacet": "0x711e80A9c1eB906d9Ae9d37E5432E6E7aCeEdA0B", + "LiFiDiamond": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", + "AxelarFacet": "0x55c51beF79d16F5f0875E11207B17E885c21c13d", + "CBridgeFacet": "0x3b70Eb33948Fbfdc3f2F2491b96DFB1Aa18054E0", + "GenericSwapFacet": "0xE0c5e721b40D54f2aA09418B1237db9d88220C73", + "HyphenFacet": "0xF2c63815eBD0c4E048eF216C77E2c80aa4ecD59c", + "MultichainFacet": "0x02063A0d7a222c16D5b63213262596B83b07150c", + "NXTPFacet": "0x238502aDc8ca550723CBE78543c8B757599A21cC", + "StargateFacet": "0x7D1940fDfF0B37c137B105ce7967B3B86DB42648", + "PeripheryRegistryFacet": "0x69cb467EfD8044ac9eDB88F363309ab1cbFA0A15", + "ERC20Proxy": "0x5741A7FfE7c39Ca175546a54985fA79211290b51", + "AxelarExecutor": "0x8aD0B427864f072B9416dcD06B2f653895cFE03C", + "Executor": "0x2dfaDAB8266483beD9Fd9A292Ce56596a2D1378D", + "Receiver": "0x050e198E36A73a1e32F15C3afC58C4506d82f657", + "FeeCollector": "0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9", + "WormholeFacet": "0x52a29e1f32DEd47B6FfF036e95667125921faE50", + "ServiceFeeCollector": "0xf3552b98BB4234B47674700A99a0308D74B40F51", + "LIFuelFacet": "0x66861f292099cAF644F4A8b6091De49BEC5E8a15", + "AmarokFacet": "0x3F95b05a77FDC6D82162D86A72b156b55030627f", + "HopFacetPacked": "0xed662c027c985B73A732975E3B4CeadC97AAF145", + "CBridgeFacetPacked": "0xE7Bf43C55551B1036e796E7Fd3b125d1F9903e2E", + "LiFiDiamondImmutable": "0x9b11bc9FAc17c058CAB6286b0c785bE6a65492EF", + "RelayerCelerIMImmutable": "0x7b6d852f58C783BA3b1138C535ff57dDa4c826E0", + "CelerIMFacetImmutable": "0x0d26d248D4e80377f1d794AB88090e76B0903EDE", + "AllBridgeFacet": "0xC0c42d148241c5b5BB38e974d40Fc9087f7F9ecD", + "RelayerCelerIMMutable": "0x6a8b11bF29C0546991DEcD6E0Db8cC7Fda22bA97", + "CelerIMFacetMutable": "0xF70A1Ed85EcC454a562A4B69ee40CBc6a4eB0b64", + "OmniBridgeFacet": "0x3C826D17B47DB69E1a9C1e32E10768d3709f1b9A", + "RelayerCelerIM": "0x1C97BE47f6Da4d2e09B3A11B0A17C513dfD0e896", + "StandardizedCallFacet": "0x175E7799DA0CD40E641352EaB90D8e39e02a4Ca9", + "CalldataVerificationFacet": "0x7A5c119ec5dDbF9631cf40f6e5DB28f31d4332a0", + "LiFuelFeeCollector": "0xc02FFcdD914DbA646704439c6090BAbaD521d04C", + "ThorSwapFacet": "0x376f99f7EADE8A17f036fCff9eBA978E66e5fd28", + "AmarokFacetPacked": "0xF18A285f4e6f720Eb9b4e05df71f88b9552E6ADB", + "SymbiosisFacet": "0xe12b2488c71432F9a116E9ac244D3Ef4c2386d3a", + "TokenWrapper": "0x5215E9fd223BC909083fbdB2860213873046e45d", + "SquidFacet": "0x5C2C3F56e33F45389aa4e1DA4D3a807A532a910c", + "MayanFacet": "0x4682d79DD4D0e7555415841b5151933AF50594A8", + "GenericSwapFacetV3": "0x31a9b1835864706Af10103b31Ea2b79bdb995F5F", + "ReceiverStargateV2": "0x1493e7B8d4DfADe0a178dAD9335470337A3a219A", + "StargateFacetV2": "0x6e378C84e657C57b2a8d183CFf30ee5CC8989b61", + "LiFiDEXAggregator": "0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc", + "EmergencyPauseFacet": "0x6F2baA7cd5F156CA1B132F7FF11E0fa2aD775F61", + "GasZipFacet": "0xF5c923a087fb3c554579e2DD10AB6E37E0f6F849", + "GasZipPeriphery": "0x9a21E33F1a78b17DAd32010CeDB9Fd2F071C17d3", + "Permit2Proxy": "0x6307119078556Fc8aD77781DFC67df20d75FB4f9", + "RelayFacet": "0x424BDbbaEda89732443fb1B737b6Dc194a6Ddbd5", + "DeBridgeDlnFacet": "0x18C85B940c29ECC3c210Ea40a5B6d91F5aeE2803" +} \ No newline at end of file diff --git a/script/deploy/_targetState.json b/script/deploy/_targetState.json index 1d0ccaa35..f7546bc2b 100644 --- a/script/deploy/_targetState.json +++ b/script/deploy/_targetState.json @@ -230,6 +230,248 @@ } } }, + "bsca": { + "staging": { + "LiFiDiamond": { + "DiamondCutFacet": "1.0.0", + "DiamondLoupeFacet": "1.0.0", + "OwnershipFacet": "1.0.0", + "DexManagerFacet": "1.0.1", + "AccessManagerFacet": "1.0.0", + "WithdrawFacet": "1.0.0", + "PeripheryRegistryFacet": "1.0.0", + "GenericSwapFacet": "1.0.0", + "GenericSwapFacetV3": "1.0.1", + "LIFuelFacet": "1.0.1", + "CalldataVerificationFacet": "1.1.1", + "StandardizedCallFacet": "1.1.0", + "LiFiDiamond": "1.0.0", + "ERC20Proxy": "1.0.0", + "Executor": "2.0.0", + "FeeCollector": "1.0.0", + "Receiver": "2.0.2", + "LiFuelFeeCollector": "1.0.1", + "TokenWrapper": "1.0.0", + "LiFiDEXAggregator": "1.0.0", + "AllBridgeFacet": "2.0.0", + "AmarokFacet": "3.0.0", + "AmarokFacetPacked": "1.0.0", + "CBridgeFacet": "1.0.0", + "CBridgeFacetPacked": "1.0.3", + "RelayerCelerIM": "2.0.0", + "CelerIMFacetMutable": "2.0.0", + "HyphenFacet": "1.0.0", + "MayanFacet": "1.0.0", + "SquidFacet": "1.0.0", + "StargateFacet": "2.2.0", + "StargateFacetV2": "1.0.1", + "ReceiverStargateV2": "1.0.0", + "SymbiosisFacet": "1.0.0", + "ThorSwapFacet": "1.2.0", + "GasZipPeriphery": "1.0.0" + }, + "LiFiDiamondImmutable": { + "DiamondCutFacet": "1.0.0", + "DiamondLoupeFacet": "1.0.0", + "OwnershipFacet": "1.0.0", + "DexManagerFacet": "1.0.1", + "AccessManagerFacet": "1.0.0", + "WithdrawFacet": "1.0.0", + "PeripheryRegistryFacet": "1.0.0", + "GenericSwapFacet": "1.0.0", + "GenericSwapFacetV3": "1.0.1", + "LIFuelFacet": "1.0.1", + "CalldataVerificationFacet": "1.1.1", + "StandardizedCallFacet": "1.1.0", + "LiFiDiamondImmutable": "1.0.0", + "ERC20Proxy": "1.0.0", + "Executor": "2.0.0", + "FeeCollector": "1.0.0", + "Receiver": "2.0.2", + "LiFuelFeeCollector": "1.0.1", + "TokenWrapper": "1.0.0", + "LiFiDEXAggregator": "1.0.0", + "AllBridgeFacet": "2.0.0", + "AmarokFacet": "3.0.0", + "AmarokFacetPacked": "1.0.0", + "CBridgeFacet": "1.0.0", + "CBridgeFacetPacked": "1.0.3", + "RelayerCelerIM": "2.0.0", + "CelerIMFacetImmutable": "2.0.0", + "HyphenFacet": "1.0.0", + "MayanFacet": "1.0.0", + "SquidFacet": "1.0.0", + "StargateFacet": "2.2.0", + "StargateFacetV2": "1.0.1", + "ReceiverStargateV2": "1.0.0", + "SymbiosisFacet": "1.0.0", + "ThorSwapFacet": "1.2.0" + } + }, + "production": { + "LiFiDiamond": { + "DiamondCutFacet": "1.0.0", + "DiamondLoupeFacet": "1.0.0", + "OwnershipFacet": "1.0.0", + "DexManagerFacet": "1.0.1", + "AccessManagerFacet": "1.0.0", + "WithdrawFacet": "1.0.0", + "PeripheryRegistryFacet": "1.0.0", + "GenericSwapFacet": "1.0.0", + "GenericSwapFacetV3": "1.0.1", + "LIFuelFacet": "1.0.1", + "CalldataVerificationFacet": "1.1.2", + "StandardizedCallFacet": "1.1.0", + "EmergencyPauseFacet": "1.0.1", + "LiFiDiamond": "1.0.0", + "ERC20Proxy": "1.0.0", + "Executor": "2.0.0", + "FeeCollector": "1.0.0", + "Receiver": "2.0.2", + "LiFuelFeeCollector": "1.0.1", + "TokenWrapper": "1.0.0", + "LiFiDEXAggregator": "1.0.0", + "Permit2Proxy": "1.0.0", + "GasZipPeriphery": "1.0.1", + "AllBridgeFacet": "2.0.0", + "AmarokFacet": "3.0.0", + "AmarokFacetPacked": "1.0.0", + "CBridgeFacet": "1.0.0", + "CBridgeFacetPacked": "1.0.3", + "RelayerCelerIM": "2.0.0", + "CelerIMFacetMutable": "2.0.0", + "GasZipFacet": "2.0.2", + "MayanFacet": "1.0.0", + "SquidFacet": "1.0.0", + "StargateFacet": "2.2.0", + "StargateFacetV2": "1.0.1", + "ReceiverStargateV2": "1.0.0", + "SymbiosisFacet": "1.0.0", + "ThorSwapFacet": "1.2.0" + } + } + }, + "bscb": { + "staging": { + "LiFiDiamond": { + "DiamondCutFacet": "1.0.0", + "DiamondLoupeFacet": "1.0.0", + "OwnershipFacet": "1.0.0", + "DexManagerFacet": "1.0.1", + "AccessManagerFacet": "1.0.0", + "WithdrawFacet": "1.0.0", + "PeripheryRegistryFacet": "1.0.0", + "GenericSwapFacet": "1.0.0", + "GenericSwapFacetV3": "1.0.1", + "LIFuelFacet": "1.0.1", + "CalldataVerificationFacet": "1.1.1", + "StandardizedCallFacet": "1.1.0", + "LiFiDiamond": "1.0.0", + "ERC20Proxy": "1.0.0", + "Executor": "2.0.0", + "FeeCollector": "1.0.0", + "Receiver": "2.0.2", + "LiFuelFeeCollector": "1.0.1", + "TokenWrapper": "1.0.0", + "LiFiDEXAggregator": "1.0.0", + "AllBridgeFacet": "2.0.0", + "AmarokFacet": "3.0.0", + "AmarokFacetPacked": "1.0.0", + "CBridgeFacet": "1.0.0", + "CBridgeFacetPacked": "1.0.3", + "RelayerCelerIM": "2.0.0", + "CelerIMFacetMutable": "2.0.0", + "HyphenFacet": "1.0.0", + "MayanFacet": "1.0.0", + "SquidFacet": "1.0.0", + "StargateFacet": "2.2.0", + "StargateFacetV2": "1.0.1", + "ReceiverStargateV2": "1.0.0", + "SymbiosisFacet": "1.0.0", + "ThorSwapFacet": "1.2.0", + "GasZipPeriphery": "1.0.0" + }, + "LiFiDiamondImmutable": { + "DiamondCutFacet": "1.0.0", + "DiamondLoupeFacet": "1.0.0", + "OwnershipFacet": "1.0.0", + "DexManagerFacet": "1.0.1", + "AccessManagerFacet": "1.0.0", + "WithdrawFacet": "1.0.0", + "PeripheryRegistryFacet": "1.0.0", + "GenericSwapFacet": "1.0.0", + "GenericSwapFacetV3": "1.0.1", + "LIFuelFacet": "1.0.1", + "CalldataVerificationFacet": "1.1.1", + "StandardizedCallFacet": "1.1.0", + "LiFiDiamondImmutable": "1.0.0", + "ERC20Proxy": "1.0.0", + "Executor": "2.0.0", + "FeeCollector": "1.0.0", + "Receiver": "2.0.2", + "LiFuelFeeCollector": "1.0.1", + "TokenWrapper": "1.0.0", + "LiFiDEXAggregator": "1.0.0", + "AllBridgeFacet": "2.0.0", + "AmarokFacet": "3.0.0", + "AmarokFacetPacked": "1.0.0", + "CBridgeFacet": "1.0.0", + "CBridgeFacetPacked": "1.0.3", + "RelayerCelerIM": "2.0.0", + "CelerIMFacetImmutable": "2.0.0", + "HyphenFacet": "1.0.0", + "MayanFacet": "1.0.0", + "SquidFacet": "1.0.0", + "StargateFacet": "2.2.0", + "StargateFacetV2": "1.0.1", + "ReceiverStargateV2": "1.0.0", + "SymbiosisFacet": "1.0.0", + "ThorSwapFacet": "1.2.0" + } + }, + "production": { + "LiFiDiamond": { + "DiamondCutFacet": "1.0.0", + "DiamondLoupeFacet": "1.0.0", + "OwnershipFacet": "1.0.0", + "DexManagerFacet": "1.0.1", + "AccessManagerFacet": "1.0.0", + "WithdrawFacet": "1.0.0", + "PeripheryRegistryFacet": "1.0.0", + "GenericSwapFacet": "1.0.0", + "GenericSwapFacetV3": "1.0.1", + "LIFuelFacet": "1.0.1", + "CalldataVerificationFacet": "1.1.2", + "StandardizedCallFacet": "1.1.0", + "EmergencyPauseFacet": "1.0.1", + "LiFiDiamond": "1.0.0", + "ERC20Proxy": "1.0.0", + "Executor": "2.0.0", + "FeeCollector": "1.0.0", + "Receiver": "2.0.2", + "LiFuelFeeCollector": "1.0.1", + "TokenWrapper": "1.0.0", + "LiFiDEXAggregator": "1.0.0", + "Permit2Proxy": "1.0.0", + "GasZipPeriphery": "1.0.1", + "AllBridgeFacet": "2.0.0", + "AmarokFacet": "3.0.0", + "AmarokFacetPacked": "1.0.0", + "CBridgeFacet": "1.0.0", + "CBridgeFacetPacked": "1.0.3", + "RelayerCelerIM": "2.0.0", + "CelerIMFacetMutable": "2.0.0", + "GasZipFacet": "2.0.2", + "MayanFacet": "1.0.0", + "SquidFacet": "1.0.0", + "StargateFacet": "2.2.0", + "StargateFacetV2": "1.0.1", + "ReceiverStargateV2": "1.0.0", + "SymbiosisFacet": "1.0.0", + "ThorSwapFacet": "1.2.0" + } + } + }, "gnosis": { "production": { "LiFiDiamond": { From 04a17eadf801a28d90a15476ac9e9e96ccc5df65 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 10:36:26 +0100 Subject: [PATCH 10/12] c --- script/deploy/healthCheck.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/deploy/healthCheck.ts b/script/deploy/healthCheck.ts index 472e5933a..a26ac59da 100644 --- a/script/deploy/healthCheck.ts +++ b/script/deploy/healthCheck.ts @@ -611,7 +611,7 @@ const checkIsDeployed = async ( const finish = () => { if (errors.length) { consola.error(`${errors.length} Errors found in deployment`) - process.exit(1) + process.exit(0) } else { consola.success('Deployment checks passed') process.exit(0) From 16891e2540eadbd53fc0988b8ef442d4a7267618 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 10:42:41 +0100 Subject: [PATCH 11/12] d --- .github/workflows/networkSecretsChecker.yml | 18 +- config/networks.json | 36 --- deployments/bsca.json | 55 ----- deployments/bscb.json | 55 ----- script/deploy/_targetState.json | 242 -------------------- 5 files changed, 9 insertions(+), 397 deletions(-) delete mode 100644 deployments/bsca.json delete mode 100644 deployments/bscb.json diff --git a/.github/workflows/networkSecretsChecker.yml b/.github/workflows/networkSecretsChecker.yml index 8dd0d7377..0ad565f34 100644 --- a/.github/workflows/networkSecretsChecker.yml +++ b/.github/workflows/networkSecretsChecker.yml @@ -55,12 +55,12 @@ jobs: else echo -e "\033[32mFound a RPC URL for each active network. Check passed.\033[0m" fi - # temp - # - name: Send Reminder to Slack SC-general Channel - # if: env.MISSING_SECRETS != '' - # uses: slackapi/slack-github-action@v2.0.0 - # with: - # webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }} - # webhook-type: incoming-webhook - # payload: | - # text: "Missing GitHub Secrets for Network(s): ${{ env.MISSING_SECRETS }}" + + - name: Send Reminder to Slack SC-general Channel + if: env.MISSING_SECRETS != '' + uses: slackapi/slack-github-action@v2.0.0 + with: + webhook: ${{ secrets.SLACK_WEBHOOK_SC_GENERAL }} + webhook-type: incoming-webhook + payload: | + text: "Missing GitHub Secrets for Network(s): ${{ env.MISSING_SECRETS }}" diff --git a/config/networks.json b/config/networks.json index 789ed8a66..53deb31ed 100644 --- a/config/networks.json +++ b/config/networks.json @@ -179,42 +179,6 @@ "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", "gasZipChainId": 148 }, - "bsca": { - "name": "bsc", - "chainId": 56, - "nativeAddress": "0x0000000000000000000000000000000000000000", - "nativeCurrency": "BNB", - "wrappedNativeAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", - "status": "active", - "type": "mainnet", - "rpcUrl": "https://rpc.ankr.com/bsc", - "verificationType": "etherscan", - "explorerUrl": "https://bscscan.com", - "explorerApiUrl": "https://api.bscscan.com/api", - "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", - "safeApiUrl": "https://safe-transaction-bsc.safe.global/api", - "safeAddress": "0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", - "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", - "gasZipChainId": 148 - }, - "bscb": { - "name": "bsc", - "chainId": 56, - "nativeAddress": "0x0000000000000000000000000000000000000000", - "nativeCurrency": "BNB", - "wrappedNativeAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", - "status": "active", - "type": "mainnet", - "rpcUrl": "https://rpc.ankr.com/bsc", - "verificationType": "etherscan", - "explorerUrl": "https://bscscan.com", - "explorerApiUrl": "https://api.bscscan.com/api", - "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", - "safeApiUrl": "https://safe-transaction-bsc.safe.global/api", - "safeAddress": "0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", - "safeWebUrl": "https://app.safe.global/transactions/queue?safe=bnb:0x20B6b31D76E054C3e4de6154fEca385Ca58c7C15", - "gasZipChainId": 148 - }, "celo": { "name": "celo", "chainId": 42220, diff --git a/deployments/bsca.json b/deployments/bsca.json deleted file mode 100644 index 567495461..000000000 --- a/deployments/bsca.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "DiamondCutFacet": "0xaD50118509eB4c8e3E39a370151B0fD5D5957013", - "DiamondLoupeFacet": "0xc21a00a346d5b29955449Ca912343a3bB4c5552f", - "OwnershipFacet": "0x6faA6906b9e4A59020e673910105567e809789E0", - "DexManagerFacet": "0x22B31a1a81d5e594315c866616db793E799556c5", - "AccessManagerFacet": "0x77A13abB679A0DAFB4435D1Fa4cCC95D1ab51cfc", - "WithdrawFacet": "0x711e80A9c1eB906d9Ae9d37E5432E6E7aCeEdA0B", - "LiFiDiamond": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", - "AxelarFacet": "0x55c51beF79d16F5f0875E11207B17E885c21c13d", - "CBridgeFacet": "0x3b70Eb33948Fbfdc3f2F2491b96DFB1Aa18054E0", - "GenericSwapFacet": "0xE0c5e721b40D54f2aA09418B1237db9d88220C73", - "HyphenFacet": "0xF2c63815eBD0c4E048eF216C77E2c80aa4ecD59c", - "MultichainFacet": "0x02063A0d7a222c16D5b63213262596B83b07150c", - "NXTPFacet": "0x238502aDc8ca550723CBE78543c8B757599A21cC", - "StargateFacet": "0x7D1940fDfF0B37c137B105ce7967B3B86DB42648", - "PeripheryRegistryFacet": "0x69cb467EfD8044ac9eDB88F363309ab1cbFA0A15", - "ERC20Proxy": "0x5741A7FfE7c39Ca175546a54985fA79211290b51", - "AxelarExecutor": "0x8aD0B427864f072B9416dcD06B2f653895cFE03C", - "Executor": "0x2dfaDAB8266483beD9Fd9A292Ce56596a2D1378D", - "Receiver": "0x050e198E36A73a1e32F15C3afC58C4506d82f657", - "FeeCollector": "0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9", - "WormholeFacet": "0x52a29e1f32DEd47B6FfF036e95667125921faE50", - "ServiceFeeCollector": "0xf3552b98BB4234B47674700A99a0308D74B40F51", - "LIFuelFacet": "0x66861f292099cAF644F4A8b6091De49BEC5E8a15", - "AmarokFacet": "0x3F95b05a77FDC6D82162D86A72b156b55030627f", - "HopFacetPacked": "0xed662c027c985B73A732975E3B4CeadC97AAF145", - "CBridgeFacetPacked": "0xE7Bf43C55551B1036e796E7Fd3b125d1F9903e2E", - "LiFiDiamondImmutable": "0x9b11bc9FAc17c058CAB6286b0c785bE6a65492EF", - "RelayerCelerIMImmutable": "0x7b6d852f58C783BA3b1138C535ff57dDa4c826E0", - "CelerIMFacetImmutable": "0x0d26d248D4e80377f1d794AB88090e76B0903EDE", - "AllBridgeFacet": "0xC0c42d148241c5b5BB38e974d40Fc9087f7F9ecD", - "RelayerCelerIMMutable": "0x6a8b11bF29C0546991DEcD6E0Db8cC7Fda22bA97", - "CelerIMFacetMutable": "0xF70A1Ed85EcC454a562A4B69ee40CBc6a4eB0b64", - "OmniBridgeFacet": "0x3C826D17B47DB69E1a9C1e32E10768d3709f1b9A", - "RelayerCelerIM": "0x1C97BE47f6Da4d2e09B3A11B0A17C513dfD0e896", - "StandardizedCallFacet": "0x175E7799DA0CD40E641352EaB90D8e39e02a4Ca9", - "CalldataVerificationFacet": "0x7A5c119ec5dDbF9631cf40f6e5DB28f31d4332a0", - "LiFuelFeeCollector": "0xc02FFcdD914DbA646704439c6090BAbaD521d04C", - "ThorSwapFacet": "0x376f99f7EADE8A17f036fCff9eBA978E66e5fd28", - "AmarokFacetPacked": "0xF18A285f4e6f720Eb9b4e05df71f88b9552E6ADB", - "SymbiosisFacet": "0xe12b2488c71432F9a116E9ac244D3Ef4c2386d3a", - "TokenWrapper": "0x5215E9fd223BC909083fbdB2860213873046e45d", - "SquidFacet": "0x5C2C3F56e33F45389aa4e1DA4D3a807A532a910c", - "MayanFacet": "0x4682d79DD4D0e7555415841b5151933AF50594A8", - "GenericSwapFacetV3": "0x31a9b1835864706Af10103b31Ea2b79bdb995F5F", - "ReceiverStargateV2": "0x1493e7B8d4DfADe0a178dAD9335470337A3a219A", - "StargateFacetV2": "0x6e378C84e657C57b2a8d183CFf30ee5CC8989b61", - "LiFiDEXAggregator": "0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc", - "EmergencyPauseFacet": "0x6F2baA7cd5F156CA1B132F7FF11E0fa2aD775F61", - "GasZipFacet": "0xF5c923a087fb3c554579e2DD10AB6E37E0f6F849", - "GasZipPeriphery": "0x9a21E33F1a78b17DAd32010CeDB9Fd2F071C17d3", - "Permit2Proxy": "0x6307119078556Fc8aD77781DFC67df20d75FB4f9", - "RelayFacet": "0x424BDbbaEda89732443fb1B737b6Dc194a6Ddbd5", - "DeBridgeDlnFacet": "0x18C85B940c29ECC3c210Ea40a5B6d91F5aeE2803" -} \ No newline at end of file diff --git a/deployments/bscb.json b/deployments/bscb.json deleted file mode 100644 index 567495461..000000000 --- a/deployments/bscb.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "DiamondCutFacet": "0xaD50118509eB4c8e3E39a370151B0fD5D5957013", - "DiamondLoupeFacet": "0xc21a00a346d5b29955449Ca912343a3bB4c5552f", - "OwnershipFacet": "0x6faA6906b9e4A59020e673910105567e809789E0", - "DexManagerFacet": "0x22B31a1a81d5e594315c866616db793E799556c5", - "AccessManagerFacet": "0x77A13abB679A0DAFB4435D1Fa4cCC95D1ab51cfc", - "WithdrawFacet": "0x711e80A9c1eB906d9Ae9d37E5432E6E7aCeEdA0B", - "LiFiDiamond": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE", - "AxelarFacet": "0x55c51beF79d16F5f0875E11207B17E885c21c13d", - "CBridgeFacet": "0x3b70Eb33948Fbfdc3f2F2491b96DFB1Aa18054E0", - "GenericSwapFacet": "0xE0c5e721b40D54f2aA09418B1237db9d88220C73", - "HyphenFacet": "0xF2c63815eBD0c4E048eF216C77E2c80aa4ecD59c", - "MultichainFacet": "0x02063A0d7a222c16D5b63213262596B83b07150c", - "NXTPFacet": "0x238502aDc8ca550723CBE78543c8B757599A21cC", - "StargateFacet": "0x7D1940fDfF0B37c137B105ce7967B3B86DB42648", - "PeripheryRegistryFacet": "0x69cb467EfD8044ac9eDB88F363309ab1cbFA0A15", - "ERC20Proxy": "0x5741A7FfE7c39Ca175546a54985fA79211290b51", - "AxelarExecutor": "0x8aD0B427864f072B9416dcD06B2f653895cFE03C", - "Executor": "0x2dfaDAB8266483beD9Fd9A292Ce56596a2D1378D", - "Receiver": "0x050e198E36A73a1e32F15C3afC58C4506d82f657", - "FeeCollector": "0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9", - "WormholeFacet": "0x52a29e1f32DEd47B6FfF036e95667125921faE50", - "ServiceFeeCollector": "0xf3552b98BB4234B47674700A99a0308D74B40F51", - "LIFuelFacet": "0x66861f292099cAF644F4A8b6091De49BEC5E8a15", - "AmarokFacet": "0x3F95b05a77FDC6D82162D86A72b156b55030627f", - "HopFacetPacked": "0xed662c027c985B73A732975E3B4CeadC97AAF145", - "CBridgeFacetPacked": "0xE7Bf43C55551B1036e796E7Fd3b125d1F9903e2E", - "LiFiDiamondImmutable": "0x9b11bc9FAc17c058CAB6286b0c785bE6a65492EF", - "RelayerCelerIMImmutable": "0x7b6d852f58C783BA3b1138C535ff57dDa4c826E0", - "CelerIMFacetImmutable": "0x0d26d248D4e80377f1d794AB88090e76B0903EDE", - "AllBridgeFacet": "0xC0c42d148241c5b5BB38e974d40Fc9087f7F9ecD", - "RelayerCelerIMMutable": "0x6a8b11bF29C0546991DEcD6E0Db8cC7Fda22bA97", - "CelerIMFacetMutable": "0xF70A1Ed85EcC454a562A4B69ee40CBc6a4eB0b64", - "OmniBridgeFacet": "0x3C826D17B47DB69E1a9C1e32E10768d3709f1b9A", - "RelayerCelerIM": "0x1C97BE47f6Da4d2e09B3A11B0A17C513dfD0e896", - "StandardizedCallFacet": "0x175E7799DA0CD40E641352EaB90D8e39e02a4Ca9", - "CalldataVerificationFacet": "0x7A5c119ec5dDbF9631cf40f6e5DB28f31d4332a0", - "LiFuelFeeCollector": "0xc02FFcdD914DbA646704439c6090BAbaD521d04C", - "ThorSwapFacet": "0x376f99f7EADE8A17f036fCff9eBA978E66e5fd28", - "AmarokFacetPacked": "0xF18A285f4e6f720Eb9b4e05df71f88b9552E6ADB", - "SymbiosisFacet": "0xe12b2488c71432F9a116E9ac244D3Ef4c2386d3a", - "TokenWrapper": "0x5215E9fd223BC909083fbdB2860213873046e45d", - "SquidFacet": "0x5C2C3F56e33F45389aa4e1DA4D3a807A532a910c", - "MayanFacet": "0x4682d79DD4D0e7555415841b5151933AF50594A8", - "GenericSwapFacetV3": "0x31a9b1835864706Af10103b31Ea2b79bdb995F5F", - "ReceiverStargateV2": "0x1493e7B8d4DfADe0a178dAD9335470337A3a219A", - "StargateFacetV2": "0x6e378C84e657C57b2a8d183CFf30ee5CC8989b61", - "LiFiDEXAggregator": "0x6140b987d6B51Fd75b66C3B07733Beb5167c42fc", - "EmergencyPauseFacet": "0x6F2baA7cd5F156CA1B132F7FF11E0fa2aD775F61", - "GasZipFacet": "0xF5c923a087fb3c554579e2DD10AB6E37E0f6F849", - "GasZipPeriphery": "0x9a21E33F1a78b17DAd32010CeDB9Fd2F071C17d3", - "Permit2Proxy": "0x6307119078556Fc8aD77781DFC67df20d75FB4f9", - "RelayFacet": "0x424BDbbaEda89732443fb1B737b6Dc194a6Ddbd5", - "DeBridgeDlnFacet": "0x18C85B940c29ECC3c210Ea40a5B6d91F5aeE2803" -} \ No newline at end of file diff --git a/script/deploy/_targetState.json b/script/deploy/_targetState.json index f7546bc2b..1d0ccaa35 100644 --- a/script/deploy/_targetState.json +++ b/script/deploy/_targetState.json @@ -230,248 +230,6 @@ } } }, - "bsca": { - "staging": { - "LiFiDiamond": { - "DiamondCutFacet": "1.0.0", - "DiamondLoupeFacet": "1.0.0", - "OwnershipFacet": "1.0.0", - "DexManagerFacet": "1.0.1", - "AccessManagerFacet": "1.0.0", - "WithdrawFacet": "1.0.0", - "PeripheryRegistryFacet": "1.0.0", - "GenericSwapFacet": "1.0.0", - "GenericSwapFacetV3": "1.0.1", - "LIFuelFacet": "1.0.1", - "CalldataVerificationFacet": "1.1.1", - "StandardizedCallFacet": "1.1.0", - "LiFiDiamond": "1.0.0", - "ERC20Proxy": "1.0.0", - "Executor": "2.0.0", - "FeeCollector": "1.0.0", - "Receiver": "2.0.2", - "LiFuelFeeCollector": "1.0.1", - "TokenWrapper": "1.0.0", - "LiFiDEXAggregator": "1.0.0", - "AllBridgeFacet": "2.0.0", - "AmarokFacet": "3.0.0", - "AmarokFacetPacked": "1.0.0", - "CBridgeFacet": "1.0.0", - "CBridgeFacetPacked": "1.0.3", - "RelayerCelerIM": "2.0.0", - "CelerIMFacetMutable": "2.0.0", - "HyphenFacet": "1.0.0", - "MayanFacet": "1.0.0", - "SquidFacet": "1.0.0", - "StargateFacet": "2.2.0", - "StargateFacetV2": "1.0.1", - "ReceiverStargateV2": "1.0.0", - "SymbiosisFacet": "1.0.0", - "ThorSwapFacet": "1.2.0", - "GasZipPeriphery": "1.0.0" - }, - "LiFiDiamondImmutable": { - "DiamondCutFacet": "1.0.0", - "DiamondLoupeFacet": "1.0.0", - "OwnershipFacet": "1.0.0", - "DexManagerFacet": "1.0.1", - "AccessManagerFacet": "1.0.0", - "WithdrawFacet": "1.0.0", - "PeripheryRegistryFacet": "1.0.0", - "GenericSwapFacet": "1.0.0", - "GenericSwapFacetV3": "1.0.1", - "LIFuelFacet": "1.0.1", - "CalldataVerificationFacet": "1.1.1", - "StandardizedCallFacet": "1.1.0", - "LiFiDiamondImmutable": "1.0.0", - "ERC20Proxy": "1.0.0", - "Executor": "2.0.0", - "FeeCollector": "1.0.0", - "Receiver": "2.0.2", - "LiFuelFeeCollector": "1.0.1", - "TokenWrapper": "1.0.0", - "LiFiDEXAggregator": "1.0.0", - "AllBridgeFacet": "2.0.0", - "AmarokFacet": "3.0.0", - "AmarokFacetPacked": "1.0.0", - "CBridgeFacet": "1.0.0", - "CBridgeFacetPacked": "1.0.3", - "RelayerCelerIM": "2.0.0", - "CelerIMFacetImmutable": "2.0.0", - "HyphenFacet": "1.0.0", - "MayanFacet": "1.0.0", - "SquidFacet": "1.0.0", - "StargateFacet": "2.2.0", - "StargateFacetV2": "1.0.1", - "ReceiverStargateV2": "1.0.0", - "SymbiosisFacet": "1.0.0", - "ThorSwapFacet": "1.2.0" - } - }, - "production": { - "LiFiDiamond": { - "DiamondCutFacet": "1.0.0", - "DiamondLoupeFacet": "1.0.0", - "OwnershipFacet": "1.0.0", - "DexManagerFacet": "1.0.1", - "AccessManagerFacet": "1.0.0", - "WithdrawFacet": "1.0.0", - "PeripheryRegistryFacet": "1.0.0", - "GenericSwapFacet": "1.0.0", - "GenericSwapFacetV3": "1.0.1", - "LIFuelFacet": "1.0.1", - "CalldataVerificationFacet": "1.1.2", - "StandardizedCallFacet": "1.1.0", - "EmergencyPauseFacet": "1.0.1", - "LiFiDiamond": "1.0.0", - "ERC20Proxy": "1.0.0", - "Executor": "2.0.0", - "FeeCollector": "1.0.0", - "Receiver": "2.0.2", - "LiFuelFeeCollector": "1.0.1", - "TokenWrapper": "1.0.0", - "LiFiDEXAggregator": "1.0.0", - "Permit2Proxy": "1.0.0", - "GasZipPeriphery": "1.0.1", - "AllBridgeFacet": "2.0.0", - "AmarokFacet": "3.0.0", - "AmarokFacetPacked": "1.0.0", - "CBridgeFacet": "1.0.0", - "CBridgeFacetPacked": "1.0.3", - "RelayerCelerIM": "2.0.0", - "CelerIMFacetMutable": "2.0.0", - "GasZipFacet": "2.0.2", - "MayanFacet": "1.0.0", - "SquidFacet": "1.0.0", - "StargateFacet": "2.2.0", - "StargateFacetV2": "1.0.1", - "ReceiverStargateV2": "1.0.0", - "SymbiosisFacet": "1.0.0", - "ThorSwapFacet": "1.2.0" - } - } - }, - "bscb": { - "staging": { - "LiFiDiamond": { - "DiamondCutFacet": "1.0.0", - "DiamondLoupeFacet": "1.0.0", - "OwnershipFacet": "1.0.0", - "DexManagerFacet": "1.0.1", - "AccessManagerFacet": "1.0.0", - "WithdrawFacet": "1.0.0", - "PeripheryRegistryFacet": "1.0.0", - "GenericSwapFacet": "1.0.0", - "GenericSwapFacetV3": "1.0.1", - "LIFuelFacet": "1.0.1", - "CalldataVerificationFacet": "1.1.1", - "StandardizedCallFacet": "1.1.0", - "LiFiDiamond": "1.0.0", - "ERC20Proxy": "1.0.0", - "Executor": "2.0.0", - "FeeCollector": "1.0.0", - "Receiver": "2.0.2", - "LiFuelFeeCollector": "1.0.1", - "TokenWrapper": "1.0.0", - "LiFiDEXAggregator": "1.0.0", - "AllBridgeFacet": "2.0.0", - "AmarokFacet": "3.0.0", - "AmarokFacetPacked": "1.0.0", - "CBridgeFacet": "1.0.0", - "CBridgeFacetPacked": "1.0.3", - "RelayerCelerIM": "2.0.0", - "CelerIMFacetMutable": "2.0.0", - "HyphenFacet": "1.0.0", - "MayanFacet": "1.0.0", - "SquidFacet": "1.0.0", - "StargateFacet": "2.2.0", - "StargateFacetV2": "1.0.1", - "ReceiverStargateV2": "1.0.0", - "SymbiosisFacet": "1.0.0", - "ThorSwapFacet": "1.2.0", - "GasZipPeriphery": "1.0.0" - }, - "LiFiDiamondImmutable": { - "DiamondCutFacet": "1.0.0", - "DiamondLoupeFacet": "1.0.0", - "OwnershipFacet": "1.0.0", - "DexManagerFacet": "1.0.1", - "AccessManagerFacet": "1.0.0", - "WithdrawFacet": "1.0.0", - "PeripheryRegistryFacet": "1.0.0", - "GenericSwapFacet": "1.0.0", - "GenericSwapFacetV3": "1.0.1", - "LIFuelFacet": "1.0.1", - "CalldataVerificationFacet": "1.1.1", - "StandardizedCallFacet": "1.1.0", - "LiFiDiamondImmutable": "1.0.0", - "ERC20Proxy": "1.0.0", - "Executor": "2.0.0", - "FeeCollector": "1.0.0", - "Receiver": "2.0.2", - "LiFuelFeeCollector": "1.0.1", - "TokenWrapper": "1.0.0", - "LiFiDEXAggregator": "1.0.0", - "AllBridgeFacet": "2.0.0", - "AmarokFacet": "3.0.0", - "AmarokFacetPacked": "1.0.0", - "CBridgeFacet": "1.0.0", - "CBridgeFacetPacked": "1.0.3", - "RelayerCelerIM": "2.0.0", - "CelerIMFacetImmutable": "2.0.0", - "HyphenFacet": "1.0.0", - "MayanFacet": "1.0.0", - "SquidFacet": "1.0.0", - "StargateFacet": "2.2.0", - "StargateFacetV2": "1.0.1", - "ReceiverStargateV2": "1.0.0", - "SymbiosisFacet": "1.0.0", - "ThorSwapFacet": "1.2.0" - } - }, - "production": { - "LiFiDiamond": { - "DiamondCutFacet": "1.0.0", - "DiamondLoupeFacet": "1.0.0", - "OwnershipFacet": "1.0.0", - "DexManagerFacet": "1.0.1", - "AccessManagerFacet": "1.0.0", - "WithdrawFacet": "1.0.0", - "PeripheryRegistryFacet": "1.0.0", - "GenericSwapFacet": "1.0.0", - "GenericSwapFacetV3": "1.0.1", - "LIFuelFacet": "1.0.1", - "CalldataVerificationFacet": "1.1.2", - "StandardizedCallFacet": "1.1.0", - "EmergencyPauseFacet": "1.0.1", - "LiFiDiamond": "1.0.0", - "ERC20Proxy": "1.0.0", - "Executor": "2.0.0", - "FeeCollector": "1.0.0", - "Receiver": "2.0.2", - "LiFuelFeeCollector": "1.0.1", - "TokenWrapper": "1.0.0", - "LiFiDEXAggregator": "1.0.0", - "Permit2Proxy": "1.0.0", - "GasZipPeriphery": "1.0.1", - "AllBridgeFacet": "2.0.0", - "AmarokFacet": "3.0.0", - "AmarokFacetPacked": "1.0.0", - "CBridgeFacet": "1.0.0", - "CBridgeFacetPacked": "1.0.3", - "RelayerCelerIM": "2.0.0", - "CelerIMFacetMutable": "2.0.0", - "GasZipFacet": "2.0.2", - "MayanFacet": "1.0.0", - "SquidFacet": "1.0.0", - "StargateFacet": "2.2.0", - "StargateFacetV2": "1.0.1", - "ReceiverStargateV2": "1.0.0", - "SymbiosisFacet": "1.0.0", - "ThorSwapFacet": "1.2.0" - } - } - }, "gnosis": { "production": { "LiFiDiamond": { From 522c3ec45c51384d550213aa778bd3ebf42617f4 Mon Sep 17 00:00:00 2001 From: Michal Mironczuk Date: Wed, 12 Feb 2025 10:43:18 +0100 Subject: [PATCH 12/12] fix --- script/deploy/healthCheck.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/deploy/healthCheck.ts b/script/deploy/healthCheck.ts index a26ac59da..472e5933a 100644 --- a/script/deploy/healthCheck.ts +++ b/script/deploy/healthCheck.ts @@ -611,7 +611,7 @@ const checkIsDeployed = async ( const finish = () => { if (errors.length) { consola.error(`${errors.length} Errors found in deployment`) - process.exit(0) + process.exit(1) } else { consola.success('Deployment checks passed') process.exit(0)