-
Notifications
You must be signed in to change notification settings - Fork 0
Add fallback mode tests to block generator #893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughA new test file for the Generator's block creation logic in fallback mode has been added with comprehensive test coverage. The file includes mock data structures for validators and blockchain primitives, helper functions to construct mock databases and expected blocks, and test cases covering block creation for same-epoch slots and epoch boundary transitions. Tests verify exact block structure including headers, extrinsics, seals, and epoch markers using mocked VRF and WASM bindings. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
View all
Benchmarks summary: 83/83 OK ✅ |
No description provided.