We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb2125 commit 9663a39Copy full SHA for 9663a39
crates/test-utils/src/rpc.rs
@@ -147,6 +147,10 @@ fn next_url(is_ws: bool, chain: NamedChain) -> String {
147
return "https://mainnet.base.org".to_string();
148
}
149
150
+ if matches!(chain, Optimism) {
151
+ return "https://mainnet.optimism.io".to_string();
152
+ }
153
+
154
if matches!(chain, BinanceSmartChainTestnet) {
155
return "https://bsc-testnet-rpc.publicnode.com".to_string();
156
@@ -166,7 +170,6 @@ fn next_url(is_ws: bool, chain: NamedChain) -> String {
166
170
let key = DRPC_KEYS[idx];
167
171
168
172
let network = match chain {
169
- Optimism => "optimism",
173
Arbitrum => "arbitrum",
174
Polygon => "polygon",
175
Sepolia => "sepolia",
0 commit comments