diff --git a/src/ocean/OceanCompute.ts b/src/ocean/OceanCompute.ts index 1c0c653..80079d9 100644 --- a/src/ocean/OceanCompute.ts +++ b/src/ocean/OceanCompute.ts @@ -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 ) diff --git a/test/integration/ocean/Compute.test.ts b/test/integration/ocean/Compute.test.ts index 9af205c..e566633 100644 --- a/test/integration/ocean/Compute.test.ts +++ b/test/integration/ocean/Compute.test.ts @@ -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 {}