diff --git a/.travis.yml b/.travis.yml index 01a51e7..65792ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ script: - export REACT_APP_BRIZO_ADDRESS="0x008c25ed3594e094db4592f4115d5fa74c4f41ea" - export CYPRESS_NODE_URI=REACT_APP_NODE_URI - export CYPRESS_SEEDPHRASE="taxi music thumb unique chat sand crew more leg another off lamp" - - export CYPRESS_CONSUME_ASSET="http://localhost:3000/asset/did:op:d64dd31f8d2a4fc0987fedc7a2e4a07be049b9b814434b61989ab0e3a1a443e1" + - export CYPRESS_CONSUME_ASSET="http://localhost:3000/asset/did:op:f5530ed7f4e3413db2dc223ab20e802c119ca24ac26d471497a4ac317fb6e667" - ./scripts/test.sh - ./scripts/coverage.sh - ./scripts/build.sh diff --git a/client/src/context/UserProvider.tsx b/client/src/context/UserProvider.tsx index 8f37933..f0db379 100644 --- a/client/src/context/UserProvider.tsx +++ b/client/src/context/UserProvider.tsx @@ -151,13 +151,15 @@ export default class UserProvider extends PureComponent<{}, UserProviderState> { let isOceanNetwork await window.web3.eth.net.getId((err, netId) => { + console.log(netId) if (err) return const isNile = netId === 8995 const isDuero = netId === 2199 const isSpree = netId === 8996 + const isPacific = netId === 846353 - isOceanNetwork = isNile || isDuero || isSpree + isOceanNetwork = isNile || isDuero || isSpree || isPacific const network = isNile ? 'Nile'