Skip to content

Commit 5deae57

Browse files
authored
Merge branch 'main' into hm/shed-miner-fees
2 parents d622463 + fbb4f9e commit 5deae57

57 files changed

Lines changed: 1632 additions & 291 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "[automated] `cargo deny check advisories` failure @ {{ date | date('D/M/YY HH:mm') }}"
3+
labels: ["Bug"]
4+
---
5+
6+
## Description
7+
8+
Please [check the logs]({{ env.WORKFLOW_URL }}) for more information.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: cargo deny advisories
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
jobs:
7+
rpc-parity:
8+
name: cargo deny advisories
9+
runs-on: ubuntu-24.04-arm
10+
steps:
11+
- uses: actions/checkout@v4
12+
- run: make install-cargo-binstall
13+
- run: cargo binstall --no-confirm cargo-deny
14+
- run: cargo deny check advisories
15+
- name: Set WORKFLOW_URL
16+
if: failure()
17+
run: |
18+
export WORKFLOW_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
19+
echo ${WORKFLOW_URL}
20+
echo "WORKFLOW_URL=${WORKFLOW_URL}" >> $GITHUB_ENV
21+
- uses: JasonEtco/create-an-issue@v2
22+
if: failure()
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
with:
26+
filename: .github/CARGO_ADVISORIES_ISSUE_TEMPLATE.md

.github/workflows/docs-auto-update.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
uses: peter-evans/create-pull-request@v7
2626
with:
2727
base: main
28+
branch: leshy/update-forest-docs
2829
token: ${{ secrets.ACTIONS_PAT }}
2930
commit-message: Update Forest CLI docs
3031
title: "[automated] Update Forest CLI docs"

.github/workflows/docs-required-override.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ jobs:
5858
- '!**.md'
5959
- '!.github/workflows/docs-*.yml'
6060
61+
override_calibnet_rpc_checks:
62+
name: Calibnet RPC checks
63+
runs-on: ubuntu-24.04-arm
64+
needs:
65+
- changes-docs
66+
- changes-not-docs
67+
if: ${{ (needs.changes-docs.outputs.changesFound == 'true') && (needs.changes-not-docs.outputs.otherChangesFound == 'false') }}
68+
steps:
69+
- run: echo "No-op job to trigger the required checks."
70+
6171
override_integration_tests:
6272
name: Integration tests status
6373
runs-on: ubuntu-24.04-arm

.github/workflows/forest.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
pull_request:
99
branches:
1010
- main
11+
# This needs to be declared explicitly so that the RPC checks job is actually
12+
# run when PR is labeled.
13+
types: [opened, synchronize, reopened, labeled, unlabeled]
1114
paths-ignore:
1215
- 'docs/**'
1316
- '.github/workflows/docs-*.yml'
@@ -505,6 +508,54 @@ jobs:
505508
- name: Dump docker logs
506509
if: always()
507510
uses: jwalton/gh-docker-logs@v2
511+
calibnet-rpc-checks-no-ops:
512+
name: Calibnet RPC checks
513+
runs-on: ubuntu-24.04-arm
514+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'RPC') }}
515+
steps:
516+
- run: echo "No-op job to trigger the required calibnet RPC checks."
517+
calibnet-rpc-checks:
518+
if: ${{ contains(github.event.pull_request.labels.*.name, 'RPC') }}
519+
needs:
520+
- build-ubuntu
521+
name: Calibnet RPC checks
522+
runs-on: ubuntu-24.04
523+
env:
524+
# We use a custom Dockerfile for CI to speed up the build process.
525+
FOREST_DOCKERFILE_OVERRIDE: scripts/devnet/forest_ci.dockerfile
526+
steps:
527+
# Remove some unnecessary software to free up space. This should free up around 15-20 GB.
528+
# This is required because of the limited space on the runner,
529+
# and disk space-hungry snapshots used in the setup.
530+
# This is taken from:
531+
# https://github.com/easimon/maximize-build-space/blob/fc881a613ad2a34aca9c9624518214ebc21dfc0c/action.yml#L121-L136
532+
# Using the action directly is not feasible as it does some more modifications that break the setup in our case.
533+
- name: Remove unnecessary software
534+
run: |
535+
echo "Disk space before cleanup"
536+
df -h
537+
sudo rm -rf /usr/share/dotnet
538+
sudo rm -rf /usr/local/lib/android
539+
sudo rm -rf /opt/ghc
540+
sudo rm -rf /opt/hostedtoolcache/CodeQL
541+
echo "Disk space after cleanup"
542+
df -h
543+
- uses: actions/checkout@v4
544+
- uses: actions/download-artifact@v4
545+
with:
546+
name: 'forest-${{ runner.os }}'
547+
- name: Run api compare tests
548+
run: ./scripts/tests/api_compare/setup.sh
549+
timeout-minutes: '${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }}'
550+
- name: Dump docker logs
551+
if: always()
552+
uses: jwalton/gh-docker-logs@v2
553+
- name: Dump Docker usage
554+
if: always()
555+
run: |
556+
docker system df
557+
docker system df --verbose
558+
df -h
508559
# Umbrella job to aggregate all integration tests and get their status
509560
integration-tests-status:
510561
needs:

.github/workflows/lotus-api-bump.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: peter-evans/create-pull-request@v7
3333
with:
3434
base: main
35+
branch: leshy/update-lotus-version
3536
token: ${{ secrets.ACTIONS_PAT }}
3637
commit-message: Update Lotus dependency
3738
title: "[automated] Update Lotus version in API tests"

.github/workflows/rpc-parity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
echo ${WORKFLOW_URL}
5353
echo "WORKFLOW_URL=${WORKFLOW_URL}" >> $GITHUB_ENV
5454
- uses: JasonEtco/create-an-issue@v2
55-
if: failure()
55+
if: github.ref == 'refs/heads/main' && failure()
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
with:

.github/workflows/rust-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
command: |
6262
sudo apt-get install -y libclang-dev # required dep for cargo-spellcheck
6363
- name: Install Lint tools
64-
run: make install-lint-tools-ci-arm
64+
run: make install-lint-tools-ci
6565
env:
6666
RUSTFLAGS: "-Cstrip=symbols"
6767
- run: make lint-all

.github/workflows/snapshot-parity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
echo ${WORKFLOW_URL}
2424
echo "WORKFLOW_URL=${WORKFLOW_URL}" >> $GITHUB_ENV
2525
- uses: JasonEtco/create-an-issue@v2
26-
if: failure()
26+
if: github.ref == 'refs/heads/main' && failure()
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
with:

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,42 @@
2626
## Forest unreleased
2727

2828
### Breaking
29+
- [#5559](https://github.com/ChainSafe/forest/pull/5559) Change `Filecoin.ChainGetMinBaseFee` to `Forest.ChainGetMinBaseFee` with read access.
2930

3031
### Added
3132

3233
### Changed
3334

35+
- [#5467](https://github.com/ChainSafe/forest/pull/5467) Improve error message for `Filecoin.EthEstimateGas` and `Filecoin.EthCall`.
36+
3437
### Removed
3538

3639
### Fixed
3740

41+
## Forest v0.25.3 "Sméagol"
42+
43+
This is a non-mandatory, but highly recommended, release targeting the mainnet node operators. It includes a fix preventing the node from duplicate, costly migrations. Given the upcoming network upgrade state migration is expected to be slow, we recommend upgrading your Forest node before `Mon 14 Apr 23:00:00 UTC 2025`.
44+
45+
### Fixed
46+
47+
- [#5512](https://github.com/ChainSafe/forest/pull/5512) Fixed `Filecoin.EthTraceFilter` RPC method.
48+
- [#5517](https://github.com/ChainSafe/forest/issues/5517) Fix the `forest-cli sync wait` issue
49+
- [#5540](https://github.com/ChainSafe/forest/pull/5540) Avoid duplicate migrations.
50+
51+
## Forest v0.25.2 "Fool of a Took"
52+
53+
This is a mandatory release for mainnet and calibnet node operators. It introduces a fix upgrade for calibnet at epoch `2_558_014` which corresponds to `Mon 7 Apr 23:00:00 UTC 2025` and changes the mainnet upgrade epoch for the NV25 _Teep_ to `4_878_840` which corresponds to `Mon 14 Apr 23:00:00 UTC 2025`.
54+
55+
See [here](https://github.com/filecoin-project/community/discussions/74#discussioncomment-12720764) for details on the issue.
56+
57+
### Changed
58+
59+
- [#5515](https://github.com/ChainSafe/forest/pull/5515) Changed the mainnet upgrade epoch for the NV25 _Teep_ to `4_878_840` which corresponds to `Mon 14 Apr 23:00:00 UTC 2025`.
60+
61+
### Fixed
62+
63+
- [#5515](https://github.com/ChainSafe/forest/pull/5515) Introduced a fix network upgrade for the calibnet `Tock`.
64+
3865
## Forest v0.25.1 "Goldberry"
3966

4067
This is a mandatory release for mainnet node operators. It includes the NV25 _Teep_ network upgrade at epoch `4_867_320` which corresponds to `10 Apr 23:00:00 UTC 2025`. This release also includes a few fixes, most notably a database migration speed up that used to give certain important people a massive headache. Forest Prometheus metrics have been cleaned and you can look them up in the [documentation](https://docs.forest.chainsafe.io/reference/metrics).

0 commit comments

Comments
 (0)