From e6fa02d1f9dfa9b511bb9c84a984a91aa89eed62 Mon Sep 17 00:00:00 2001 From: Andrei Vlad Birgaoanu <99738872+andreivladbrg@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:15:53 +0300 Subject: [PATCH] build: remove goerli support (#720) * build: remove goerli support ci: use sepolia for default chain in deployment workflows * docs: mention Sepolia instead of Goerli --------- Co-authored-by: Paul Razvan Berg --- .github/workflows/deploy-comptroller.yml | 2 +- .github/workflows/deploy-core.yml | 2 +- .github/workflows/deploy-lockup-dynamic.yml | 2 +- .github/workflows/deploy-lockup-linear.yml | 2 +- .github/workflows/deploy-nft-descriptor.yml | 2 +- SECURITY.md | 2 +- foundry.toml | 2 -- 7 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-comptroller.yml b/.github/workflows/deploy-comptroller.yml index fd391ea5d..03eff8a05 100644 --- a/.github/workflows/deploy-comptroller.yml +++ b/.github/workflows/deploy-comptroller.yml @@ -20,7 +20,7 @@ on: description: "Initial contract admin." required: false chain: - default: "goerli" + default: "sepolia" description: "Chain name as defined in the Foundry config." required: false diff --git a/.github/workflows/deploy-core.yml b/.github/workflows/deploy-core.yml index 905257159..24159ddd5 100644 --- a/.github/workflows/deploy-core.yml +++ b/.github/workflows/deploy-core.yml @@ -20,7 +20,7 @@ on: description: "Initial protocol admin." required: false chain: - default: "goerli" + default: "sepolia" description: "Chain name as defined in the Foundry config." required: false max-segment-count: diff --git a/.github/workflows/deploy-lockup-dynamic.yml b/.github/workflows/deploy-lockup-dynamic.yml index d90cbc431..f2d7c72a5 100644 --- a/.github/workflows/deploy-lockup-dynamic.yml +++ b/.github/workflows/deploy-lockup-dynamic.yml @@ -20,7 +20,7 @@ on: description: "Initial contract admin." required: false chain: - default: "goerli" + default: "sepolia" description: "Chain name as defined in the Foundry config." required: false comptroller: diff --git a/.github/workflows/deploy-lockup-linear.yml b/.github/workflows/deploy-lockup-linear.yml index 6ddcb368e..9d51e5855 100644 --- a/.github/workflows/deploy-lockup-linear.yml +++ b/.github/workflows/deploy-lockup-linear.yml @@ -20,7 +20,7 @@ on: description: "Initial contract admin." required: false chain: - default: "goerli" + default: "sepolia" description: "Chain name as defined in the Foundry config." required: false comptroller: diff --git a/.github/workflows/deploy-nft-descriptor.yml b/.github/workflows/deploy-nft-descriptor.yml index 6f76bd1be..ef5ee19f4 100644 --- a/.github/workflows/deploy-nft-descriptor.yml +++ b/.github/workflows/deploy-nft-descriptor.yml @@ -16,7 +16,7 @@ on: workflow_dispatch: inputs: chain: - default: "goerli" + default: "sepolia" description: "Chain name as defined in the Foundry config." required: false diff --git a/SECURITY.md b/SECURITY.md index 22319f6eb..cd19a4eff 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -24,7 +24,7 @@ The Program does NOT cover the following: - Code located in the [test](./test) or [script](./script) directories. - External code in the [lib](./lib) directory, except for code that is explicitly used by a deployed contract located in the [src](./src) directory. -- Contract deployments on test networks, such as Goerli. +- Contract deployments on test networks, such as Sepolia. - Bugs in third-party contracts or platforms interacting with Sablier V2 Core. - Previously reported or discovered vulnerabilities in contracts built by third parties on Sablier V2 Core. - Bugs that have already been reported. diff --git a/foundry.toml b/foundry.toml index 7f7a0d690..0e809433c 100644 --- a/foundry.toml +++ b/foundry.toml @@ -84,7 +84,6 @@ avalanche = { key = "${API_KEY_SNOWTRACE" } bnb_smart_chain = { key = "${API_KEY_BSCSCAN}" } gnosis_chain = { key = "${API_KEY_GNOSISSCAN}" } - goerli = { key = "${API_KEY_ETHERSCAN}" } mainnet = { key = "${API_KEY_ETHERSCAN}" } optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" } polygon = { key = "${API_KEY_POLYGONSCAN}" } @@ -105,7 +104,6 @@ avalanche = "https://avalanche-mainnet.infura.io/v3/${API_KEY_INFURA}" bnb_smart_chain = "https://bsc-dataseed.binance.org" gnosis_chain = "https://rpc.gnosischain.com" - goerli = "https://goerli.infura.io/v3/${API_KEY_INFURA}" localhost = "http://localhost:8545" mainnet = "${RPC_URL_MAINNET}" optimism = "https://optimism-mainnet.infura.io/v3/${API_KEY_INFURA}"