fix(torii-core): store v3 transactions - #2768
Conversation
WalkthroughOhayo, sensei! The changes in this pull request focus on the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Sql
participant Database
User->>Sql: store_transaction(transaction, transaction_id, block_timestamp)
Sql->>Sql: Check transaction type
alt Transaction::Invoke(InvokeTransaction::V3)
Sql->>Sql: Extract properties (transaction_hash, sender_address, calldata, signature, nonce)
Sql->>Sql: Set max_fee to Felt::ZERO if absent
end
Sql->>Database: Store transaction details
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🔇 Additional comments (1)crates/torii/core/src/sql/mod.rs (1)
Since 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2768 +/- ##
==========================================
- Coverage 55.51% 55.50% -0.01%
==========================================
Files 434 434
Lines 54295 54303 +8
==========================================
+ Hits 30140 30142 +2
- Misses 24155 24161 +6 ☔ View full report in Codecov by Sentry. |
Summary by CodeRabbit
New Features
Bug Fixes
max_feefor the new transaction type, ensuring proper functionality.Documentation