Skip to content

Commit aae2eaa

Browse files
authored
Merge pull request #100 from OceanProtocolEnterprise/feat/stage
Feat/stage
2 parents c1ea552 + cbaa7a2 commit aae2eaa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3688
-1702
lines changed

CHANGELOG.md

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,40 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [v2.0.2](https://github.com/oceanprotocol/ocean-node/compare/v2.0.1...v2.0.2)
8+
9+
- document publish flow & isolated markets [`#1273`](https://github.com/oceanprotocol/ocean-node/pull/1273)
10+
- make sure we bill all cases [`#1277`](https://github.com/oceanprotocol/ocean-node/pull/1277)
11+
12+
#### [v2.0.1](https://github.com/oceanprotocol/ocean-node/compare/v2.0.0...v2.0.1)
13+
14+
> 23 March 2026
15+
16+
- fix: payments claim issue [`#1275`](https://github.com/oceanprotocol/ocean-node/pull/1275)
17+
- fix: remove some fields from getJobs handler response [`#1271`](https://github.com/oceanprotocol/ocean-node/pull/1271)
18+
- getFile: return proper type [`#1267`](https://github.com/oceanprotocol/ocean-node/pull/1267)
19+
- refactor fileinfo route & handler [`#1265`](https://github.com/oceanprotocol/ocean-node/pull/1265)
20+
- Release 2.0.1 [`93740ac`](https://github.com/oceanprotocol/ocean-node/commit/93740acd3f5648484661b0fb65a92b236da6cb7e)
21+
22+
### [v2.0.0](https://github.com/oceanprotocol/ocean-node/compare/v1.0.7...v2.0.0)
23+
24+
> 16 March 2026
25+
26+
- Length prefixed streams [`#1232`](https://github.com/oceanprotocol/ocean-node/pull/1232)
27+
- feat: update quickstart script & gpu docs [`#1261`](https://github.com/oceanprotocol/ocean-node/pull/1261)
28+
- add ftp support & upload for url/ftp/s3. Reorg tests [`#1260`](https://github.com/oceanprotocol/ocean-node/pull/1260)
29+
- Bump tar from 7.5.10 to 7.5.11 [`#1262`](https://github.com/oceanprotocol/ocean-node/pull/1262)
30+
- Bump tar from 7.5.8 to 7.5.10 [`#1254`](https://github.com/oceanprotocol/ocean-node/pull/1254)
31+
- storage cleanup & add S3 Storage for datasets (so far) [`#1256`](https://github.com/oceanprotocol/ocean-node/pull/1256)
32+
- fix: integration c2d test [`#1212`](https://github.com/oceanprotocol/ocean-node/pull/1212)
33+
- Release 2.0.0 [`0b852a1`](https://github.com/oceanprotocol/ocean-node/commit/0b852a1241d7dfdbf6db2540a6f3a513e2387111)
34+
735
#### [v1.0.7](https://github.com/oceanprotocol/ocean-node/compare/v1.0.6...v1.0.7)
836

37+
> 4 March 2026
38+
939
- fix query [`#1252`](https://github.com/oceanprotocol/ocean-node/pull/1252)
40+
- Release 1.0.7 [`a3706e6`](https://github.com/oceanprotocol/ocean-node/commit/a3706e6ab94d38fde78a4fc04dc63afd0f68eefd)
1041

1142
#### [v1.0.6](https://github.com/oceanprotocol/ocean-node/compare/v1.0.5...v1.0.6)
1243

@@ -235,28 +266,28 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
235266

236267
> 24 March 2025
237268
238-
- Update node script - C2D [`#896`](https://github.com/oceanprotocol/ocean-node/pull/896)
269+
- Update node script - C2D [`#896`](https://github.com/oceanprotocol/ocean-node/pull/896)
239270
- fix docker-compose [`#895`](https://github.com/oceanprotocol/ocean-node/pull/895)
240271
- re-indexing old DDOs [`#867`](https://github.com/oceanprotocol/ocean-node/pull/867)
241272
- Upgrade tsx dep to v4.x [`#893`](https://github.com/oceanprotocol/ocean-node/pull/893)
242273
- C2D Docker [`#705`](https://github.com/oceanprotocol/ocean-node/pull/705)
243274
- Updating codeowners [`#887`](https://github.com/oceanprotocol/ocean-node/pull/887)
244-
- fix issue with empty nft fields [`#886`](https://github.com/oceanprotocol/ocean-node/pull/886)
275+
- fix issue with empty nft fields [`#886`](https://github.com/oceanprotocol/ocean-node/pull/886)
245276
- add allowed admins access list [`#841`](https://github.com/oceanprotocol/ocean-node/pull/841)
246277
- Update error message for invalid peer connection [`#874`](https://github.com/oceanprotocol/ocean-node/pull/874)
247278
- add AUTHORIZED_DECRYPTERS_LIST [`#836`](https://github.com/oceanprotocol/ocean-node/pull/836)
248279
- fix status code if policy server not available [`#869`](https://github.com/oceanprotocol/ocean-node/pull/869)
249-
- Fix DDO: Stats and Prices for exchanges/dispensers [`#774`](https://github.com/oceanprotocol/ocean-node/pull/774)
280+
- Fix DDO: Stats and Prices for exchanges/dispensers [`#774`](https://github.com/oceanprotocol/ocean-node/pull/774)
250281
- move p2p getters as handlers [`#862`](https://github.com/oceanprotocol/ocean-node/pull/862)
251282
- always check remote peerId [`#864`](https://github.com/oceanprotocol/ocean-node/pull/864)
252283
- Test if dashboard changes are already committed [`#842`](https://github.com/oceanprotocol/ocean-node/pull/842)
253-
- add AUTHORIZED*PUBLISHERS*\*\*\* env variables [`#826`](https://github.com/oceanprotocol/ocean-node/pull/826)
284+
- add AUTHORIZED_PUBLISHERS_*** env variables [`#826`](https://github.com/oceanprotocol/ocean-node/pull/826)
254285
- Issue 814 credentials types [`#823`](https://github.com/oceanprotocol/ocean-node/pull/823)
255286
- remove echo command [`#839`](https://github.com/oceanprotocol/ocean-node/pull/839)
256287
- Issue 808 - new accesslist credentials type [`#819`](https://github.com/oceanprotocol/ocean-node/pull/819)
257288
- add ALLOWED_VALIDATORS_LIST [`#829`](https://github.com/oceanprotocol/ocean-node/pull/829)
258289
- update build files and hash [`#821`](https://github.com/oceanprotocol/ocean-node/pull/821)
259-
- add \* as match all rule for address types [`#837`](https://github.com/oceanprotocol/ocean-node/pull/837)
290+
- add * as match all rule for address types [`#837`](https://github.com/oceanprotocol/ocean-node/pull/837)
260291
- fix: return correct message on policy server call [`#834`](https://github.com/oceanprotocol/ocean-node/pull/834)
261292
- add policyServerPassthrough routes [`#832`](https://github.com/oceanprotocol/ocean-node/pull/832)
262293
- Bump fast-xml-parser from 4.3.6 to 4.5.0 in /dashboard [`#711`](https://github.com/oceanprotocol/ocean-node/pull/711)
@@ -292,7 +323,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
292323
- fix system tests. Running old version of node? [`#733`](https://github.com/oceanprotocol/ocean-node/pull/733)
293324
- rm console.logs [`#731`](https://github.com/oceanprotocol/ocean-node/pull/731)
294325
- fix wrong block for log [`#727`](https://github.com/oceanprotocol/ocean-node/pull/727)
295-
- nonce db sql lite [`#723`](https://github.com/oceanprotocol/ocean-node/pull/723)
326+
- nonce db sql lite [`#723`](https://github.com/oceanprotocol/ocean-node/pull/723)
296327
- Bump version axios 1.6.0 -> 1.7.4. [`#716`](https://github.com/oceanprotocol/ocean-node/pull/716)
297328
- Bump version express 4.18.2 -> 4.21.0. [`#717`](https://github.com/oceanprotocol/ocean-node/pull/717)
298329
- Feature/ add Elasticsearch database alternative for typesense [`#599`](https://github.com/oceanprotocol/ocean-node/pull/599)
@@ -301,7 +332,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
301332
- Bump micromatch from 4.0.5 to 4.0.8 in /dashboard [`#649`](https://github.com/oceanprotocol/ocean-node/pull/649)
302333
- Bump undici from 5.27.0 to 5.28.4 [`#610`](https://github.com/oceanprotocol/ocean-node/pull/610)
303334
- testing changes [`#718`](https://github.com/oceanprotocol/ocean-node/pull/718)
304-
- Policy Server [`#694`](https://github.com/oceanprotocol/ocean-node/pull/694)
335+
- Policy Server [`#694`](https://github.com/oceanprotocol/ocean-node/pull/694)
305336
- fix missing/invalid db_url log message, put warn at startup [`#654`](https://github.com/oceanprotocol/ocean-node/pull/654)
306337
- move c2d engines under OceanNode class [`#702`](https://github.com/oceanprotocol/ocean-node/pull/702)
307338
- improve error message, transfer fees and tweak node response [`#701`](https://github.com/oceanprotocol/ocean-node/pull/701)
@@ -431,7 +462,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
431462
- Differentiate error messages indexer [`#570`](https://github.com/oceanprotocol/ocean-node/pull/570)
432463
- Issue 565 optimize get status [`#566`](https://github.com/oceanprotocol/ocean-node/pull/566)
433464
- fix get indexing queue [`#564`](https://github.com/oceanprotocol/ocean-node/pull/564)
434-
- Changes on logging transports (.env var based locations) [`#553`](https://github.com/oceanprotocol/ocean-node/pull/553)
465+
- Changes on logging transports (.env var based locations) [`#553`](https://github.com/oceanprotocol/ocean-node/pull/553)
435466
- Check if ddo state is active before executing node's commands. [`#542`](https://github.com/oceanprotocol/ocean-node/pull/542)
436467
- use static rpc provider [`#548`](https://github.com/oceanprotocol/ocean-node/pull/548)
437468
- Fix downloading full content of the file. [`#559`](https://github.com/oceanprotocol/ocean-node/pull/559)
@@ -485,7 +516,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
485516
- Remove chain id from get compute envs task. [`#460`](https://github.com/oceanprotocol/ocean-node/pull/460)
486517
- Issue 397 warn env db logs [`#457`](https://github.com/oceanprotocol/ocean-node/pull/457)
487518
- fix p2p peers [`#449`](https://github.com/oceanprotocol/ocean-node/pull/449)
488-
- c2d v2 arhitecture [`#381`](https://github.com/oceanprotocol/ocean-node/pull/381)
519+
- c2d v2 arhitecture [`#381`](https://github.com/oceanprotocol/ocean-node/pull/381)
489520
- Fix: dashboard failing build if NODE_ENV is changed [`#450`](https://github.com/oceanprotocol/ocean-node/pull/450)
490521
- Dashboard: get ocean peers polling [`#445`](https://github.com/oceanprotocol/ocean-node/pull/445)
491522
- Replace hardcoded values in Dashboard [`#444`](https://github.com/oceanprotocol/ocean-node/pull/444)
@@ -564,15 +595,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
564595
- Provider fees compute [`#252`](https://github.com/oceanprotocol/ocean-node/pull/252)
565596
- Updates to package.json bringing it in line with our other repositories [`#260`](https://github.com/oceanprotocol/ocean-node/pull/260)
566597
- Issue 205 ddo handling [`#239`](https://github.com/oceanprotocol/ocean-node/pull/239)
567-
- fix error on publish + no signer/no account / metadata events error [`#255`](https://github.com/oceanprotocol/ocean-node/pull/255)
598+
- fix error on publish + no signer/no account / metadata events error [`#255`](https://github.com/oceanprotocol/ocean-node/pull/255)
568599
- add config option for network interfaces, p2p and http [`#248`](https://github.com/oceanprotocol/ocean-node/pull/248)
569600
- Feature/ Add handle decrypt method [`#221`](https://github.com/oceanprotocol/ocean-node/pull/221)
570601
- Added checks for metadata events. [`#237`](https://github.com/oceanprotocol/ocean-node/pull/237)
571602
- Create collections specific for ddo versions [`#225`](https://github.com/oceanprotocol/ocean-node/pull/225)
572603
- Move commands from constants.ts to @types/commands.ts [`#244`](https://github.com/oceanprotocol/ocean-node/pull/244)
573604
- Issue 227 get environments [`#238`](https://github.com/oceanprotocol/ocean-node/pull/238)
574605
- fix unit test on commands.ts - pick mismatches in both directions [`#246`](https://github.com/oceanprotocol/ocean-node/pull/246)
575-
- Expose validateDDO on http [`#234`](https://github.com/oceanprotocol/ocean-node/pull/234)
606+
- Expose validateDDO on http [`#234`](https://github.com/oceanprotocol/ocean-node/pull/234)
576607
- Missing param validation for directCommand DOWNLOAD [`#242`](https://github.com/oceanprotocol/ocean-node/pull/242)
577608
- add c2d in ci [`#241`](https://github.com/oceanprotocol/ocean-node/pull/241)
578609
- add C2C cluster env config [`#240`](https://github.com/oceanprotocol/ocean-node/pull/240)

docs/API.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,7 @@ starts a free compute job and returns jobId if succesfull
14631463
| additionalViewers | object | | optional array of addresses that are allowed to fetch the result |
14641464
| queueMaxWaitTime | number | | optional max time in seconds a job can wait in the queue before being started |
14651465
| encryptedDockerRegistryAuth | string | | Ecies encrypted docker auth schema for image (see [Private Docker Registries with Per-Job Authentication](../env.md#private-docker-registries-with-per-job-authentication)) |
1466+
| output | string | | Ecies encrypted with instructions for uploading compute results (see [C2D result upload to remote storage](../Storage.md#c2d-result-upload-to-remote-storage)) |
14661467

14671468
#### Request
14681469

docs/GPU.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Fri Apr 25 06:00:34 2025
3737
Now, time to get the id of the gpu:
3838

3939
```bash
40-
root@gpu-1:/repos/ocean/ocean-node# nvidia-smi --query-gpu=name,uuid --format=csv
41-
name, uuid
42-
NVIDIA GeForce GTX 1060 3GB, GPU-294c6802-bb2f-fedb-f9e0-a26b9142dd81
40+
root@gpu-1:/repos/ocean/ocean-node# nvidia-smi --query-gpu=name,uuid,driver_version,memory.total --format=csv
41+
name, uuid, driver version, memory total
42+
NVIDIA GeForce GTX 1060 3GB, GPU-294c6802-bb2f-fedb-f9e0-a26b9142dd81, 570.195.03, 3072 MiB
4343
```
4444

4545
Now, we can define the gpu for node:
@@ -56,7 +56,9 @@ Now, we can define the gpu for node:
5656
"DeviceIDs": ["GPU-294c6802-bb2f-fedb-f9e0-a26b9142dd81"],
5757
"Capabilities": [["gpu"]]
5858
}
59-
}
59+
},
60+
"driverVersion": "570.195.03",
61+
"memoryTotal": "3072 MiB"
6062
}
6163
```
6264

@@ -80,7 +82,9 @@ Here is the full definition of DOCKER_COMPUTE_ENVIRONMENTS:
8082
"DeviceIDs": ["GPU-294c6802-bb2f-fedb-f9e0-a26b9142dd81"],
8183
"Capabilities": [["gpu"]]
8284
}
83-
}
85+
},
86+
"driverVersion": "570.195.03",
87+
"memoryTotal": "3072 MiB"
8488
},
8589
{ "id": "disk", "total": 1 }
8690
],
@@ -93,7 +97,7 @@ Here is the full definition of DOCKER_COMPUTE_ENVIRONMENTS:
9397
"feeToken": "0x123",
9498
"prices": [
9599
{ "id": "cpu", "price": 1 },
96-
{ "id": "nyGPU", "price": 3 }
100+
{ "id": "myGPU", "price": 3 }
97101
]
98102
}
99103
]
@@ -161,6 +165,8 @@ root@gpu-1:/repos/ocean/ocean-node# curl http://localhost:8000/api/services/comp
161165
"Capabilities": [["gpu"]]
162166
}
163167
},
168+
"driverVersion": "570.195.03",
169+
"memoryTotal": "3072 MiB",
164170
"max": 1,
165171
"min": 0,
166172
"inUse": 0
@@ -259,7 +265,9 @@ Then define DOCKER_COMPUTE_ENVIRONMENTS with
259265
"seccomp": "unconfined"
260266
}
261267
}
262-
}
268+
},
269+
"driverVersion": "26.2.2",
270+
"memoryTotal": "16384 MiB"
263271
},
264272
{
265273
"id": "disk",
@@ -316,8 +324,7 @@ Then define DOCKER_COMPUTE_ENVIRONMENTS with
316324
aka
317325

318326
```bash
319-
export DOCKER_COMPUTE_ENVIRONMENTS="[{\"socketPath\":\"/var/run/docker.sock\",\"resources\":[{\"id\":\"myGPU\",\"description\":\"AMD Radeon RX 9070 XT\",\"type\":\"gpu\",\"total\":1,\"init\":{\"advanced\":{
320-
\"IpcMode\":\"host\",\"CapAdd\":[\"CAP_SYS_PTRACE\"],\"Devices\":[\"/dev/dxg\",\"/dev/dri/card0\"],\"Binds\":[\"/usr/lib/wsl/lib/libdxcore.so:/usr/lib/libdxcore.so\",\"/opt/rocm/lib/libhsa-runtime64.so.1:/opt/rocm/lib/libhsa-runtime64.so.1\"],\"SecurityOpt\":{\"seccomp\":\"unconfined\"}}}},{\"id\":\"disk\",\"total\":10}],\"storageExpiry\":604800,\"maxJobDuration\":3600,\"minJobDuration\":60,\"fees\":{\"1\":[{\"feeToken\":\"0x123\",\"prices\":[{\"id\":\"cpu\",\"price\":1},{\"id\":\"nyGPU\",\"price\":3}]}]},\"free\":{\"maxJobDuration\":60,\"minJobDuration\":10,\"maxJobs\":3,\"resources\":[{\"id\":\"cpu\",\"max\":1},{\"id\":\"ram\",\"max\":1},{\"id\":\"disk\",\"max\":1},{\"id\":\"myGPU\",\"max\":1}]}}]"
327+
export DOCKER_COMPUTE_ENVIRONMENTS='[{"socketPath":"/var/run/docker.sock","resources":[{"id":"myGPU","description":"AMD Radeon RX 9070 XT","type":"gpu","total":1,"init":{"advanced":{"IpcMode":"host","ShmSize":8589934592,"CapAdd":["SYS_PTRACE"],"Devices":["/dev/dxg","/dev/dri/card0"],"Binds":["/usr/lib/wsl/lib/libdxcore.so:/usr/lib/libdxcore.so","/opt/rocm/lib/libhsa-runtime64.so.1:/opt/rocm/lib/libhsa-runtime64.so.1"],"SecurityOpt":{"seccomp":"unconfined"}}},"driverVersion":"26.2.2","memoryTotal":"16384 MiB"},{"id":"disk","total":1}],"storageExpiry":604800,"maxJobDuration":3600,"minJobDuration":60,"fees":{"1":[{"feeToken":"0x123","prices":[{"id":"cpu","price":1},{"id":"nyGPU","price":3}]}]},"free":{"maxJobDuration":60,"minJobDuration":10,"maxJobs":3,"resources":[{"id":"cpu","max":1},{"id":"ram","max":1},{"id":"disk","max":1},{"id":"myGPU","max":1}]}}]'
321328
```
322329

323330
you should have it in your compute envs:
@@ -390,6 +397,8 @@ root@gpu-1:/repos/ocean/ocean-node# curl http://localhost:8000/api/services/comp
390397
}
391398
}
392399
},
400+
"driverVersion": "26.2.2",
401+
"memoryTotal": "16384 MiB",
393402
"max": 1,
394403
"min": 0,
395404
"inUse": 0
@@ -541,7 +550,9 @@ Now, we can define the GPU for the node:
541550
"GroupAdd": ["video", "render"],
542551
"CapAdd": ["SYS_ADMIN"]
543552
}
544-
}
553+
},
554+
"driverVersion": "32.0.101.8531",
555+
"memoryTotal": "16384 MiB"
545556
}
546557
```
547558

@@ -563,7 +574,9 @@ Here is the full definition of DOCKER_COMPUTE_ENVIRONMENTS with Intel GPU:
563574
"GroupAdd": ["video", "render"],
564575
"CapAdd": ["SYS_ADMIN"]
565576
}
566-
}
577+
},
578+
"driverVersion": "32.0.101.8531",
579+
"memoryTotal": "16384 MiB"
567580
},
568581
{ "id": "disk", "total": 1 }
569582
],
@@ -644,6 +657,8 @@ root@gpu-1:/repos/ocean/ocean-node# curl http://localhost:8000/api/services/comp
644657
"CapAdd": ["SYS_ADMIN"]
645658
}
646659
},
660+
"driverVersion": "32.0.101.8531",
661+
"memoryTotal": "16384 MiB"
647662
"max": 1,
648663
"min": 0,
649664
"inUse": 0

0 commit comments

Comments
 (0)