Skip to content

Commit

Permalink
Update web3 support (#203)
Browse files Browse the repository at this point in the history
* Refactored start docs

* Changed source of go-bindata #197

* Updated go dep trackers

* Updated yarn dependencies

* Added update step to Makefile

* New auto-generated bindata tests

* Added doc note about make update

* yarn upgrade

* Doc: rename Infura key as "project ID" for clarity

* Set resource class to medium for CircleCI builds

* Use Debian 'stable' release in Docker

* Updated ui deps

* Add recommended check to web3 init

* Add recommended check to web3 init

* Updated yarn deps
  • Loading branch information
loleg authored Feb 26, 2021
1 parent afda1df commit 3cb6b90
Show file tree
Hide file tree
Showing 2 changed files with 396 additions and 423 deletions.
2 changes: 1 addition & 1 deletion ui/wallet/src/ProxeusEthereum/WalletInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class WalletInterface {

// make sure we are using the web3 we want and not
// the one provided by metamask
this.web3 = new Web3()
this.web3 = new Web3(Web3.givenProvider || 'ws://localhost:8545')

this.web3.eth.getTransactionReceiptMined = getTransactionReceiptMined
this.serviceConfig = serviceConfig[network]
Expand Down
Loading

0 comments on commit 3cb6b90

Please sign in to comment.