Skip to content

Forest fails on skip-load-actors on devnet #6259

@LesnyRumcajs

Description

@LesnyRumcajs

Describe the bug

Follow-up of FilecoinFoundationWeb/Filecoin-Antithesis#141

Forest fails with this https://gist.github.com/parthshah1/579409ce60eb3910e9ca5d8a4f6432a9 when skipping loading actor bundles. This is caused by #6193

To reproduce

Run a devnet, e.g.,

❯ forest --encrypt-keystore false --chain 2k --skip-load-actors --genesis ../../Filecoin-Antithesis/data/lotus-1/devgen.car

Log output

2025-11-21T00:45:33.394242Z  INFO forest::daemon::main: Using default 2k config
2025-11-21T00:45:33.394941Z  INFO forest::daemon: Starting Forest daemon, version 0.30.4+git.ad8485c70
2025-11-21T00:45:33.395045Z  INFO forest::db::gc::snapshot: Running snapshot GC scheduler with interval epochs 20160
2025-11-21T00:45:33.396102Z  INFO forest::db::migration::db_migration: No database migration required
2025-11-21T00:45:33.405226Z  INFO forest::daemon::db_util: Loaded 0 CARs
2025-11-21T00:45:33.408061Z  INFO forest::genesis: Initialized genesis: bafy2bzacebudspq2w2tarrvpyi3qb63pbrji5fh6oicszmfmw5qkt2fy7rwt2
2025-11-21T00:45:33.408138Z  WARN forest::daemon::context: Forest has encryption disabled
2025-11-21T00:45:33.408230Z  INFO forest::daemon::context: Admin token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJBbGxvdyI6WyJyZWFkIiwid3JpdGUiLCJzaWduIiwiYWRtaW4iXSwiZXhwIjo0OTE3Mjg1OTMzfQ.HULcoJyFUAV-k4I6lqJv5PxYSwaeiIbNp-H1CRpp91E
2025-11-21T00:45:33.408361Z  INFO forest::daemon: Using network :: 2k
[src/daemon/mod.rs:598:5] "Rewinding?" = "Rewinding?"
2025-11-21T00:45:33.441746Z  INFO forest::daemon::main: Shutting down tokio...
2025-11-21T00:45:33.442235Z  INFO forest::daemon::main: Forest finish shutdown
Error: Entry not found in cbor store: cid=bafy2bzaceasjdukhhyjbegpli247vbf5h64f7uvxhhebdihuqsj2mwisdwa6o, type=(u32, cid::cid::Cid<64>)

Expected behaviour

Forest doesn't fail.

Screenshots

Environment (please complete the following information):

  • OS: Linux & MacOS
  • Branch/commit ad8485c
  • Hardware

Other information and links

We should consider either removing this flag or fixing the logic in the rewind function.

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions