This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Reading L2 state from L1. #363
Unanswered
Bapi-Reddy
asked this question in
Q&A
Replies: 1 comment 4 replies
-
It's easy to prove against the latest L1 block that L2 build upon via the L1 attributes contract:
It's theoretically possible this use the blockhash there to also build a proof for a specific L1 block (via the parent hash), but the proof gets too long fairly quickly. The solution there would be store a Merkle root of a trie that stores the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to verify L2 contract state at specific block on L1 using merkle proofs of some form. Can the state tries from
State Commitment Chain
be helpful in some form. The idea is if there is a decentralized way to verify state of L2 contracts on L1 it increases the support cross chain oracles which can be used for enabling crossh-chain defi apps.Beta Was this translation helpful? Give feedback.
All reactions