Skip to content

Commit 7625ac4

Browse files
authored
fixed ens testnet address
[The ENS registry is deployed at 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e. This same address is used across Mainnet, Ropsten, Rinkeby and Goerli.] (https://docs.ens.domains/ens-deployments)
1 parent 3d566e0 commit 7625ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/web3swift/Utils/ENS/ENSRegistry.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public extension ENS {
2121
case .Mainnet?:
2222
registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
2323
case .Rinkeby?:
24-
registryContractAddress = EthereumAddress("0xe7410170f87102df0055eb195163a03b7f2bff4a")
24+
registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
2525
case .Ropsten?:
26-
registryContractAddress = EthereumAddress("0x112234455c3a32fd11230c42e7bccd4a84e02010")
26+
registryContractAddress = EthereumAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")
2727
default:
2828
let url = web3.provider.url.absoluteString
2929
if url.contains("https://rpc.goerli.mudit.blog")

0 commit comments

Comments
 (0)