HomePhabricator
Diffusion Comm dfc0d4818bb6

[lib] Add test of ENS avatar set to NFT which is an SVG data URI

Description

[lib] Add test of ENS avatar set to NFT which is an SVG data URI

Summary:
This is a pretty complicated and ethers.js seems to handle it perfectly!

Note that I have some long lines here... with the data URI I don't think it really matters, and with the test declarations I figured they were more readable on one line. Can change either if preferred.

Depends on D7045

Test Plan:

  1. Test plan described here, implemented via unit tests in this and preceding diffs
  2. Tested SVGs in React Native as noted here

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7046

Details

Provenance
ashoatAuthored on Mar 11 2023, 2:54 PM
Reviewer
atul
Differential Revision
D7046: [lib] Add test of ENS avatar set to NFT which is an SVG data URI
Parents
rCOMM62496db0954d: [lib] Add test of ENS avatar set to IPFS URI which holds a JPEG
Branches
Unknown
Tags
Unknown