Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

feat: data commitment + header chain #19

Merged
merged 28 commits into from
Sep 15, 2023
Merged

Conversation

ratankaliani
Copy link
Member

@ratankaliani ratankaliani commented Sep 6, 2023

Features

Data Commitment Circuit

  • Generates a data commitment following the structure defined in celestia-core.

Header Chain Circuit

  • Iteratively proves headers between current_block to trusted_block, and their corresponding dataHash (dataRoot of each block).

Fixtures

  • Create a new fixtures folder for differentiating fixtures from mocha-3 testnet and mocha-4 testnet.

@ratankaliani ratankaliani changed the title feat: data commitment feat: data commitment + header chain Sep 13, 2023
* wip: issue with varint encoding

* wip: fixed generator issue, calculate encoding correctly

* feat: verify block height works

* lint

* BOOM, prove header chain works

* docs

* feat: combine prove header chain and get data commitment

* clean up types in commitment

* lint

* update to succinctx branch

* lint
@ratankaliani ratankaliani merged commit 4d9df8a into main Sep 15, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants