8 releases (breaking)
0.7.0 | Jan 7, 2025 |
---|---|
0.6.0 | Sep 25, 2024 |
0.5.0 | Jul 18, 2024 |
0.4.0 | Jul 12, 2024 |
0.0.0 | May 22, 2024 |
#21 in #verifying
100,890 downloads per month
Used in 27 crates
(11 directly)
2.5MB
38K
SLoC
Release
Polkadot SDK Stable 2412
lib.rs
:
The CheckMetadataHash
transaction 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 transaction extension you will need to add it to your runtime transaction 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
~19–33MB
~560K SLoC