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

chore: update ENS Registry migration #243

Merged
merged 2 commits into from
Feb 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Sources/web3swift/Utils/ENS/ENSRegistry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public extension ENS {
self.web3 = web3
switch web3.provider.network {
case .Mainnet?:
registryContractAddress = EthereumAddress("0x314159265dd8dbb310642f98f50c066173c1259b")
registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
case .Rinkeby?:
registryContractAddress = EthereumAddress("0xe7410170f87102df0055eb195163a03b7f2bff4a")
registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
case .Ropsten?:
registryContractAddress = EthereumAddress("0x112234455c3a32fd11230c42e7bccd4a84e02010")
registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
default:
let url = web3.provider.url.absoluteString
aranhaagency marked this conversation as resolved.
Show resolved Hide resolved
if url.contains("https://rpc.goerli.mudit.blog")
Expand Down