Skip to content
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

L2 Support #92

Merged
merged 5 commits into from
Jun 19, 2024
Merged

L2 Support #92

merged 5 commits into from
Jun 19, 2024

Conversation

qzhodl
Copy link
Contributor

@qzhodl qzhodl commented Jun 7, 2024

Because L2 doesn’t have a reliable RANDAO, we need to use the L1 RANDAO by utilizing the L2 system contract L1Block. This contract acts as a trustless bridge, bringing all the necessary L1 information into L2. Therefore, we only need to pass the L1 information to the mine() function even when EthStorage is deployed on L2.

The related es-node change is here

@qzhodl qzhodl changed the title QKC L2 Support L2 Support Jun 7, 2024
@qzhodl qzhodl requested review from iteyelmp, qizhou and syntrust June 13, 2024 08:37
@qzhodl qzhodl marked this pull request as ready for review June 13, 2024 08:52
@qzhodl qzhodl merged commit baad0aa into main Jun 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants