Skip to content

Populate `metadataVersion` field with `ink_metadata` crate version

Sergej Kostjucenko requested to merge aj-metadata-version into master

Created by: ascjones

Instead of being hardcoded in the crate, the metadata_version field is populated with the version of the ink_metadata crate of the contract.

This will allow consumers (e.g. polkadot.js @jacogr) to be able to differentiate between different versions of the ink metadata.

Merge request reports