Skip to content
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

TxPool: added check dynamic transactions gas fee #13630

Merged
merged 10 commits into from
Jan 31, 2025
Merged

TxPool: added check dynamic transactions gas fee #13630

merged 10 commits into from
Jan 31, 2025

Conversation

dvovk
Copy link
Member

@dvovk dvovk commented Jan 30, 2025

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

@dvovk dvovk requested a review from shohamc1 January 31, 2025 10:04
@shohamc1 shohamc1 merged commit 39a712a into main Jan 31, 2025
12 of 13 checks passed
@shohamc1 shohamc1 deleted the fixcheck branch January 31, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants