Skip to content

Commit 9663a39

Browse files
authored
ci: use Optimism mainnet instead of DRPC due to limits (#10592)
use Optimism mainnet instead of DRPC due to limits
1 parent 8cb2125 commit 9663a39

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)