Discrepancy in L2ToL1MessagePasser Proof with Deposits in Optimism #483
Unanswered
smallyunet
asked this question in
Application Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been diving deep into the Optimism protocol, specifically focusing on the deposit and withdrawal flows. I've observed a phenomenon that I'm trying to understand better:
When funds are deposited from L1 to L2, it seems that the L2ToL1MessagePasser contract's state (and consequently its proof) is altered. However, based on the documentation and code I've reviewed, I'm struggling to pinpoint the exact line of code or mechanism that processes this cross-chain deposit message on L2 and leads to the change in the L2ToL1MessagePasser contract's state.
Moreover, I've noticed that if funds are allocated in the genesis.json of the L2 node, they don't seem to be reflected in the L2ToL1MessagePasser proof. This raises questions about the consistency and security of the cross-chain communication.
Could someone shed light on:
Any insights or clarifications would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions