frame-metadata-hash-extension 0.3.0

FRAME signed extension for verifying the metadata hash (polkadot v1.13.0)
Documentation

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.