Skip to content

feat: validate asset metadata#2609

Open
PhilippGackstatter wants to merge 2 commits intonextfrom
pgackst-validate-asset-metadata
Open

feat: validate asset metadata#2609
PhilippGackstatter wants to merge 2 commits intonextfrom
pgackst-validate-asset-metadata

Conversation

@PhilippGackstatter
Copy link
Contributor

Validate asset metadata in asset validation procedures. This was previously not necessary because the faucet ID was taken as-is out of the asset key before calling account_id::validate, which would ensure the lower 8 bits are zero.

After #2571, the lower 8 bits are zeroed before being validated but the asset metadata was not validated separately.

@PhilippGackstatter PhilippGackstatter added no changelog This PR does not require an entry in the `CHANGELOG.md` file pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant