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

wip: debug agreemenet id

This commit is contained in:
paulo-ocean 2024-06-25 09:19:41 +01:00
parent af9a8e7ec0
commit 1dcafcff6c
2 changed files with 7 additions and 2 deletions

View File

@ -672,7 +672,7 @@ You can also add various delays so you see the various states of the compute job
providerUrl,
await consumerAccount.getAddress(),
computeJobId,
DATASET_DDO.id
agreementId
)
```
<!--

View File

@ -274,6 +274,7 @@ let resolvedDatasetDdo: DDO
let resolvedAlgorithmDdo: DDO
let computeJobId: string
let agreementId: string
/// ```
/// ### 4.3 Helper methods
@ -654,6 +655,8 @@ describe('Compute-to-data example tests', async () => {
algo
)
console.log('COMPUTE JOBS', computeJobs)
/// ```
/// <!--
assert(computeJobs, 'Cannot start compute job')
@ -661,6 +664,8 @@ describe('Compute-to-data example tests', async () => {
/// Let's save the compute job it, we re going to use later
/// ```Typescript
computeJobId = computeJobs[0].jobId
// eslint-disable-next-line prefer-destructuring
agreementId = computeJobs[0].agreementId
}) ///
/// ```
@ -672,7 +677,7 @@ describe('Compute-to-data example tests', async () => {
providerUrl,
await consumerAccount.getAddress(),
computeJobId,
DATASET_DDO.id
agreementId
)
/// ```
/// <!--