Skip to content

fix: Move jumbo transaction size check only at ingest #19118

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

ibankov
Copy link
Contributor

@ibankov ibankov commented May 9, 2025

Description:
Since we call transactionChecker.parseAndCheck() in PreHandle with maxTxnSize = HederaConfig.nodeTransactionMaxBytes, there’s a discrepancy in the maxTxnSize value when checkJumboTransactionBody() is called in preHandle(). Therefore, we should move this check exclusively to the ingest phase.

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@ibankov ibankov added this to the v0.63 milestone May 9, 2025
@ibankov ibankov self-assigned this May 9, 2025
@ibankov ibankov marked this pull request as ready for review May 12, 2025 11:27
@ibankov ibankov requested a review from a team as a code owner May 12, 2025 11:27
Copy link
Contributor

@Neeharika-Sompalli Neeharika-Sompalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @ibankov

@ibankov ibankov merged commit e8f57e3 into main May 16, 2025
52 checks passed
@ibankov ibankov deleted the fix-transaction-size-check branch May 16, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants