Skip to content

Commit

Permalink
chore: replace infura keys (foundry-rs#4781)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Apr 21, 2023
1 parent e99cf83 commit 23cb9bf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/live-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: goerli live tests
runs-on: ubuntu-latest
env:
GOERLI_RPC_URL: https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161
GOERLI_RPC_URL: https://goerli.infura.io/v3/40bee2d557ed4b52908c3e62345a3d8b
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion evm/src/executor/fork/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ mod tests {
use foundry_common::get_http_provider;
use foundry_config::Config;
use std::{collections::BTreeSet, path::PathBuf, sync::Arc};
const ENDPOINT: &str = "https://mainnet.infura.io/v3/c60b0bb42f8a4c6481ecd229eddaca27";
const ENDPOINT: &str = "https://mainnet.infura.io/v3/40bee2d557ed4b52908c3e62345a3d8b";

#[test]
fn shared_backend() {
Expand Down
2 changes: 1 addition & 1 deletion testdata/repros/Issue2956.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract Issue2956Test is DSTest {
uint256 fork2;

function setUp() public {
fork1 = vm.createFork("https://goerli.infura.io/v3/f4a0bdad42674adab5fc0ac077ffab2b", 7475589);
fork1 = vm.createFork("https://goerli.infura.io/v3/b9794ad1ddf84dfb8c34d6bb5dca2001", 7475589);
fork2 = vm.createFork("https://api.avax-test.network/ext/bc/C/rpc", 12880747);
}

Expand Down
2 changes: 1 addition & 1 deletion testdata/repros/Issue3221.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract Issue3221Test is DSTest {
uint256 fork2;

function setUp() public {
fork1 = vm.createFork("https://goerli.infura.io/v3/16a8be88795540b9b3903d8de0f7baa5", 7475589);
fork1 = vm.createFork("https://goerli.infura.io/v3/b1d3925804e74152b316ca7da97060d3", 7475589);
fork2 = vm.createFork("https://api.avax-test.network/ext/bc/C/rpc", 12880747);
}

Expand Down
2 changes: 1 addition & 1 deletion testdata/repros/Issue3223.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contract Issue3223Test is DSTest {
uint256 fork2;

function setUp() public {
fork1 = vm.createFork("https://goerli.infura.io/v3/f4a0bdad42674adab5fc0ac077ffab2b", 7475589);
fork1 = vm.createFork("https://goerli.infura.io/v3/b9794ad1ddf84dfb8c34d6bb5dca2001", 7475589);
fork2 = vm.createFork("https://api.avax-test.network/ext/bc/C/rpc", 12880747);
}

Expand Down
2 changes: 1 addition & 1 deletion testdata/repros/Issue3674.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract Issue3674Test is DSTest {
Cheats constant vm = Cheats(HEVM_ADDRESS);

function testNonceCreateSelect() public {
vm.createSelectFork("https://goerli.infura.io/v3/f4a0bdad42674adab5fc0ac077ffab2b");
vm.createSelectFork("https://goerli.infura.io/v3/b9794ad1ddf84dfb8c34d6bb5dca2001");

vm.createSelectFork("https://api.avax-test.network/ext/bc/C/rpc");
assert(vm.getNonce(msg.sender) > 0x17);
Expand Down

0 comments on commit 23cb9bf

Please sign in to comment.