HomePhabricator
Diffusion Comm 3845eeeb6a39

[lib] Make it possible for ENSCache to store Promises

Description

[lib] Make it possible for ENSCache to store Promises

Summary:
This is a necessary step for the next diff, where make it so we don't fetch a single result from ethers.js more than once at a time.

Depends on D6429

Test Plan: cd lib && ALCHEMY_API_KEY=... yarn test utils/ens-cache.test.js

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Jan 28 2023, 7:25 AM
Reviewer
atul
Differential Revision
D6430: [lib] Make it possible for ENSCache to store Promises
Parents
rCOMM613e1160da39: [lib] Refactor ENSCache lambdas a little bit
Branches
Unknown
Tags
Unknown