@@ -1156,7 +1156,7 @@ async fn test_arbitrum_fork_dev_balance() {
11561156 let ( api, handle) = spawn (
11571157 fork_config ( )
11581158 . with_fork_block_number ( None :: < u64 > )
1159- . with_eth_rpc_url ( Some ( "https://arb1.arbitrum.io/rpc" . to_string ( ) ) ) ,
1159+ . with_eth_rpc_url ( Some ( next_rpc_endpoint ( NamedChain :: Arbitrum ) ) ) ,
11601160 )
11611161 . await ;
11621162
@@ -1174,7 +1174,7 @@ async fn test_arbitrum_fork_block_number() {
11741174 let ( _, handle) = spawn (
11751175 fork_config ( )
11761176 . with_fork_block_number ( None :: < u64 > )
1177- . with_eth_rpc_url ( Some ( "https://arb1.arbitrum.io/rpc" . to_string ( ) ) ) ,
1177+ . with_eth_rpc_url ( Some ( next_rpc_endpoint ( NamedChain :: Arbitrum ) ) ) ,
11781178 )
11791179 . await ;
11801180 let provider = handle. http_provider ( ) ;
@@ -1186,7 +1186,7 @@ async fn test_arbitrum_fork_block_number() {
11861186 let ( api, _) = spawn (
11871187 fork_config ( )
11881188 . with_fork_block_number ( Some ( initial_block_number) )
1189- . with_eth_rpc_url ( Some ( "https://arb1.arbitrum.io/rpc" . to_string ( ) ) ) ,
1189+ . with_eth_rpc_url ( Some ( next_rpc_endpoint ( NamedChain :: Arbitrum ) ) ) ,
11901190 )
11911191 . await ;
11921192 let block_number = api. block_number ( ) . unwrap ( ) . to :: < u64 > ( ) ;
@@ -1212,7 +1212,7 @@ async fn test_arbitrum_fork_block_number() {
12121212
12131213 // reset fork to different block number and compare with block returned by `eth_blockNumber`
12141214 api. anvil_reset ( Some ( Forking {
1215- json_rpc_url : Some ( "https://arb1.arbitrum.io/rpc" . to_string ( ) ) ,
1215+ json_rpc_url : Some ( next_rpc_endpoint ( NamedChain :: Arbitrum ) ) ,
12161216 block_number : Some ( initial_block_number - 2 ) ,
12171217 } ) )
12181218 . await
0 commit comments