Skip to content

statement-store: add the statement_unstable_submit JSON-RPC function - #3335

Open
AndreiEres wants to merge 1 commit into
mainfrom
ae-statement-01-submit
Open

statement-store: add the statement_unstable_submit JSON-RPC function#3335
AndreiEres wants to merge 1 commit into
mainfrom
ae-statement-01-submit

Conversation

@AndreiEres

@AndreiEres AndreiEres commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR series, in merge order:

Implements statement_unstable_submit from json-rpc-interface-spec#185. See polkadot-sdk: #11989. The legacy statement_submit stays untouched.

Validation mirrors polkadot-sdk's Store::submit order but limited:

  • known and rejected are never returned: both report a store decision, and a light client keeps no store.
  • badProof is not returned either: signature verification is too CPU heavy for light nodes.
  • new is reported only when at least one peer actually received the statement (sent > 0)

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.

statement-store: Implement RPCv2 specification

1 participant