Skip to content

Unchecked decode trait#56

Open
davxy wants to merge 4 commits into
mainfrom
unchecked-decode-trait
Open

Unchecked decode trait#56
davxy wants to merge 4 commits into
mainfrom
unchecked-decode-trait

Conversation

@davxy
Copy link
Copy Markdown
Member

@davxy davxy commented May 20, 2026

Adds a DecodeUnchecked trait exposing a decode_unchecked entry point on MembersSet, MembersCommitment, StaticChunk, and ProverState.

The unchecked path reads the same wire format as the default SCALE Decode impl but skips arkworks curve-point validation, so it can replace Decode for storage reads of values that were already validated on ingress without any migration.


Used by https://github.com/paritytech/individuality/pull/978

@davxy davxy requested a review from georgepisaltu May 20, 2026 08:08
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.

1 participant