Skip to content

Commit

Permalink
fixes ENS to new registry for verification
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
  • Loading branch information
flexsurfer committed Feb 7, 2020
1 parent 7c5decb commit 25fd297
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
4 changes: 3 additions & 1 deletion src/status_im/constants.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@

(def system "system")

(def mainnet-rpc-url "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a")

(def mainnet-networks
[{:id "mainnet_rpc",
:etherscan-link "https://etherscan.io/address/",
:name "Mainnet with upstream RPC",
:config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet)
:DataDir "/ethereum/mainnet_rpc"
:UpstreamConfig {:Enabled true
:URL "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a"}}}])
:URL mainnet-rpc-url}}}])

(def sidechain-networks
[{:id "xdai_rpc",
Expand Down
27 changes: 14 additions & 13 deletions src/status_im/node/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
[status-im.utils.fx :as fx]
[status-im.utils.platform :as utils.platform]
[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]]))

(defn- add-custom-bootnodes [config network all-bootnodes]
Expand Down Expand Up @@ -121,20 +122,20 @@
:PermissionsConfig {:Enabled true}
:MailserversConfig {:Enabled true}
:EnableNTPSync true
:WhisperConfig {:Enabled true
:LightClient true
:MinimumPoW 0.001}
:WhisperConfig {:Enabled true
:LightClient true
:MinimumPoW 0.001}
:ShhextConfig
{:BackupDisabledDataDir (utils.platform/no-backup-directory)
:InstallationID installation-id
{:BackupDisabledDataDir (utils.platform/no-backup-directory)
:InstallationID installation-id
:MaxMessageDeliveryAttempts config/max-message-delivery-attempts
:MailServerConfirmations config/mailserver-confirmations-enabled?
:VerifyTransactionURL "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a"
:VerifyENSURL "https://mainnet.infura.io/v3/f315575765b14720b32382a61a89341a"
:VerifyENSContractAddress "0x314159265dd8dbb310642f98f50c066173c1259b"
:VerifyTransactionChainID 1
:DataSyncEnabled true
:PFSEnabled true}
:MailServerConfirmations config/mailserver-confirmations-enabled?
:VerifyTransactionURL constants/mainnet-rpc-url
:VerifyENSURL constants/mainnet-rpc-url
:VerifyENSContractAddress (:mainnet ens/ens-registries)
:VerifyTransactionChainID 1
:DataSyncEnabled true
:PFSEnabled true}
:RequireTopics (get-topics current-network)
:StatusAccountsConfig {:Enabled true})

Expand Down

0 comments on commit 25fd297

Please sign in to comment.