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

fix: treat non-compliant SIP-016 metadata as invalid #266

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

rafaelcr
Copy link
Collaborator

We previously ignored JSON metadata that was not SIP-016 compliant (without a name value at least) and processed the token silently, but this is an incorrect approach. This PR changes that so it fails and marks the token as invalid.

Copy link

Vercel deployment URL: https://token-metadata-6qfjww3ic-hirosystems.vercel.app 🚀

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@rafaelcr rafaelcr merged commit 288723d into master Sep 23, 2024
9 checks passed
@rafaelcr rafaelcr deleted the fix/no-name branch September 23, 2024 18:07
blockstack-devops pushed a commit that referenced this pull request Sep 23, 2024
## [1.1.4](v1.1.3...v1.1.4) (2024-09-23)

### Bug Fixes

* treat non-compliant SIP-016 metadata as invalid ([#266](#266)) ([288723d](288723d))
@blockstack-devops
Copy link

🎉 This PR is included in version 1.1.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants