Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MetadataVersioned to have version field #1289

Closed
Tracked by #1265
HCastano opened this issue Jun 13, 2022 · 0 comments · Fixed by #1313
Closed
Tracked by #1265

Update MetadataVersioned to have version field #1289

HCastano opened this issue Jun 13, 2022 · 0 comments · Fixed by #1313
Labels
A-ink_metadata [ink_metadata] Work item

Comments

@HCastano
Copy link
Contributor

HCastano commented Jun 13, 2022

Right now versioning in the ink! metadata is done through the use of a version key which
wraps the metadata object:

"V3": {
    ... ink! metadata object ...
}

We should instead change this to be better defined by introducing a seperate version
field into the ink! metadata.

"abi": {
  "version": "3",
  "spec": { ... },
  "storage": { ... },
  "types": { ... },
}

This makes the meaning of the field more clear. We'll want to introduce this along side
the V4 metadata changes.

This was referenced Jun 13, 2022
@HCastano HCastano added the A-ink_metadata [ink_metadata] Work item label Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ink_metadata [ink_metadata] Work item
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant