feat: enable metadata hash verification
https://github.com/paritytech/polkadot-sdk/pull/4274 https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/guides/enable_metadata_hash/index.html
Crate versions that have been updated:
- hydradx-runtime: v245.0.0 -> v246.0.0
Runtime version has been increased.
@Roznovjak how are you building the runtime? Why do you think that it did not set the env variable?
@Roznovjak how are you building the runtime? Why do you think that it did not set the env variable?
I'm building it with cargo build --release -p hydradx-runtime --features=metadata-hash.
After the build, echo $RUNTIME_METADATA_HASH is empty.
After the build,
echo $RUNTIME_METADATA_HASHis empty.
The env variable is not only set for the wasm-builder in the build process. It will not be set afterwards.
After the build,
echo $RUNTIME_METADATA_HASHis empty.The env variable is not only set for the
wasm-builderin the build process. It will not be set afterwards.
Ah. Thanks.