Skip to content

pallet-preimage: add try_state invariant checks - #12716

Open
Stephenlawrence00 wants to merge 2 commits into
paritytech:masterfrom
Stephenlawrence00:try_state_pallet_preimage
Open

pallet-preimage: add try_state invariant checks#12716
Stephenlawrence00 wants to merge 2 commits into
paritytech:masterfrom
Stephenlawrence00:try_state_pallet_preimage

Conversation

@Stephenlawrence00

Copy link
Copy Markdown
Contributor

Adds a try_state hook to pallet-preimage (issue #239) that asserts the status maps and stored preimages stay consistent (every noted status has its bytes, every stored preimage has a matching status, and no hash sits in both status maps), run under the try-runtime feature and after every unit test.

@Stephenlawrence00
Stephenlawrence00 requested a review from a team as a code owner July 21, 2026 18:14
@Stephenlawrence00

Copy link
Copy Markdown
Contributor Author

/cmd label T2-pallets

@paritytech-cmd-bot-polkadot-sdk paritytech-cmd-bot-polkadot-sdk Bot added the T2-pallets This PR/Issue is related to a particular pallet. label Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T2-pallets This PR/Issue is related to a particular pallet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants