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

Make DA height on BitcoinLightClient trustless #1785

Open
Tracked by #1784
eyusufatik opened this issue Jan 31, 2025 · 1 comment
Open
Tracked by #1784

Make DA height on BitcoinLightClient trustless #1785

eyusufatik opened this issue Jan 31, 2025 · 1 comment
Assignees
Milestone

Comments

@eyusufatik
Copy link
Member

eyusufatik commented Jan 31, 2025

This is sort of a research question.

Right now we are "initializing" the BitcoinLightClient contract with a number and hash given by the sequencer, this is fine for full nodes, as they pull the blocks themselves and supply the hash to the STF themselves. But on the batch proof this is a problem as bitcoin block headers does not include a block number.

One simple solution is to hard code the height and hash in Citrea genesis just like #1151.

There might be better solutions so leaving that as decision needed for now.

@eyusufatik
Copy link
Member Author

@eyusufatik eyusufatik assigned ercecan and kpp and unassigned kpp Feb 7, 2025
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

No branches or pull requests

3 participants