-
Notifications
You must be signed in to change notification settings - Fork 22
fix(CodecV7): fix L1 message hash bug #48
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
WalkthroughThe changes update the transaction encoding mechanism in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TxsToTxsData
participant MsgQueueV2
participant l1MessageFromTxData
participant L1MessageTx
User->>TxsToTxsData: Submit L1MessageTx transaction
TxsToTxsData-->>TxsToTxsData: Extract sender and initialize TransactionData (with From & AuthorizationList)
TxsToTxsData->>MsgQueueV2: Pass TransactionData
MsgQueueV2->>l1MessageFromTxData: Invoke helper function for decoding
l1MessageFromTxData-->>MsgQueueV2: Return constructed L1MessageTx
MsgQueueV2-->>User: Processed L1MessageTx
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (8)
✨ Finishing Touches
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:
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 (
|
Purpose or design rationale of this PR
When converting transactions to
TransactionDatawe did not store theSenderof theL1Messagein theFromfield ofTransactionData.This led to different L1 message queue hashes and therefore wrong computation of the L1 message queue rolling hash.
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
Breaking change label
Does this PR have the
breaking-changelabel?Summary by CodeRabbit
New Features
Tests