Conversation
…de it are forwarded
Manual Deploy AvailableYou can trigger a manual deploy of this PR branch to testnet: Alternative: Comment
Comment updated automatically when the PR is synchronized. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new test is added to verify the deduplication window behavior in SubMuxClient. The test creates a scenario where identical updates with the same pubkey and slot are sent from different clients, checking that the first update passes through, subsequent updates within the dedup window are suppressed, and updates received after the window expires are forwarded again. The test uses a 100ms dedup window and includes sleep periods to validate behavior across time boundaries. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Analysis: Can Same-Slot Duplicates Escape?Path 1: Two Forwarders, Same
|
* master: fix: error serialization (#1098)
Summary
Add test demonstrating dedup window expiry behavior in account updates. The test verifies that duplicate updates are suppressed within the dedup window and properly forwarded once the window expires.
Details
magicblock-chainlink
Added
test_dedup_same_slot_after_window_expires()to verify the submux deduplication behavior respects its configured window duration:This ensures that the deduplication window expiry edge case is properly handled and doesn't inadvertently drop updates once the window expires.
Summary by CodeRabbit
Note: This release contains internal test improvements with no user-facing changes.