Skip to content

Conversation

AndreiEres
Copy link
Contributor

@AndreiEres AndreiEres commented Oct 8, 2025

Description

Limits the size of statements that are further gossiped over the network to prevent skipping oversized messages. The limit is set to match the network protocol's MAX_STATEMENT_SIZE (256 KB), accounting for 1-byte vector length overhead because statements are sent as Vec<Statement>.

Integration

Affected crates:

  • sc-statement-store: Now depends on sc-network-statement for size constants
  • sc-network-statement: MAX_STATEMENT_SIZE is now public

For downstream users:

  • Statements larger than 256 KB will now be rejected earlier in the validation pipeline

@AndreiEres AndreiEres added the T0-node This PR/Issue is related to the topic “node”. label Oct 8, 2025
@AndreiEres
Copy link
Contributor Author

/cmd prdoc --audience node_dev --bump minor

@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/18339466060
Failed job name: test-linux-stable

@georgepisaltu georgepisaltu requested a review from gui1117 October 8, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant