diff --git a/app/package.json b/app/package.json index 604998f..60a798b 100644 --- a/app/package.json +++ b/app/package.json @@ -27,7 +27,7 @@ "redux-saga": "^0.16.2", "semantic-ui-react": "^0.85.0", "uuid": "^3.3.2", - "web3": "1.0.0-beta.35" + "web3": "1.0.0-beta.46" }, "scripts": { "start": "react-scripts start", diff --git a/app/src/config/ipfsOptions.js b/app/src/config/ipfsOptions.js index 3cdac53..4ff1cf5 100644 --- a/app/src/config/ipfsOptions.js +++ b/app/src/config/ipfsOptions.js @@ -8,7 +8,7 @@ const ipfsOptions = { Swarm: [ '/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star', // Use local signal server (https://github.com/libp2p/js-libp2p-websocket-star-rendezvous) - //'/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star' + '/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star' ] } } diff --git a/app/src/utils/drizzleUtils.js b/app/src/utils/drizzleUtils.js index dcf87e5..7514f2e 100644 --- a/app/src/utils/drizzleUtils.js +++ b/app/src/utils/drizzleUtils.js @@ -58,7 +58,7 @@ const getContractInstance = (options = {}) => if (options.artifact) { // if artifact exists, attempt to get network ID and the deployed address const { artifact } = options; - const networkId = await web3.eth.net.getId(); + const networkId = await web3.eth.net.getId(); // web3 v1.0.0-beta.47 breaks here const deployedNetwork = artifact.networks[networkId]; // if no deployed address is found, instantiate without the address