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

feat: NextAssetId #230

Open
Daanvdplas opened this issue Aug 23, 2024 · 0 comments
Open

feat: NextAssetId #230

Daanvdplas opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@Daanvdplas
Copy link
Collaborator

In the 1.14 (#198) upgrade pallet assets introduced a NextAssetId.

When it is configured to a value it results in having the pallet incrementally update the NextAssetId when an asset is created. The flow would be; check the NextAssetId and use the queried id as parameter when creating an asset. In stead of choosing a random value and see if it is already taken.

Right now it is set to None which will results in how it previously worked.

This might become useful for #147

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

No branches or pull requests

2 participants