Validation for asset id when creating a new asset on AssetHub #10978
Labels
Bug
Tracks issues causing errors or unintended behavior, critical to fix for reliability.
Compatibility
Ensures SDK compatibility with ecosystem updates and major dependency changes.
P2 - Medium
Important but not urgent. Enhances functionality and value, scheduled after higher priorities.
When creating a new asset, the assetID field should default to the next possible asset_id
I'm submitting a ...
What is the current behavior and expected behavior?
The current UI makes it seem that any asset id would work, but after a runtime upgrade it is required that newly created asset id's follow a specific rule: the newly created asset's id should be the next possible id of the last created asset.
In other terms, next_asset_id = previous_asset_id + 1
Without this change, users will face this error:
Please tell us about your environment:
Version:
Environment:
The text was updated successfully, but these errors were encountered: