Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Oct 29, 2025

Enforce a 200000-byte blockchain payload limit by adding payer.Service.maxPayerMessageSize and validating in payer.Service.PublishClientEnvelopes

Add a configurable max payload size for blockchain-bound messages and validate message bytes in payer.Service.PublishClientEnvelopes, wiring the limit from config and updating constructors and tests to pass the new parameter.

📍Where to Start

Start with the validation in payer.Service.PublishClientEnvelopes in service.go, then review the new config option in options.go and the constructor changes in builder.go.


📊 Macroscope summarized d827b28. 4 files reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted

🗂️ Filtered Issues

No issues evaluated.

@mkysel mkysel requested a review from a team as a code owner October 29, 2025 22:51
Base automatically changed from mkysel/remove-BlockUntilDesiredCursorReached to main October 30, 2025 18:39
@mkysel mkysel force-pushed the mkysel/limit-payload-size branch from b45ae06 to d827b28 Compare October 30, 2025 18:40
@mkysel mkysel merged commit 309a885 into main Oct 30, 2025
11 checks passed
@mkysel mkysel deleted the mkysel/limit-payload-size branch October 30, 2025 19:17
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.

3 participants