Skip to content

Commit 1349b77

Browse files
zerosnacksgrandizzy
authored andcommitted
ci: use Optimism mainnet instead of DRPC due to limits (foundry-rs#10592)
use Optimism mainnet instead of DRPC due to limits
1 parent 7e8fae3 commit 1349b77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/test-utils/src/rpc.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ fn next_url(is_ws: bool, chain: NamedChain) -> String {
147147
return "https://mainnet.base.org".to_string();
148148
}
149149

150+
if matches!(chain, Optimism) {
151+
return "https://mainnet.optimism.io".to_string();
152+
}
153+
150154
if matches!(chain, BinanceSmartChainTestnet) {
151155
return "https://bsc-testnet-rpc.publicnode.com".to_string();
152156
}
@@ -166,7 +170,6 @@ fn next_url(is_ws: bool, chain: NamedChain) -> String {
166170
let key = DRPC_KEYS[idx];
167171

168172
let network = match chain {
169-
Optimism => "optimism",
170173
Arbitrum => "arbitrum",
171174
Polygon => "polygon",
172175
Sepolia => "sepolia",

0 commit comments

Comments
 (0)