Skip to content

Check bytes left before checking the limit#9483

Merged
LukaszRozmej merged 5 commits into
masterfrom
fix/rlp-limit-check-bytes-left-first
Oct 16, 2025
Merged

Check bytes left before checking the limit#9483
LukaszRozmej merged 5 commits into
masterfrom
fix/rlp-limit-check-bytes-left-first

Conversation

@LukaszRozmej

@LukaszRozmej LukaszRozmej commented Oct 16, 2025

Copy link
Copy Markdown
Member

Changes

  • Check bytes left before checking the limit
  • Some refactors on limit creations

Types of changes

What types of changes does your code introduce?

  • Refactoring

Testing

Requires testing

  • Yes

If yes, did you write tests?

  • Yes

@LukaszRozmej LukaszRozmej marked this pull request as ready for review October 16, 2025 12:27
@LukaszRozmej LukaszRozmej merged commit 0e4fb1c into master Oct 16, 2025
140 of 143 checks passed
@LukaszRozmej LukaszRozmej deleted the fix/rlp-limit-check-bytes-left-first branch October 16, 2025 14:42
stdevMac pushed a commit that referenced this pull request Nov 4, 2025
* Check bytes left before checking the limit

* Refactor RlpLimit from nullable to Default

Simplify RlpLimit creation with good defaults

* fix by revert back to nullable

* fix

* Add tests
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.

2 participants