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

Add support for ENS #197

Closed
marekkirejczyk opened this issue Mar 4, 2020 · 1 comment
Closed

Add support for ENS #197

marekkirejczyk opened this issue Mar 4, 2020 · 1 comment

Comments

@marekkirejczyk
Copy link
Contributor

marekkirejczyk commented Mar 4, 2020

Add support for ENS (#137), so that user can test against ENS easily, example:

const [ens] = new MockProvider().getEnsBuilder();
ens.mock('burn.eth', '0xdead0000...0000');
provider.resolveName('burn.eth'); //returns '0xdead0000...0000'

or

const [ens] = new MockProvider().getEnsBuilder();
ENS.mock('burn.eth', '0xdead0000...0000',  {reversed: true});
provider.lookupAddress('0xdead0000...0000') // returns 'burn.eth'
@sz-piotr sz-piotr mentioned this issue Mar 4, 2020
33 tasks
@marekkirejczyk
Copy link
Contributor Author

Experimental support for ENS released in @ethereum-waffle/[email protected].

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

No branches or pull requests

1 participant