1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix some bugs

This commit is contained in:
alexcos20 2020-06-30 16:28:59 -07:00
parent eb1966b769
commit ea75d348ea
3 changed files with 8 additions and 2 deletions

View File

@ -25,6 +25,10 @@ export enum CreateProgressStep {
DdoStored DdoStored
} }
export enum OrderProgressStep {
TransferDataToken
}
/** /**
* Assets submodule of Ocean Protocol. * Assets submodule of Ocean Protocol.
*/ */

View File

@ -25,6 +25,7 @@ describe('Marketplace flow', () => {
let price let price
let ocean let ocean
let accessService let accessService
let data
let blob let blob
const marketplaceAllowance = 20 const marketplaceAllowance = 20
@ -46,7 +47,8 @@ describe('Marketplace flow', () => {
alice = (await ocean.accounts.list())[1] alice = (await ocean.accounts.list())[1]
bob = (await ocean.accounts.list())[2] bob = (await ocean.accounts.list())[2]
marketplace = (await ocean.accounts.list())[3] marketplace = (await ocean.accounts.list())[3]
blob = ocean.config.metadataStoreUri data = { t: 1, url: ocean.config.metadataStoreUri }
blob = JSON.stringify(data)
await contracts.deployContracts(owner.getId()) await contracts.deployContracts(owner.getId())
}) })

View File

@ -7,7 +7,7 @@ const Web3 = require('web3')
const web3 = new Web3('http://127.0.0.1:8545') const web3 = new Web3('http://127.0.0.1:8545')
export default { export default {
metadataStoreUri: 'http://localhost:5000', metadataStoreUri: 'http://aquarius:5000',
providerUri: 'http://localhost:8030', providerUri: 'http://localhost:8030',
nodeUri: `http://localhost:${process.env.ETH_PORT || 8545}`, nodeUri: `http://localhost:${process.env.ETH_PORT || 8545}`,
verbose: LogLevel.Error, verbose: LogLevel.Error,