7 releases (breaking)

0.6.0 Sep 25, 2024
0.5.0 Jul 18, 2024
0.4.0 Jul 12, 2024
0.3.0 Jun 21, 2024
0.0.0 May 22, 2024

#18 in #verifying

Download history 958/week @ 2024-08-26 548/week @ 2024-09-02 1053/week @ 2024-09-09 746/week @ 2024-09-16 1123/week @ 2024-09-23 1266/week @ 2024-09-30 1196/week @ 2024-10-07 1479/week @ 2024-10-14 1845/week @ 2024-10-21 1620/week @ 2024-10-28 1822/week @ 2024-11-04 21603/week @ 2024-11-11 26328/week @ 2024-11-18 29190/week @ 2024-11-25 24235/week @ 2024-12-02 29443/week @ 2024-12-09

110,571 downloads per month
Used in 25 crates (11 directly)

Apache-2.0

2MB
35K SLoC

Release

Polkadot SDK stable2409


lib.rs:

The CheckMetadataHash signed extension.

The extension for optionally checking the metadata hash. For information how it works and what it does exactly, see the docs of CheckMetadataHash.

Integration

As any signed extension you will need to add it to your runtime signed extensions: As the extension requires the RUNTIME_METADATA_HASH environment variable to be present at compile time, it requires a little bit more setup. To have this environment variable available at compile time required to tell the substrate-wasm-builder to do so: As generating the metadata hash requires to compile the runtime twice, it is recommended to only enable the metadata hash generation when doing a build for a release or when you want to test this feature.

Dependencies

~18–31MB
~520K SLoC