From 3af0d9aa64b689877924582beb71ca88e8325fbf Mon Sep 17 00:00:00 2001 From: andreivladbrg Date: Sat, 30 Nov 2024 18:01:24 +0200 Subject: [PATCH] build: keep only one etherscan apy key in foundry.toml chore: remove no longer needed .env.deployment.example file --- .env.deployment.example | 25 ------------------------- foundry.toml | 17 +---------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 .env.deployment.example diff --git a/.env.deployment.example b/.env.deployment.example deleted file mode 100644 index b90a36a77..000000000 --- a/.env.deployment.example +++ /dev/null @@ -1,25 +0,0 @@ -# Used by the multi-chain deployment script - -# General -export MNEMONIC="YOUR_MNEMONIC" - -# RPC URLs -export ARBITRUM_RPC_URL="YOUR_RPC_URL" -export AVALANCHE_RPC_URL="YOUR_RPC_URL" -export MAINNET_RPC_URL="YOUR_RPC_URL" -export OPTIMISM_RPC_URL="YOUR_RPC_URL" -export POLYGON_RPC_URL="YOUR_RPC_URL" -export SEPOLIA_RPC_URL="YOUR_RPC_URL" - -# Etherscan API keys -export ARBISCAN_API_KEY="YOUR_API_KEY" -export BASESCAN_API_KEY="YOUR_API_KEY" -export BSCSCAN_API_KEY="YOUR_API_KEY" -export ETHERSCAN_API_KEY="YOUR_API_KEY" -export GNOSISSCAN_API_KEY="YOUR_API_KEY" -export LINEASCAN_API_KEY="YOUR_API_KEY" -export OPTIMISTIC_API_KEY="YOUR_API_KEY" -export POLYGONSCAN_API_KEY="YOUR_API_KEY" -export SCROLLSCAN_API_KEY="YOUR_API_KEY" -export SNOWTRACE_API_KEY="YOUR_API_KEY" - diff --git a/foundry.toml b/foundry.toml index 5f9db6f30..f66d68801 100644 --- a/foundry.toml +++ b/foundry.toml @@ -89,22 +89,7 @@ repository = "https://github.com/sablier-labs/lockup" [etherscan] - arbitrum = { key = "${ARBISCAN_API_KEY}" } - arbitrum_sepolia = { key = "${ARBISCAN_API_KEY}" } - avalanche = { key = "${SNOWTRACE_API_KEY}" } - base = { key = "${BASESCAN_API_KEY}" } - base_sepolia = { key = "${BASESCAN_API_KEY}" } - bnb = { key = "${BSCSCAN_API_KEY}" } - gnosis = { key = "${GNOSISSCAN_API_KEY}" } - linea = { key = "${LINEASCAN_API_KEY}" } - linea_sepolia = { key = "${LINEASCAN_API_KEY}" } - mainnet = { key = "${ETHERSCAN_API_KEY}" } - optimism = { key = "${OPTIMISTIC_API_KEY}" } - optimism_sepolia = { key = "${OPTIMISTIC_API_KEY}" } - polygon = { key = "${POLYGONSCAN_API_KEY}" } - scroll = { key = "${SCROLLSCAN_API_KEY}" } - sepolia = { key = "${SEPOLIASCAN_KEY}" } - taiko_mainnet = { key = "${TAIKO_MAINNET_API_KEY}" } + etherscan = { key = "${ETHERSCAN_API_KEY}" } [fmt] bracket_spacing = true