Skip to content

Commit

Permalink
chore: remove etherscan API keys
Browse files Browse the repository at this point in the history
As realized in #748,
keeping the Etherscan API keys in version control is not worth the
maintainance cost.
  • Loading branch information
PaulRBerg committed Jan 9, 2024
1 parent a2fe652 commit d10b410
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 56 deletions.
7 changes: 0 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
export API_KEY_ARBISCAN="YOUR_API_KEY_ARBISCAN"
export API_KEY_BSCSCAN="YOUR_API_KEY_BSCSCAN"
export API_KEY_ETHERSCAN="YOUR_API_KEY_ETHERSCAN"
export API_KEY_GNOSISSCAN="YOUR_API_KEY_GNOSISSCAN"
export API_KEY_INFURA="YOUR_API_KEY_INFURA"
export API_KEY_OPTIMISTIC_ETHERSCAN="YOUR_API_KEY_OPTIMISTIC_ETHERSCAN"
export API_KEY_POLYGONSCAN="YOUR_API_KEY_POLYGONSCAN"
export API_KEY_SNOWTRACE="YOUR_API_KEY_SNOWTRACE"
export RPC_URL_MAINNET="YOUR_RPC_URL_MAINNET"
export FOUNDRY_PROFILE="lite"
export MNEMONIC="YOUR_MNEMONIC"
1 change: 0 additions & 1 deletion .github/workflows/ci-deep.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "CI Deep"

env:
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-slither.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "CI Slither"

env:
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ concurrency:
group: ${{github.workflow}}-${{github.ref}}

env:
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}

Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-comptroller.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Comptroller"

env:
API_KEY_ARBISCAN: ${{ secrets.API_KEY_ARBISCAN }}
API_KEY_BSCSCAN: ${{ secrets.API_KEY_BSCSCAN }}
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_GNOSISSCAN: ${{ secrets.API_KEY_GNOSISSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
API_KEY_OPTIMISTIC_ETHERSCAN: ${{ secrets.API_KEY_OPTIMISTIC_ETHERSCAN }}
API_KEY_POLYGONSCAN: ${{ secrets.API_KEY_POLYGONSCAN }}
API_KEY_SNOWTRACE: ${{ secrets.API_KEY_SNOWTRACE }}
FOUNDRY_PROFILE: "optimized"
MNEMONIC: ${{ secrets.MNEMONIC }}

Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-core.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Core"

env:
API_KEY_ARBISCAN: ${{ secrets.API_KEY_ARBISCAN }}
API_KEY_BSCSCAN: ${{ secrets.API_KEY_BSCSCAN }}
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_GNOSISSCAN: ${{ secrets.API_KEY_GNOSISSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
API_KEY_OPTIMISTIC_ETHERSCAN: ${{ secrets.API_KEY_OPTIMISTIC_ETHERSCAN }}
API_KEY_POLYGONSCAN: ${{ secrets.API_KEY_POLYGONSCAN }}
API_KEY_SNOWTRACE: ${{ secrets.API_KEY_SNOWTRACE }}
FOUNDRY_PROFILE: "optimized"
MNEMONIC: ${{ secrets.MNEMONIC }}

Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-lockup-dynamic.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Lockup Dynamic"

env:
API_KEY_ARBISCAN: ${{ secrets.API_KEY_ARBISCAN }}
API_KEY_BSCSCAN: ${{ secrets.API_KEY_BSCSCAN }}
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_GNOSISSCAN: ${{ secrets.API_KEY_GNOSISSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
API_KEY_OPTIMISTIC_ETHERSCAN: ${{ secrets.API_KEY_OPTIMISTIC_ETHERSCAN }}
API_KEY_POLYGONSCAN: ${{ secrets.API_KEY_POLYGONSCAN }}
API_KEY_SNOWTRACE: ${{ secrets.API_KEY_SNOWTRACE }}
FOUNDRY_PROFILE: "optimized"
MNEMONIC: ${{ secrets.MNEMONIC }}

Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-lockup-linear.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Lockup Linear"

env:
API_KEY_ARBISCAN: ${{ secrets.API_KEY_ARBISCAN }}
API_KEY_BSCSCAN: ${{ secrets.API_KEY_BSCSCAN }}
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_GNOSISSCAN: ${{ secrets.API_KEY_GNOSISSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
API_KEY_OPTIMISTIC_ETHERSCAN: ${{ secrets.API_KEY_OPTIMISTIC_ETHERSCAN }}
API_KEY_POLYGONSCAN: ${{ secrets.API_KEY_POLYGONSCAN }}
API_KEY_SNOWTRACE: ${{ secrets.API_KEY_SNOWTRACE }}
FOUNDRY_PROFILE: "optimized"
MNEMONIC: ${{ secrets.MNEMONIC }}

Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-nft-descriptor.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy NFT Descriptor"

env:
API_KEY_ARBISCAN: ${{ secrets.API_KEY_ARBISCAN }}
API_KEY_BSCSCAN: ${{ secrets.API_KEY_BSCSCAN }}
API_KEY_ETHERSCAN: ${{ secrets.API_KEY_ETHERSCAN }}
API_KEY_GNOSISSCAN: ${{ secrets.API_KEY_GNOSISSCAN }}
API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }}
API_KEY_OPTIMISTIC_ETHERSCAN: ${{ secrets.API_KEY_OPTIMISTIC_ETHERSCAN }}
API_KEY_POLYGONSCAN: ${{ secrets.API_KEY_POLYGONSCAN }}
API_KEY_SNOWTRACE: ${{ secrets.API_KEY_SNOWTRACE }}
FOUNDRY_PROFILE: "optimized"
MNEMONIC: ${{ secrets.MNEMONIC }}

Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ populate it with the appropriate environment values. You need to provide your mn
To make CI work in your pull request, ensure that the necessary environment variables are configured in your forked
repository's secrets. Please add the following variables in your GitHub Secrets:

- API_KEY_ETHERSCAN
- API_KEY_INFURA
- RPC_URL_MAINNET

Expand Down
10 changes: 0 additions & 10 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@
out = "docs"
repository = "https://github.com/sablier-labs/v2-core"

[etherscan]
arbitrum = { key = "${API_KEY_ARBISCAN}" }
avalanche = { key = "${API_KEY_SNOWTRACE" }
bnb_smart_chain = { key = "${API_KEY_BSCSCAN}" }
gnosis_chain = { key = "${API_KEY_GNOSISSCAN}" }
mainnet = { key = "${API_KEY_ETHERSCAN}" }
optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" }
polygon = { key = "${API_KEY_POLYGONSCAN}" }
sepolia = { key = "${API_KEY_ETHERSCAN}" }

[fmt]
bracket_spacing = true
int_types = "long"
Expand Down

0 comments on commit d10b410

Please sign in to comment.