Update status-go to 0.10.3
Signed-off-by: Adam Babik <a.babik@designfortress.com>
This commit is contained in:
parent
3a982e5d6b
commit
0a313ef525
|
@ -16,7 +16,7 @@ dependencies {
|
|||
implementation 'com.instabug.library:instabug:3+'
|
||||
implementation 'status-im:function:0.0.1'
|
||||
|
||||
String statusGoVersion = 'develop-g03bf6e37'
|
||||
String statusGoVersion = 'develop-ga6d69eba'
|
||||
final String statusGoGroup = 'status-im', statusGoName = 'status-go'
|
||||
|
||||
// Check if the local status-go jar exists, and compile against that if it does
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<artifactItem>
|
||||
<groupId>status-im</groupId>
|
||||
<artifactId>status-go-ios-simulator</artifactId>
|
||||
<version>develop-g03bf6e37</version>
|
||||
<version>develop-ga6d69eba</version>
|
||||
<type>zip</type>
|
||||
<overWrite>true</overWrite>
|
||||
<outputDirectory>./</outputDirectory>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
(re-frame/reg-cofx
|
||||
::get-web3
|
||||
(fn [coeffects _]
|
||||
(let [web3 (web3-provider/make-web3)
|
||||
(let [web3 (web3-provider/make-internal-web3)
|
||||
address (get-in coeffects [:db :account/account :address])]
|
||||
(set! (.-defaultAccount (.-eth web3))
|
||||
(ethereum/normalized-address address))
|
||||
|
|
|
@ -3,10 +3,13 @@
|
|||
[status-im.native-module.core :as status]
|
||||
[status-im.js-dependencies :as dependencies]))
|
||||
|
||||
(defn make-web3 []
|
||||
;; This Web3 object will allow access to private RPC calls
|
||||
;; It should be only used for internal application needs and never provided to any
|
||||
;; 3rd parties (DApps, etc)
|
||||
(defn make-internal-web3 []
|
||||
(dependencies/Web3.
|
||||
#js {:sendAsync (fn [payload callback]
|
||||
(status/call-web3
|
||||
(status/call-web3-private
|
||||
(.stringify js/JSON payload)
|
||||
(fn [response]
|
||||
(if (= "" response)
|
||||
|
|
Loading…
Reference in New Issue