diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d6114b..8557d1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,18 @@ name: "CI" env: API_KEY_ALCHEMY: ${{ secrets.API_KEY_ALCHEMY }} + API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} + ARBITRUM_RPC: "https://arb-mainnet.g.alchemy.com/v2/${{ secrets.API_KEY_ALCHEMY }}" + AVALANCHE_RPC: "https://avalanche-mainnet.infura.io/v3/${{ secrets.API_KEY_INFURA }}" + BASE_RPC: "https://base.drpc.org" + BNB_RPC: "https://bsc-dataseed.binance.org" + GNOSIS_RPC: "https://rpc.gnosischain.com" + GOERLI_RPC: "https://goerli.infura.io/v3/${{ secrets.API_KEY_INFURA }}" + LOCALHOST_RPC: "http://127.0.0.1:8545" + MAINNET_RPC: "https://eth-mainnet.g.alchemy.com/v2/${{ secrets.API_KEY_ALCHEMY }}" + OPTIMISM_RPC: "https://optimism-mainnet.infura.io/v3/${{ secrets.API_KEY_INFURA }}" + POLYGON_RPC: "https://polygon-mainnet.infura.io/v3/${{ secrets.API_KEY_INFURA }}" + SEPOLIA_RPC: "https://sepolia.infura.io/v3/${{ secrets.API_KEY_INFURA }}" FOUNDRY_PROFILE: "ci" on: diff --git a/foundry.toml b/foundry.toml index 8e2aa99..a61f981 100644 --- a/foundry.toml +++ b/foundry.toml @@ -43,14 +43,15 @@ wrap_comments = true [rpc_endpoints] - arbitrum_one = "https://arbitrum.llamarpc.com" - 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 = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}" - optimism = "https://optimism-mainnet.infura.io/v3/${API_KEY_INFURA}" - polygon = "https://polygon.llamarpc.com" - sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}" - base = "https://base.llamarpc.com" + arbitrum_one = "${ARBITRUM_RPC}" + avalanche = "${AVALANCHE_RPC}" + base = "${BASE_RPC}" + bnb_smart_chain = "${BNB_RPC}" + gnosis = "${GNOSIS_RPC}" + goerli = "${GOERLI_RPC}" + localhost = "http://127.0.0.1:8545" + mainnet = "${MAINNET_RPC}" + optimism = "${OPTIMISM_RPC}" + polygon = "${POLYGON_RPC}" + sepolia = "${SEPOLIA_RPC}" +