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

Hstaykov/circuit input generators verify attestation data #287

Merged
merged 4 commits into from
Mar 19, 2024

Conversation

HristoStaykov
Copy link
Contributor

@HristoStaykov HristoStaykov commented Mar 1, 2024

In this PR all the necessary changes have been made to convert the JSON representation of an attestation as extracted from an Eth node and convert in into the format needed to be passed to the circuit verify_attestation_data.

Copy link
Contributor

@Xearty Xearty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check comments

@HristoStaykov HristoStaykov force-pushed the hstaykov/circuit_input_generators_verify_attestation_data branch from 444a825 to 375a9cf Compare March 6, 2024 15:10
@HristoStaykov HristoStaykov force-pushed the hstaykov/circuit_input_generators_verify_attestation_data branch from 375a9cf to 6016ff0 Compare March 8, 2024 11:27
@HristoStaykov HristoStaykov requested a review from Xearty March 8, 2024 11:28
@HristoStaykov HristoStaykov force-pushed the hstaykov/circuit_input_generators_verify_attestation_data branch 2 times, most recently from b6803ee to af103cb Compare March 8, 2024 14:20
Xearty
Xearty previously approved these changes Mar 11, 2024
@HristoStaykov HristoStaykov force-pushed the hstaykov/circuit_input_generators_verify_attestation_data branch from 3f3f545 to ff1afa8 Compare March 12, 2024 13:40
Initial verify_attestation_data implementation.
Implemented of verify_attestation_data's used structures + update of tooling version in scripts.
Implemented fill_zero_hashes + static_vector fixes.
Added usage of pallas::base_field_type for tocken.
Initial implementation for combine_finality_votes and prove_finality.
Initial test infrastructure for verify_attestation_data + const correctness.
Parse json attestation to convert into struct.
Test attestation fields are populated with correct data.
Parse and check attestations.
Added processing of all pubkeys at once with malloc-ed buffer.
Use correct representation of hash in circuits.
Clone test input data as part of run script.
Remove usage of std::array to comply with packed structs.
Refactor std::array of Byte to static_vector of Byte.
Minor fixes related to circuit build.
The zkllvm tooling will be provided in a .deb package.
README update.
@HristoStaykov HristoStaykov force-pushed the hstaykov/circuit_input_generators_verify_attestation_data branch from ff1afa8 to eb12318 Compare March 12, 2024 16:24
…ut generator.

Completed attestation serialization to JSON parse-able by circuits and generating input for circuit verify_attestation_data.
@HristoStaykov HristoStaykov force-pushed the hstaykov/circuit_input_generators_verify_attestation_data branch from eb12318 to f99b6a8 Compare March 13, 2024 09:41
@HristoStaykov HristoStaykov added this pull request to the merge queue Mar 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 13, 2024
@HristoStaykov HristoStaykov added this pull request to the merge queue Mar 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 13, 2024
@HristoStaykov HristoStaykov added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 14, 2024
@HristoStaykov HristoStaykov added this pull request to the merge queue Mar 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 18, 2024
@zah zah merged commit ce0579f into main Mar 19, 2024
14 checks passed
@zah zah deleted the hstaykov/circuit_input_generators_verify_attestation_data branch March 19, 2024 11:49
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.

4 participants