-
Couldn't load subscription status.
- Fork 8
fix formatter for trace event fields #28
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
WalkthroughThis set of changes standardizes logging across the codebase by removing or altering the use of explicit formatting specifiers (notably Changes
Sequence Diagram(s)Bundler Transaction Hash Retrieval (Old vs. New)Old Flow (Option)sequenceDiagram
participant Executor
participant BundlerClient
Executor->>BundlerClient: tw_get_transaction_hash()
BundlerClient-->>Executor: Option<String> (Some(hash) or None)
Executor->>Executor: If Some(hash): Success\nIf None: Error (not found)
New Flow (Tagged Enum)sequenceDiagram
participant Executor
participant BundlerClient
Executor->>BundlerClient: tw_get_transaction_hash()
BundlerClient-->>Executor: TwGetTransactionHashResponse (Pending or Success{hash})
Executor->>Executor: If Success: parse hash\nIf Pending: return "not yet confirmed" error
EOA Store: Paginated Pending Transaction PeeksequenceDiagram
participant Client
participant EoaExecutorStore
participant Redis
Client->>EoaExecutorStore: peek_pending_transactions_paginated(offset, limit)
EoaExecutorStore->>Redis: ZRANGE pending_tx (offset, offset+limit-1)
Redis-->>EoaExecutorStore: [tx_id, timestamp]*
EoaExecutorStore->>Redis: HGET user_request for each tx_id
Redis-->>EoaExecutorStore: [user_request_json]*
EoaExecutorStore-->>Client: [PendingTransaction]*
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (24)
🧰 Additional context used🧠 Learnings (2)📚 Learning: the eoa executor store uses comprehensive watch-based coordination where every redis state mutation ...Applied to files:
📚 Learning: in the eoa executor system, aggressive lock acquisition is safe because every redis state mutation u...Applied to files:
🧬 Code Graph Analysis (6)server/src/http/routes/transaction_write.rs (7)
executors/src/eoa/store/atomic.rs (2)
executors/src/external_bundler/send.rs (7)
executors/src/eoa/store/borrowed.rs (2)
server/src/http/routes/contract_write.rs (1)
executors/src/external_bundler/confirm.rs (6)
⏰ 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). (2)
🔇 Additional comments (74)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Refactor
Bug Fixes
Style
Chores