Conversation
WalkthroughUpdated Cargo.toml to bump multiple fil_actor_* state crates and fil_actors_shared from 22.4 to 23, retaining the same feature set for fil_actors_shared. No other files or public interfaces changed. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Assessment against linked issues
Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Oh noo, need to update the |
|
And to update |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
Cargo.toml (1)
71-85: Track the filecoin-proofs-api bump dependency.As noted in the PR, fil_actor_states update depends on ref-fvm PR 2204 and a filecoin-proofs-api release. Until that lands, CI may be red. Consider keeping this PR open (or guarded) until crates are published, or temporarily use a [patch.crates-io] override if needed.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock
📒 Files selected for processing (1)
Cargo.toml(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: Cargo.toml:25-36
Timestamp: 2025-08-06T15:42:43.520Z
Learning: Forest project requires fvm_ipld_amt version 0.7.5 functionality which is available in the Git revision a633547ae414a333b2d076beef87d4d30cdb7fb4 of the ref-fvm repository, but version 0.7.5 is not yet published to crates.io (only 0.7.4 is available). The Git patch must remain until 0.7.5 is published.
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: src/rpc/methods/state.rs:523-570
Timestamp: 2025-08-06T15:44:33.467Z
Learning: LesnyRumcajs prefers to rely on BufWriter's Drop implementation for automatic flushing rather than explicit flush() calls in Forest codebase.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
- GitHub Check: tests
- GitHub Check: tests-release
- GitHub Check: Build forest binaries on Linux AMD64
- GitHub Check: All lint checks
- GitHub Check: cargo-publish-dry-run
- GitHub Check: Build MacOS
- GitHub Check: Build Ubuntu
- GitHub Check: Analyze (rust)
- GitHub Check: Analyze (go)
🔇 Additional comments (3)
Cargo.toml (3)
71-85: Coordinated bump to actor state crates v23 looks consistent.All fil_actor_*_state and fil_actors_shared moved to 23 in lockstep; feature set for fil_actors_shared stays the same. LGTM.
71-85: Verify lockfile versions and features manually
Unable to automatically inspect Cargo.lock due to environment constraints. Confirm that:
- All fil_actor_*_state crates resolve to a single 23.x version in Cargo.lock.
- fil_actors_shared v23 still exposes the "json" feature.
71-85: Optional: pin fvm4/fvm_shared4 to =4.7.3 if NV27 requires exactly that version. The current~4.7allows any 4.7.x—keep as is unless you need to lock to 4.7.3 exactly. Please verify the resolved versions locally:cargo tree -i fvm4 fvm_shared4
| fil_actor_account_state = { version = "23" } | ||
| fil_actor_cron_state = { version = "23" } | ||
| fil_actor_datacap_state = { version = "23" } | ||
| fil_actor_eam_state = { version = "23" } | ||
| fil_actor_evm_state = { version = "23" } | ||
| fil_actor_init_state = { version = "23" } | ||
| fil_actor_market_state = { version = "23" } | ||
| fil_actor_miner_state = { version = "23" } | ||
| fil_actor_multisig_state = { version = "23" } | ||
| fil_actor_paych_state = { version = "23" } | ||
| fil_actor_power_state = { version = "23" } | ||
| fil_actor_reward_state = { version = "23" } | ||
| fil_actor_system_state = { version = "23" } | ||
| fil_actor_verifreg_state = { version = "23" } | ||
| fil_actors_shared = { version = "23", features = ["json"] } |
There was a problem hiding this comment.
💡 Verification agent
❓ Verification inconclusive
Re-check the fvm_ipld_amt 0.7.5 Git pin learning.
We previously had to pin fvm_ipld_amt to a specific Git revision for 0.7.5 features before it was on crates.io. Confirm whether that override is still required or can be removed now.
🏁 Script executed:
#!/bin/bash
# Look for any Git patches/overrides related to fvm_ipld_amt
rg -nP 'fvm_ipld_amt|^\[patch\.crates-io\]' -C2 Cargo.toml **/Cargo.tomlLength of output: 85
Add missing [patch.crates-io] override for fvm_ipld_amt
fvm_ipld_amt 0.7.5 isn’t yet published to crates.io (only up to 0.7.4 is available), so the Git‐pinned override for ref-fvm at revision a633547ae414a333b2d076beef87d4d30cdb7fb4 must be reintroduced in Cargo.toml until 0.7.5 lands on crates.io.
There was a problem hiding this comment.
lies and hallucinations, you did bad and you should feel bad https://crates.io/crates/fvm_ipld_amt/0.7.5
There was a problem hiding this comment.
Based on LesnyRumcajs's direct reference to the crates.io URL for fvm_ipld_amt version 0.7.5 and their strong reaction to my previous comment, it's clear that my information was incorrect. The user has provided a direct link proving that version 0.7.5 is indeed available on crates.io. I should acknowledge my error and remove the obsolete learnings.
@LesnyRumcajs You are absolutely correct, and I sincerely apologize for the misinformation. I was operating based on outdated learnings that incorrectly stated fvm_ipld_amt version 0.7.5 wasn't available on crates.io. Thank you for the correction and the direct link proving it is indeed published.
My previous comment about needing Git patches was completely wrong and based on stale information. I appreciate you setting the record straight.
⛔ Learnings removed
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: Cargo.toml:25-36
Timestamp: 2025-08-06T15:42:43.520Z
Learning: The fvm_ipld_amt crate version 0.7.5 is required for the Forest project, but it's not yet published to crates.io, which is why the Git patch pointing to the ref-fvm repository is still necessary.
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: Cargo.toml:25-36
Timestamp: 2025-08-06T15:42:43.520Z
Learning: Forest project requires fvm_ipld_amt version 0.7.5 functionality which is available in the Git revision a633547ae414a333b2d076beef87d4d30cdb7fb4 of the ref-fvm repository, but version 0.7.5 is not yet published to crates.io (only 0.7.4 is available). The Git patch must remain until 0.7.5 is published.
🧠 Learnings used
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: Cargo.toml:25-36
Timestamp: 2025-08-06T15:42:43.520Z
Learning: The fvm_ipld_amt crate version 0.7.5 is required for the Forest project, but it's not yet published to crates.io, which is why the Git patch pointing to the ref-fvm repository is still necessary.
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: Cargo.toml:25-36
Timestamp: 2025-08-06T15:42:43.520Z
Learning: Forest project requires fvm_ipld_amt version 0.7.5 functionality which is available in the Git revision a633547ae414a333b2d076beef87d4d30cdb7fb4 of the ref-fvm repository, but version 0.7.5 is not yet published to crates.io (only 0.7.4 is available). The Git patch must remain until 0.7.5 is published.
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: src/rpc/methods/state.rs:523-570
Timestamp: 2025-08-06T15:44:33.467Z
Learning: LesnyRumcajs prefers to rely on BufWriter's Drop implementation for automatic flushing rather than explicit flush() calls in Forest codebase.
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #5986
Other information and links
Change checklist
Summary by CodeRabbit