feat(crosschain): add event containing error when inbound processing fail#4061
feat(crosschain): add event containing error when inbound processing fail#4061
crosschain): add event containing error when inbound processing fail#4061Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 📝 WalkthroughWalkthroughA new event type, Changes
Sequence Diagram(s)sequenceDiagram
participant EVMHook as Keeper.ProcessLogs
participant EventUtil as EmitInboundProcessingFailure
participant EventMgr as Context.EventManager
EVMHook->>EVMHook: ProcessZEVMInboundV2(log)
alt On error
EVMHook->>EventUtil: EmitInboundProcessingFailure(ctx, log.TxHash, error)
EventUtil->>EventMgr: Emit EventInboundProcessingFailure
EventUtil-->>EVMHook: Log error if emission fails
EVMHook-->>EVMHook: Return wrapped error
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes ✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4061 +/- ##
========================================
Coverage 64.94% 64.94%
========================================
Files 475 475
Lines 35133 35136 +3
========================================
+ Hits 22817 22820 +3
Misses 11243 11243
Partials 1073 1073
🚀 New features to boost your workflow:
|
Description
In the future, this will allow to check in the Cosmos tx associated with an inobund, the reason for the failure at the processing level
Summary by CodeRabbit