8 breaking releases
0.8.0 | Apr 3, 2025 |
---|---|
0.7.0 | Jan 7, 2025 |
0.6.0 | Sep 25, 2024 |
0.5.0 | Jul 18, 2024 |
#371 in #extension
22,034 downloads per month
Used in 56 crates
(11 directly)
2.5MB
40K
SLoC
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
~20–35MB
~583K SLoC