Rename the retry layer

This commit is contained in:
Omar Abdulla
2026-01-13 22:14:59 +03:00
parent 2568f7f828
commit 0ad80b981f
2 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ use alloy::{
};
use anyhow::{Context, Result};
use crate::provider_utils::{ConcurrencyLimiterLayer, FallbackGasFiller, ReceiptRetryLayer};
use crate::provider_utils::{ConcurrencyLimiterLayer, FallbackGasFiller, RetryLayer};
pub type ConcreteProvider<N, W> = FillProvider<
JoinFill<
@@ -46,7 +46,7 @@ where
let client = ClientBuilder::default()
.layer(GLOBAL_CONCURRENCY_LIMITER_LAYER.clone())
.layer(ReceiptRetryLayer::default())
.layer(RetryLayer::default())
.connect(rpc_url)
.await
.context("Failed to construct the RPC client")?;