mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
correctly pass arguments to brizo.compute
This commit is contained in:
parent
c5b6e9cdb3
commit
58b04b7c00
@ -139,7 +139,7 @@ export class OceanCompute extends Instantiable {
|
||||
consumerAccount,
|
||||
algorithmDid,
|
||||
algorithmMeta,
|
||||
null,
|
||||
undefined,
|
||||
output
|
||||
)
|
||||
|
||||
@ -162,6 +162,8 @@ export class OceanCompute extends Instantiable {
|
||||
'put',
|
||||
agreementId,
|
||||
consumerAccount,
|
||||
undefined,
|
||||
undefined,
|
||||
jobId
|
||||
)
|
||||
|
||||
@ -184,6 +186,8 @@ export class OceanCompute extends Instantiable {
|
||||
'delete',
|
||||
agreementId,
|
||||
consumerAccount,
|
||||
undefined,
|
||||
undefined,
|
||||
jobId
|
||||
)
|
||||
|
||||
@ -223,6 +227,8 @@ export class OceanCompute extends Instantiable {
|
||||
'get',
|
||||
agreementId,
|
||||
consumerAccount,
|
||||
undefined,
|
||||
undefined,
|
||||
jobId
|
||||
)
|
||||
|
||||
@ -245,6 +251,8 @@ export class OceanCompute extends Instantiable {
|
||||
'get',
|
||||
agreementId,
|
||||
consumerAccount,
|
||||
undefined,
|
||||
undefined,
|
||||
jobId
|
||||
)
|
||||
|
||||
|
@ -10,11 +10,11 @@ const metadataAlgorithm = getMetadata(0, 'algorithm')
|
||||
|
||||
const customConfig: Config = {
|
||||
...config,
|
||||
nodeUri: 'https://nile.dev-ocean.com',
|
||||
aquariusUri: 'https://aquarius.nile.dev-ocean.com',
|
||||
brizoUri: 'http://89.46.156.10:8030',
|
||||
secretStoreUri: 'https://secret-store.nile.dev-ocean.com',
|
||||
brizoAddress: '0x413c9ba0a05b8a600899b41b0c62dd661e689354',
|
||||
// nodeUri: 'https://nile.dev-ocean.com',
|
||||
// aquariusUri: 'https://aquarius.nile.dev-ocean.com',
|
||||
// brizoUri: 'http://89.46.156.10:8030',
|
||||
// secretStoreUri: 'https://secret-store.nile.dev-ocean.com',
|
||||
// brizoAddress: '0x413c9ba0a05b8a600899b41b0c62dd661e689354',
|
||||
verbose: true
|
||||
}
|
||||
|
||||
@ -78,6 +78,7 @@ describe('Compute', () => {
|
||||
.order(account, dataset.id)
|
||||
.next(step => steps.push(step))
|
||||
|
||||
console.log(agreementId)
|
||||
assert.isDefined(agreementId)
|
||||
assert.deepEqual(steps, [0, 1, 2, 3])
|
||||
} catch {}
|
||||
|
Loading…
Reference in New Issue
Block a user