Skip to content

Commit

Permalink
fix: Make RecommendedFillers generic over Network (alloy-rs#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc authored Oct 13, 2024
1 parent ee4d51f commit a64e3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/provider/src/fillers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ where
}

/// A trait which may be used to configure default fillers for [Network] implementations.
pub trait RecommendedFillers {
pub trait RecommendedFillers<N: Network = Ethereum> {
/// Recommended fillers for this network.
type RecomendedFillers: TxFiller;
type RecomendedFillers: TxFiller<N>;

/// Returns the recommended filler for this provider.
fn recommended_fillers() -> Self::RecomendedFillers;
Expand Down

0 comments on commit a64e3ac

Please sign in to comment.