Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use new default testnet eth rpc url #638

Merged
merged 1 commit into from
Jan 7, 2025
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
4 changes: 2 additions & 2 deletions one/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ impl Network {
anyhow::bail!("no Ethereum RPC URLs specified for Mainnet")
}
Network::TestnetClay => {
info!("no Ethereum RPC URLs specified for Clay Testnet, defaulting to https://gnosis-rpc.publicnode.com");
Ok(vec!["https://gnosis-rpc.publicnode.com".to_string()])
info!("no Ethereum RPC URLs specified for Clay Testnet, defaulting to https://rpc.ankr.com/gnosis");
Ok(vec!["https://rpc.ankr.com/gnosis".to_string()])
}
Network::DevUnstable => {
info!("no Ethereum RPC URLs specified for dev-unstable network, defaulting to https://ethereum-sepolia-rpc.publicnode.com");
Expand Down
2 changes: 1 addition & 1 deletion validation/src/blockchain/eth_rpc/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static BLOCK_THRESHHOLDS: Lazy<HashMap<caip2::ChainId, u64>> = Lazy::new(|| {
])
});

const TRANSACTION_CACHE_SIZE: usize = 50;
const TRANSACTION_CACHE_SIZE: usize = 1_000;
const BLOCK_CACHE_SIZE: usize = 50;

type Result<T> = std::result::Result<T, Error>;
Expand Down
Loading