-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TxPool: added check dynamic transactions gas fee (#13630)
Update `SendRawTransaction` method with additional check for transaction fee. * Introduced `checkDynamicTxFee` to validate the fee cap against the base fee for dynamic fee transactions. * Check dynamic fee for transactions with types: `types.BlobTxType`, `types.DynamicFeeTxType`, `types.SetCodeTxType` as dynamic fees applies to these types of transactions Closes https://github.com/orgs/erigontech/projects/18/views/2?pane=issue&itemId=95054679&issue=erigontech%7Csecurity%7C16
- Loading branch information
Showing
4 changed files
with
157 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters