-
Notifications
You must be signed in to change notification settings - Fork 2
Add address field to EoaExecutorEvent and related structures #18
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
- Introduced an `address` field in `EoaExecutorEvent` to capture the user's request address. - Updated the `EoaSendAttemptSuccessData` structure to include the address. - Modified event creation in various store implementations to populate the new address field from user requests. - Enhanced webhook event handling to include address information for better tracking and reporting of transaction outcomes.
Caution Review failedThe pull request is closed. WalkthroughThe changes introduce an Changes
Sequence Diagram(s)sequenceDiagram
participant Store
participant EventBuilder
participant Webhook
Store->>EventBuilder: Create EoaExecutorEvent (with address)
EventBuilder->>Webhook: send_attempt_success_envelope(submitted_transaction)
Note right of EventBuilder: Wraps transaction + address in EoaSendAttemptSuccessData
Webhook-->>EventBuilder: Notification with SerializableSuccessData<EoaSendAttemptSuccessData>
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches
🪧 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
CodeRabbit Configuration File (
|
@@ -16,6 +17,7 @@ use crate::{ | |||
|
|||
pub struct EoaExecutorEvent { | |||
pub transaction_id: String, | |||
pub address: Address, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this eoa_address so it matches the 7702 one?
address
field inEoaExecutorEvent
to capture the user's request address.EoaSendAttemptSuccessData
structure to include the address.Summary by CodeRabbit
New Features
Improvements
Bug Fixes