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:
parent
af9a8e7ec0
commit
1dcafcff6c
@ -672,7 +672,7 @@ You can also add various delays so you see the various states of the compute job
|
|||||||
providerUrl,
|
providerUrl,
|
||||||
await consumerAccount.getAddress(),
|
await consumerAccount.getAddress(),
|
||||||
computeJobId,
|
computeJobId,
|
||||||
DATASET_DDO.id
|
agreementId
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
<!--
|
<!--
|
||||||
|
@ -274,6 +274,7 @@ let resolvedDatasetDdo: DDO
|
|||||||
let resolvedAlgorithmDdo: DDO
|
let resolvedAlgorithmDdo: DDO
|
||||||
|
|
||||||
let computeJobId: string
|
let computeJobId: string
|
||||||
|
let agreementId: string
|
||||||
/// ```
|
/// ```
|
||||||
|
|
||||||
/// ### 4.3 Helper methods
|
/// ### 4.3 Helper methods
|
||||||
@ -654,6 +655,8 @@ describe('Compute-to-data example tests', async () => {
|
|||||||
algo
|
algo
|
||||||
)
|
)
|
||||||
|
|
||||||
|
console.log('COMPUTE JOBS', computeJobs)
|
||||||
|
|
||||||
/// ```
|
/// ```
|
||||||
/// <!--
|
/// <!--
|
||||||
assert(computeJobs, 'Cannot start compute job')
|
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
|
/// Let's save the compute job it, we re going to use later
|
||||||
/// ```Typescript
|
/// ```Typescript
|
||||||
computeJobId = computeJobs[0].jobId
|
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,
|
providerUrl,
|
||||||
await consumerAccount.getAddress(),
|
await consumerAccount.getAddress(),
|
||||||
computeJobId,
|
computeJobId,
|
||||||
DATASET_DDO.id
|
agreementId
|
||||||
)
|
)
|
||||||
/// ```
|
/// ```
|
||||||
/// <!--
|
/// <!--
|
||||||
|
Loading…
x
Reference in New Issue
Block a user