Add txpool function to find the next free nonce
Closed this issue · 3 comments
mattsse commented
Describe the feature
we need a function that given an on chain nonce it should return the next missing nonce by an address
this is similar to
reth/crates/transaction-pool/src/traits.rs
Lines 353 to 357 in 0b63972
but should also accept a nonce and return the highest transaction without a nonce gap
Additional context
No response
kien6034 commented
i would like to work on this
onbjerg commented
Thanks! I've assigned you to the issue. If you feel stuck, open up a draft PR with your questions and someone will help you. If you are prevented from solving the issue, let me know and I will unassign you 😄
kien6034 commented
thank you