fix: fix invalid conversion when syncing from genesis on calibnet#6431
fix: fix invalid conversion when syncing from genesis on calibnet#6431LesnyRumcajs merged 1 commit intomainfrom
Conversation
WalkthroughThe changes add a validation guard in FvmV2's StateTree::get_actor to reject Delegated addresses with an error message, preventing a panic during genesis snapshot import. A changelog entry documents this fix for issue Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/*.rs📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-09-02T10:05:34.350ZApplied to files:
📚 Learning: 2026-01-05T12:54:40.850ZApplied to files:
📚 Learning: 2026-01-05T12:56:13.802ZApplied to files:
🧬 Code graph analysis (1)src/shim/state_tree.rs (1)
⏰ 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). (8)
🔇 Additional comments (2)
✏️ Tip: You can disable this entire section by setting Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 14 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Summary of changes
Changes introduced in this pull request:
Addressshim, but this would incur cost for all shim-to-type conversions; given this fails only for FVM2 which is seldom used, this doesn't make economical sense.Reference issue to close (if applicable)
Closes #6430
Other information and links
Change checklist
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.