-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sanitise eth68 announcement #6222
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mixes rlp and validation.
this is a lot of added complexity based on size assumptions.
what's the benefit this gives us?
perhaps this would be more appropriate as a configurable setting inside the Transactionmanager/fetcher? |
f8fa2d3
to
ca622e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is very easy to follow.
now we need some good thresholds
Co-authored-by: Matthias Seitz <[email protected]>
…igmxyz/reth into emhane/sanitise-eth68-announcement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only a few remaining nits
Co-authored-by: Matthias Seitz <[email protected]>
Co-authored-by: Matthias Seitz <[email protected]>
…igmxyz/reth into emhane/sanitise-eth68-announcement
…igmxyz/reth into emhane/sanitise-eth68-announcement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this trait a lot!
last nit re upper bound, then send it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pending @Rjected an suggestion for removing entries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending the nitpick comments I left, I like the validation trait!
Co-authored-by: Dan Cline <[email protected]>
…igmxyz/reth into emhane/sanitise-eth68-announcement
adds validation checks in tx fetcher for
NewPooledTransactions68
TxType
MAX_TX_SIZE