You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the MockEthProvider fixes T to TransactionSigned making it unusable with OpSignedTransaction.
This could be generic over T:
#[derive(Debug,Clone)]pubstructMockEthProvider<T = TransactionSigned>{/// Local block storepubblocks:Arc<Mutex<HashMap<B256,Block<T>>>>,/// Local header storepubheaders:Arc<Mutex<HashMap<B256,Header>>>,/// Local account storepubaccounts:Arc<Mutex<HashMap<Address,ExtendedAccount>>>,/// Local chain specpubchain_spec:Arc<ChainSpec>,/// Local state rootspubstate_roots:Arc<Mutex<Vec<B256>>>,}
This would make the MockEthProvider more extensible to testing in an op-reth stack.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the feature
Right now the MockEthProvider fixes
T
toTransactionSigned
making it unusable withOpSignedTransaction
.This could be generic over
T
:This would make the
MockEthProvider
more extensible to testing in anop-reth
stack.Additional context
No response
The text was updated successfully, but these errors were encountered: