Skip to content

Commit 3bf8500

Browse files
committed
Clean up
1 parent e7cf691 commit 3bf8500

File tree

5 files changed

+2
-44
lines changed

5 files changed

+2
-44
lines changed

.github/workflows/integration-test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ jobs:
175175
run: just run-test-authorize-and-store "${{ env.TEST_DIR }}" "bulletin-westend-runtime" "smoldot"
176176

177177
- name: Test store-chunked-data (Westend parachain)
178-
# TODO: rewrite to PAPI
179-
continue-on-error: true
180178
working-directory: examples
181179
run: just run-test-store-chunked-data "${{ env.TEST_DIR }}"
182180

@@ -212,8 +210,6 @@ jobs:
212210
run: just run-test-authorize-and-store "${{ env.TEST_DIR }}" "bulletin-polkadot-runtime" "smoldot"
213211

214212
- name: Test store-chunked-data (Polkadot solochain)
215-
# TODO: rewrite to PAPI
216-
continue-on-error: true
217213
working-directory: examples
218214
run: just run-test-store-chunked-data "${{ env.TEST_DIR }}"
219215

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ package-lock.json
1919
.papi/
2020

2121
# Local test files
22-
examples/retrieved_picture.*
2322
kubo/
2423
zombienet-*

examples/cid_dag_metadata.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export async function buildUnixFSDagPB(chunks, mhCode = 0x12) {
1414
throw new Error('❌ buildUnixFSDag: chunks[] is empty')
1515
}
1616

17-
// UnixFS blockSizes = sizes of child blocks (must be regular numbers, not BigInt)
18-
const blockSizes = chunks.map(c => Number(c.len))
17+
// UnixFS blockSizes = sizes of child blocks (must be BigInt for ipfs-unixfs v11+)
18+
const blockSizes = chunks.map(c => BigInt(c.len))
1919

2020
console.log(`🧩 Building UnixFS DAG from chunks:
2121
• totalChunks: ${chunks.length}

examples/download/.gitkeep

Whitespace-only changes.

examples/picture.svg

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)