-
Notifications
You must be signed in to change notification settings - Fork 594
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Component
provider, pubsub
Describe the feature you would like
Currently, Eip1559Estimator cannot be cloned due to the Custom variant containing a Box trait object. This limits its usability in contexts where cloning is needed (e.g., sharing estimators across multiple providers or storing them in structures that require Clone).
pub enum Eip1559Estimator {
#[default]
Default,
Custom(Box<dyn Eip1559EstimatorFn>),
}The trait object Box cannot be cloned.
Perhaps something like this approach could work
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo