feat: Add Latest State TransactionValidator implementation#1498
Conversation
|
@mattsse |
mattsse
left a comment
There was a problem hiding this comment.
forgot about the error.
let's change the function so it returns a result instead.
…dd_Latest_State_TransactionValidator_implementation
|
@chirag-bgh this will be a blocker shortly, do you have bandwidth to get this over the line? |
…nValidator_implementation
I will get this done asap. |
|
@mattsse reth/crates/primitives/src/transaction/mod.rs Lines 168 to 175 in a553c1d But I'm not able to figure out how this should be done. |
|
right, we'd need to extend the PoolTransaction trait with
this is an option because it is optional for legacy tx |
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #1498 +/- ##
==========================================
- Coverage 74.48% 74.27% -0.22%
==========================================
Files 377 377
Lines 45197 45302 +105
==========================================
- Hits 33667 33649 -18
- Misses 11530 11653 +123
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
mattsse
left a comment
There was a problem hiding this comment.
thanks for this.
left a few comments,questions and suggestions.
this looks pretty good, just need to get all checks right.
we should have a closer look at how geth handles some of the checks as well.
…nValidator_implementation
…on' of https://github.com/chirag-bgh/reth into feat/Add_Latest_State_TransactionValidator_implementation
mattsse
left a comment
There was a problem hiding this comment.
great progress,
I think we're almost there.
mostly nits.
the Arc change seems redundant?
mattsse
left a comment
There was a problem hiding this comment.
please don't mark requests as resolved without addressing them if no changes are made.
last change requests I think.
Sorry, I marked them as resolved because I made the changes on my local and didn't pushed so that I could keep track of unresolved comments. Will do it now. |
mattsse
left a comment
There was a problem hiding this comment.
merging to unblock, this PR has been going on for a bit too long.
Closes #1289