Context: the idea of having historical block hashes stored as part of the L1Block contract was previously discussed here, including the proposed technical solution and relevant use cases for it. Thanks to @lee0007 for guiding us towards Mission Proposals.
S4 Intent: Collective Intent #1 Progress Towards Techincal Decentralisation
Proposed Mission: Extend the L1Block contract to store historical blockhash data
Proposal Tier: Ember
Please verify that you meet the qualifications for your Tier: I am a new community member that has not worked with or for the Optimism Collective before
Baseline grant amount: 10k OP
% of total available Intent budget: 1%
Alliance: LimeChain
Alliance Lead: Zhivko Todorov
Contact info: @zhivkoto
L2 recipient address: 0x6eDf76FD16Bb290A544fDc14fBB4b403D1DEeD9f
Please list the members of your Alliance and link to any previous work:
- George Spasov, co-founder of LimeChain. Most recently built Extractoor - Library of contracts used for proving the Merkle Patricia Tree (MPT) inclusion of a certain storage inside a rollup. Co-author of EIP-4400, Co-founder of EnterDAO and contributions to many other projects.
- Daniel Ivanov, Senior Blockchain Architect and R&D at LimeChain. Most recently worked on Wisp - cross-rollup communication protocol using ZK proofs (deprecated) and led the research on proving rollups state (link). Co-author of EIP-4400, Co-founder of EnterDAO and contributions to many other projects.
- Zhivko Todorov - R&D at LimeChain. Leading governance and ecosystem efforts. Co-founder of EnterDAO.
Please explain how this Mission will help accomplish the above Intent:
- The addition of historical blockhashes will enable various interoperability use cases. It will allow decentralised, trustless reasoning about the contents of a block - transactions, receipts, state, and more.
- It will aleviate the pressure of certain use cases to be executed in a small timeframe (1 epoch/L1 block), that currently exists due to the L1Block contract constantly replacing its ācurrentā blockhash.
What makes your Alliance well-suited to execute this Mission?
- LimeChain is a blockchain development company building blockchain infrastructure and apps since 2017, having worked with companies and organizations such as The Graph, Ledger, Celo, Polkadot, Coinbase and Tally among others.
- R&D efforts over the past year heavily focused on contributing to rollups ecosystem. This includes the proof of concept interoperability protocol - Wisp.
- The team has collaborated with various projects (building on L2s) on outlining their interoperability requirements.
Please list a critical milestone. The critical milestone should be a measure of whether youāve made best efforts to execute what is outlined in this proposal or not. If you fail to achieve your critical milestone, your grant may be clawed back.
- Milestone āDiscoveryā: Running at least 5 developer interviews to find out the historical block hashes needs for developers in the OP ecosystem and their relevant use cases. Documenting and publicly sharing notes and use case (if applicable).
- Milestone āDeliveryā: Improving the L1Block to support number of historical block hashes. Developing the necessary test cases to ensure maximum code coverage with unit tests
How should Token House delegates measure progress towards this Mission: These should focus on progress towards completion. Including expected completion dates for each is recommended.
- Developing and committing the data structure to support historical block hashes. (expected completion date 30.06.2023)
- Developing and committing the necessary getter for historical block hashes by block number. (expected completion date 07.07.2023)
- Developing and committing the necessary unit tests to reach maximum code coverage (expected completion date 14.07.2023)
How should badgeholders measure impact upon completion of this Mission? These should be focused on performance and may be used by badgeholders to assess your Missonās impact in the next round of RetroPGF.
- External and internal calls towards the historical block hash data mapping in the L1Block. Ideally this would be measured by on-chain activity, however this would require the contribution of an on-chain analytics module which, as a scope would be larger than this grant alone. For now we plan on paying attention to major cross-chain projects as they come and their codebase for the usage of the historical block hash information.
Breakdown of Mission budget request:
Total Mission budget request: 10,000 OP
- Milestone Discovery: 2,500 OP
- Milestone Development: 7,500 OP
I confirm that my grant will be subject to clawback for failure to execute on critical milestones: Yes
I confirm that I have read and understand the grant policies: Yes
I understand that I will be required to provide additional KYC information to the Optimism Foundation to receive this grant: Yes
I understand that I will be expected to following the public grant reporting requirements outlined here: Yes