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

merge conficts

This commit is contained in:
paulo-ocean 2024-06-25 09:42:43 +01:00
commit 0abb44852f
3 changed files with 26 additions and 12 deletions

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 @@ Let's have 5 minute of compute access
algo
)
console.log('COMPUTE JOBS', computeJobs)
```
<!--
assert(computeJobs, 'Cannot start compute job')
@ -662,6 +665,7 @@ Let's save the compute job id, we re going to use later
We can also save the agreementId. Its another optional field that we can later use to retrieve the job status
```Typescript
computeJobId = computeJobs[0].jobId
// eslint-disable-next-line prefer-destructuring
agreementId = computeJobs[0].agreementId
```

24
package-lock.json generated
View File

@ -3495,9 +3495,9 @@
"dev": true
},
"node_modules/@types/chai-spies": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@types/chai-spies/-/chai-spies-1.0.4.tgz",
"integrity": "sha512-HCG1EUGpVYmmqIG9rnSIxkng/tOzARG1HmUIV5miCp55ykqxSnVj2vlXaf6nDwaMm7qzkvNe9SHW15ywPKDqTA==",
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@types/chai-spies/-/chai-spies-1.0.6.tgz",
"integrity": "sha512-xkk4HmhBB9OQeTAifa9MJ+6R5/Rq9+ungDe4JidZD+vqZVeiWZwc2i7/pd1ZKjyGlSBIQePoWdyUyFUGT0rv5w==",
"dev": true,
"dependencies": {
"@types/chai": "*"
@ -5087,9 +5087,9 @@
}
},
"node_modules/chai-spies": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/chai-spies/-/chai-spies-1.0.0.tgz",
"integrity": "sha512-elF2ZUczBsFoP07qCfMO/zeggs8pqCf3fZGyK5+2X4AndS8jycZYID91ztD9oQ7d/0tnS963dPkd0frQEThDsg==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/chai-spies/-/chai-spies-1.1.0.tgz",
"integrity": "sha512-ikaUhQvQWchRYj2K54itFp3nrcxaFRpSDQxDlRzSn9aWgu9Pi7lD8yFxTso4WnQ39+WZ69oB/qOvqp+isJIIWA==",
"dev": true,
"engines": {
"node": ">= 4.0.0"
@ -20133,9 +20133,9 @@
"dev": true
},
"@types/chai-spies": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@types/chai-spies/-/chai-spies-1.0.4.tgz",
"integrity": "sha512-HCG1EUGpVYmmqIG9rnSIxkng/tOzARG1HmUIV5miCp55ykqxSnVj2vlXaf6nDwaMm7qzkvNe9SHW15ywPKDqTA==",
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@types/chai-spies/-/chai-spies-1.0.6.tgz",
"integrity": "sha512-xkk4HmhBB9OQeTAifa9MJ+6R5/Rq9+ungDe4JidZD+vqZVeiWZwc2i7/pd1ZKjyGlSBIQePoWdyUyFUGT0rv5w==",
"dev": true,
"requires": {
"@types/chai": "*"
@ -21329,9 +21329,9 @@
}
},
"chai-spies": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/chai-spies/-/chai-spies-1.0.0.tgz",
"integrity": "sha512-elF2ZUczBsFoP07qCfMO/zeggs8pqCf3fZGyK5+2X4AndS8jycZYID91ztD9oQ7d/0tnS963dPkd0frQEThDsg==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/chai-spies/-/chai-spies-1.1.0.tgz",
"integrity": "sha512-ikaUhQvQWchRYj2K54itFp3nrcxaFRpSDQxDlRzSn9aWgu9Pi7lD8yFxTso4WnQ39+WZ69oB/qOvqp+isJIIWA==",
"dev": true,
"requires": {}
},

View File

@ -155,6 +155,16 @@ export const configHelperNetworks: Config[] = [
subgraphUri: 'https://v4.subgraph.sapphire-mainnet.oceanprotocol.com/',
explorerUri: 'https://explorer.oasis.io/mainnet/sapphire/',
gasFeeMultiplier: 1
},
{
...configHelperNetworksBase,
chainId: 32456,
network: 'pontus-x-devnet',
nodeUri: 'https://rpc.dev.pontus-x.eu',
metadataCacheUri: 'https://aquarius.dev.pontus-x.eu',
providerUri: 'https://provider.dev.pontus-x.eu',
subgraphUri: 'https://subgraph.dev.pontus-x.eu',
explorerUri: 'https://explorer.dev.pontus-x.eu/testnet/pontusx'
}
]