An overview of technical concepts discussed throughout the Eco Docs
L1Block
contract on Optimism.
Navigating to the contract on Optimistic Etherscan allows us to explore what kind of information is available from the L1Block
oracle. Most importantly, the hash
function gives us the latest L1 block hash and the number
function gives us the corresponding block number.
Screenshot of the Contract's Read Functions
Diagram of the World State Trie
Diagram of the MPT Construction
Further Reading on the Merkle Patricia Trie
L1Block
oracle. The L1Block
oracle contains the Ethereum State Root, which contains the most recently posted block hashes of Base and Optimism. By using a storage proof, we can extract Base and Optimism’s state root, allowing us to use that storage root to prove the state of any contract on both chains!