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

Mesh 2176/fix-storage-naming #1658

Merged
merged 5 commits into from
May 7, 2024
Merged

Mesh 2176/fix-storage-naming #1658

merged 5 commits into from
May 7, 2024

Conversation

HenriqueNogara
Copy link
Contributor

changelog

modified external API

  • Deprecate the following asset storage: AssetMetadataNextLocalKey, AssetMetadataNextGlobalKey;
  • Deprecate the following NFT storage: NextCollectionId, NextNFTId;

new external API

  • Add the following asset storage: CurrentAssetMetadataLocalKey, CurrentAssetMetadataGlobalKey;
  • Add the following NFT storage: CurrentNFTId, CurrentCollectionId;

data migration

  • Initializes new storage for the asset pallet;
  • Initializes new storage for the nft pallet;

pallets/asset/src/lib.rs Outdated Show resolved Hide resolved
pallets/asset/src/lib.rs Outdated Show resolved Hide resolved
pallets/asset/src/lib.rs Outdated Show resolved Hide resolved
pallets/nft/src/lib.rs Outdated Show resolved Hide resolved
pallets/nft/src/lib.rs Outdated Show resolved Hide resolved
pallets/nft/src/lib.rs Outdated Show resolved Hide resolved
@adamdossa adamdossa merged commit 2b3e32e into develop May 7, 2024
13 checks passed
@adamdossa adamdossa deleted the MESH-2176/fix-next-id branch May 7, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants