fix: error caused by --skip-load-actors#6260
Conversation
WalkthroughThe pull request removes the Changes
Sequence Diagram(s)sequenceDiagram
participant Main as Forest Main
participant Daemon as Daemon
participant Rewind as maybe_rewind_heaviest_tipset
participant Store as Actor Store
Main->>Daemon: start_services()
rect rgb(240, 248, 255)
Note over Daemon: NEW: Check stateless && skip_load_actors flags
end
alt NOT (stateless OR skip_load_actors)
Daemon->>Rewind: Call rewind
alt Success
Rewind->>Store: Access actor data
Rewind-->>Daemon: Success
else Error (e.g., missing actors)
rect rgb(255, 240, 240)
Note over Daemon: NEW: Log warning instead of fail
end
Rewind-->>Daemon: Error
Daemon->>Daemon: Log error as warning
Daemon-->>Main: Continue
end
else Stateless OR skip_load_actors
rect rgb(255, 250, 205)
Note over Daemon: NEW: Skip rewind call
end
Daemon-->>Main: Continue
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings📚 Learning: 2025-09-16T12:55:26.955ZApplied to files:
📚 Learning: 2025-08-07T09:37:03.079ZApplied to files:
🧬 Code graph analysis (1)src/daemon/mod.rs (3)
⏰ 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). (6)
🔇 Additional comments (3)
Comment |
| pkill -9 forest || true | ||
| local filter_list=$1 | ||
|
|
||
| $FOREST_PATH --chain calibnet --encrypt-keystore false --log-dir "$LOG_DIRECTORY" --skip-load-actors --stateless --rpc-filter-list "$filter_list" & |
There was a problem hiding this comment.
--stateless implies --skip-load-actors
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #6259
Other information and links
Change checklist
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.