-
Notifications
You must be signed in to change notification settings - Fork 880
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
Fix consensus vulnerability regarding excessively large 1559 fee fields #2338
Conversation
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
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.
Do we need to update MainnetBlockBodyValidator.validateTransactionGasPrice
also for blocks that are imported or synced ? TransactionDecoder should handle case 1 & 2, I presume case 4 is handled by actually executing the transaction, but I don't see a code path that checks for # 3 for imported blocks.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/encoding/TransactionDecoder.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
...um/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionValidator.java
Show resolved
Hide resolved
Ah nvm, it looks like we call validateTransaction in processBlock -> processTransaction |
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, 🚢
…ds (hyperledger#2338) based on: ethereum/pm#321 (comment) Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
…ds (hyperledger#2338) based on: ethereum/pm#321 (comment) Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
PR description
ethereum/pm#321 (comment)
Changelog