Skip to content
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
2 changes: 1 addition & 1 deletion crates/anvil/tests/it/fork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ async fn test_arbitrum_fork_dev_balance() {
// <https://github.com/foundry-rs/foundry/issues/9152>
#[tokio::test(flavor = "multi_thread")]
async fn test_arb_fork_mining() {
let fork_block_number = 266137031u64;
let fork_block_number = 394274860u64;
let fork_rpc = next_rpc_endpoint(NamedChain::Arbitrum);
let (api, _handle) = spawn(
fork_config()
Expand Down
3 changes: 2 additions & 1 deletion crates/test-utils/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ fn next_url_inner(is_ws: bool, chain: NamedChain) -> String {
if !rpc_url.is_empty() {
return rpc_url;
}
return "https://arb1.arbitrum.io/rpc".to_string();
return "https://arbitrum-one-rpc.publicnode.com".to_string();
}

let reth_works = true;
Expand All @@ -204,6 +204,7 @@ fn next_url_inner(is_ws: bool, chain: NamedChain) -> String {
let network = match chain {
Mainnet => "ethereum",
Polygon => "polygon",
Arbitrum => "arbitrum",
Sepolia => "sepolia",
_ => "",
};
Expand Down
6 changes: 3 additions & 3 deletions testdata/default/repros/Issue4640.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import "utils/Test.sol";
// https://github.com/foundry-rs/foundry/issues/4640
contract Issue4640Test is Test {
function testArbitrumBlockNumber() public {
// <https://arbiscan.io/block/75219831>
vm.createSelectFork("arbitrum", 75219831);
// <https://arbiscan.io/block/394276729>
vm.createSelectFork("arbitrum", 394276729);
// L1 block number
assertEq(block.number, 16939475);
assertEq(block.number, 23675778);
}
}
Loading