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

LSP2 Encoder: Exchange JSONURL with VerifiableURI #105

Merged
merged 4 commits into from
May 3, 2024

Conversation

fhildeb
Copy link
Contributor

@fhildeb fhildeb commented Apr 24, 2024

Previous Behavior

  • Within erc725.js, JSONURL has been replaced by VerifiableURI. While decoding was backward compatible, the LSP2 Encoder already had the VerifiableURI key for encoding and altered copied contents accordingly. This caused a mismatch to the original LSP2 Spec
  • JSONURL could only be decoded, as hash input was bugged

Features

  • Updates code, schemas, and menus to VerifiableURI
  • Adjusts UI elements for input values
  • Fixes input bug for hash value

Tests

✅ Encoding
✅ Decoding

Issues

Closes #97
Closes #85

Screenshot

img

@CJ42 CJ42 merged commit 6f01941 into main May 3, 2024
1 check passed
@CJ42 CJ42 deleted the lsp2-encoder-verifiableURI branch May 3, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add VerifiableURI in LSP2 decoder page Add VerifiableURI in the decoder section
2 participants