File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
crates/account-abstraction-core/src Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11use crate :: domain:: types:: { UserOpHash , WrappedUserOperation } ;
22use std:: sync:: Arc ;
3-
4- #[ derive( Default ) ]
3+ use std :: fmt :: Debug ;
4+ #[ derive( Default , Debug ) ]
55pub struct PoolConfig {
66 pub minimum_max_fee_per_gas : u128 ,
77}
88
9- pub trait Mempool : Send + Sync {
9+ pub trait Mempool : Send + Sync + Debug {
1010 fn add_operation ( & mut self , operation : & WrappedUserOperation ) -> Result < ( ) , anyhow:: Error > ;
1111
1212 fn get_top_operations ( & self , n : usize ) -> Vec < Arc < WrappedUserOperation > > ;
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ impl Ord for ByNonce {
8282 }
8383}
8484
85+ #[ derive( Debug ) ]
8586pub struct InMemoryMempool {
8687 config : PoolConfig ,
8788 best : BTreeSet < ByMaxFeeAndSubmissionId > ,
You can’t perform that action at this time.
0 commit comments