Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: remove etherscan api keys #258

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 FOUNDRY_PROFILE="lite"
export MNEMONIC="YOUR_MNEMONIC"
export RPC_URL_MAINNET="YOUR_RPC_URL_MAINNET"
7 changes: 0 additions & 7 deletions .github/workflows/create-merkle-streamer-ll.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Create Merkle Streamer LockupLinear"

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 }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-batch.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Batch"

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 }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-merkle-streamer-factory.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Merkle Streamer Factory"

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 }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-periphery.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Periphery"

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 }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/deploy-protocol.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: "Deploy Protocol"

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_OPTIMIZER_RUNS: "1000" # needed to compile V2 Core
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 @@ -41,16 +41,6 @@
out = "docs"
repository = "https://github.com/sablier-labs/v2-periphery"

[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
Loading