fixes ENS to new registry for verification

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-02-07 09:39:51 +01:00
parent 7c5decbbfc
commit 25fd297573
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 17 additions and 14 deletions

View File

@ -43,6 +43,8 @@
(def system "system") (def system "system")
(def mainnet-rpc-url "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a")
(def mainnet-networks (def mainnet-networks
[{:id "mainnet_rpc", [{:id "mainnet_rpc",
:etherscan-link "https://etherscan.io/address/", :etherscan-link "https://etherscan.io/address/",
@ -50,7 +52,7 @@
:config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet) :config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet)
:DataDir "/ethereum/mainnet_rpc" :DataDir "/ethereum/mainnet_rpc"
:UpstreamConfig {:Enabled true :UpstreamConfig {:Enabled true
:URL "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a"}}}]) :URL mainnet-rpc-url}}}])
(def sidechain-networks (def sidechain-networks
[{:id "xdai_rpc", [{:id "xdai_rpc",

View File

@ -7,7 +7,8 @@
[status-im.utils.fx :as fx] [status-im.utils.fx :as fx]
[status-im.utils.platform :as utils.platform] [status-im.utils.platform :as utils.platform]
[status-im.utils.types :as types] [status-im.utils.types :as types]
[taoensso.timbre :as log]) [taoensso.timbre :as log]
[status-im.ethereum.ens :as ens])
(:require-macros [status-im.utils.slurp :refer [slurp]])) (:require-macros [status-im.utils.slurp :refer [slurp]]))
(defn- add-custom-bootnodes [config network all-bootnodes] (defn- add-custom-bootnodes [config network all-bootnodes]
@ -129,9 +130,9 @@
:InstallationID installation-id :InstallationID installation-id
:MaxMessageDeliveryAttempts config/max-message-delivery-attempts :MaxMessageDeliveryAttempts config/max-message-delivery-attempts
:MailServerConfirmations config/mailserver-confirmations-enabled? :MailServerConfirmations config/mailserver-confirmations-enabled?
:VerifyTransactionURL "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a" :VerifyTransactionURL constants/mainnet-rpc-url
:VerifyENSURL "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a" :VerifyENSURL constants/mainnet-rpc-url
:VerifyENSContractAddress "0x314159265dd8dbb310642f98f50c066173c1259b" :VerifyENSContractAddress (:mainnet ens/ens-registries)
:VerifyTransactionChainID 1 :VerifyTransactionChainID 1
:DataSyncEnabled true :DataSyncEnabled true
:PFSEnabled true} :PFSEnabled true}