-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@embark/ens): fix Infura connection and testnet use of ENS
Fixes the use of Infura to connect to the ENS contracts. When connecting directly to Infura, it would throw with `rejected due to project ID settings`, because it doesn't accept the VM as the domain Instead, when passing from the proxy, it works. So I changed the default when no dappConnection to ['$EMBARK']. I also added a message when the error happens to help users fix it themselves When in the testnet, we don,t register because we already have the addresses, which is fine, but we also didn't populate the ensConfig object which contains the important information about the addresses and ABI. There was a lot of lint problems in a couple of files so I cleaned that up
- Loading branch information
1 parent
6f239f4
commit 42bd3b7
Showing
4 changed files
with
47 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters