Skip to content

Commit fe42754

Browse files
committed
Merge remote-tracking branch 'origin/main' into hm/snapshot-export-unordered
2 parents 90d06e9 + b997fd5 commit fe42754

48 files changed

Lines changed: 807 additions & 343 deletions

File tree

Some content is hidden

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

.config/forest.dic

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ unrepresentable
129129
untrusted
130130
URL
131131
UUID
132+
v0
133+
v1
134+
v2
132135
validator/S
133136
varint
134137
verifier

.github/workflows/forest.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,30 @@ jobs:
281281
- name: Set permissions
282282
run: |
283283
chmod +x ~/.cargo/bin/forest*
284-
- name: Snapshot export check
285-
run: ./scripts/tests/calibnet_export_check.sh
284+
- name: Snapshot export check v1
285+
run: ./scripts/tests/calibnet_export_check.sh v1
286+
timeout-minutes: ${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }}
287+
calibnet-export-check-v2:
288+
needs:
289+
- build-ubuntu
290+
name: Snapshot export checks v2
291+
runs-on: ubuntu-24.04
292+
steps:
293+
- run: lscpu
294+
- uses: actions/cache@v4
295+
with:
296+
path: "${{ env.FIL_PROOFS_PARAMETER_CACHE }}"
297+
key: proof-params-keys
298+
- uses: actions/checkout@v4
299+
- uses: actions/download-artifact@v4
300+
with:
301+
name: "forest-${{ runner.os }}"
302+
path: ~/.cargo/bin
303+
- name: Set permissions
304+
run: |
305+
chmod +x ~/.cargo/bin/forest*
306+
- name: Snapshot export check v2
307+
run: ./scripts/tests/calibnet_export_check.sh v2
286308
timeout-minutes: ${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }}
287309
calibnet-no-discovery-checks:
288310
needs:

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929

3030
### Added
3131

32+
- [#5835](https://github.com/ChainSafe/forest/issues/5835) Add `--format` flag to the `forest-cli snapshot export` subcommand. This allows exporting a Filecoin snapshot in v2 format(FRC-0108).
33+
34+
- [#5835](https://github.com/ChainSafe/forest/issues/5835) Add `forest-tool archive metadata` subcommand for inspecting snapshot metadata of a Filecoin snapshot in v2 format(FRC-0108).
35+
3236
- [#5859](https://github.com/ChainSafe/forest/pull/5859) Added size metrics for zstd frame cache and made max size configurable via `FOREST_ZSTD_FRAME_CACHE_DEFAULT_MAX_SIZE` environment variable.
3337

3438
- [#5867](https://github.com/ChainSafe/forest/pull/5867) Added `--unordered` to `forest-cli snapshot export` for exporting `CAR` blocks in non-deterministic order for better performance with more parallelization.
@@ -55,7 +59,7 @@ This is a non-mandatory release recommended for all node operators. It includes
5559

5660
- [#5739](https://github.com/ChainSafe/forest/issues/5739) Add `--export-mode` flag to the `forest-tool archive sync-bucket` subcommand. This allows exporting and uploading only the required files.
5761

58-
- [#5778](https://github.com/ChainSafe/forest/pull/5778) Feat generate a detailed test report in `api compare` command through `--report-dir` and `--report-mode`
62+
- [#5778](https://github.com/ChainSafe/forest/pull/5778) Feat generate a detailed test report in `api compare` command through `--report-dir` and `--report-mode`.
5963

6064
### Changed
6165

Cargo.lock

Lines changed: 48 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)