HydraDX-node icon indicating copy to clipboard operation
HydraDX-node copied to clipboard

feat: enable metadata hash verification

Open Roznovjak opened this issue 1 year ago • 5 comments

https://github.com/paritytech/polkadot-sdk/pull/4274 https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/guides/enable_metadata_hash/index.html

Roznovjak avatar Jul 02 '24 13:07 Roznovjak

Crate versions that have been updated:

  • hydradx-runtime: v245.0.0 -> v246.0.0

Runtime version has been increased.

github-actions[bot] avatar Jul 02 '24 13:07 github-actions[bot]

@Roznovjak how are you building the runtime? Why do you think that it did not set the env variable?

bkchr avatar Jul 05 '24 11:07 bkchr

@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.

Roznovjak avatar Jul 05 '24 11:07 Roznovjak

After the build, echo $RUNTIME_METADATA_HASH is empty.

The env variable is not only set for the wasm-builder in the build process. It will not be set afterwards.

bkchr avatar Jul 05 '24 11:07 bkchr

After the build, echo $RUNTIME_METADATA_HASH is empty.

The env variable is not only set for the wasm-builder in the build process. It will not be set afterwards.

Ah. Thanks.

Roznovjak avatar Jul 05 '24 11:07 Roznovjak