-
Notifications
You must be signed in to change notification settings - Fork 14
fix(da): account for blob tx proto overhead #77
Conversation
WalkthroughThis update brings a refined approach to calculating the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #77 +/- ##
=======================================
Coverage 66.04% 66.04%
=======================================
Files 2 2
Lines 162 162
=======================================
Hits 107 107
Misses 43 43
Partials 12 12 ☔ View full report in Codecov by Sentry. |
471aef4
to
3719f46
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- celestia/celestia.go (1 hunks)
Additional comments: 1
celestia/celestia.go (1)
- 24-27: The calculation for
DefaultMaxBytes
correctly accounts for the protobuf overhead by subtracting the specified amounts from the initial value. This change aligns with the PR objectives to accurately reflect the maximum blob size including encoding overhead. Ensure that this new limit is consistently applied whereverDefaultMaxBytes
is used throughout the codebase to avoid inconsistencies.
Overview
This PR updates the max blob size to account for protobuf overhead due to blob tx encoding.
Checklist
Summary by CodeRabbit