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

Generating stage2 proof #131

Merged
merged 5 commits into from
Mar 5, 2024
Merged

Conversation

coax1d
Copy link
Collaborator

@coax1d coax1d commented Feb 23, 2024

Addresses bulletpoint 3 in #111 and bulletpoint 2 in #112

  • Add RuntimeApi in Polkadot for getting a binary_merkle_proof based on requested para_id from parachain_paras pallet
  • collect mapping on Relayer of ParaHeader Binary Merkle Root(similar to beefy root provider) -> MerkleProof requested from RuntimeApi
  • Use the ParaHeader Root from the specific Beefy Proof from Part1 in order to retrieve stage 2 proof from Database

@coax1d coax1d self-assigned this Feb 23, 2024
@coax1d coax1d changed the title comment for generating stage2 generating stage2 Mar 4, 2024
@coax1d coax1d marked this pull request as ready for review March 4, 2024 14:35
@coax1d coax1d changed the title generating stage2 Generating stage2 proof Mar 4, 2024
@coax1d
Copy link
Collaborator Author

coax1d commented Mar 4, 2024

Now can successfully request proofs just have to construct for submission in relayer...

@coax1d coax1d merged commit eeaded5 into main Mar 5, 2024
1 of 2 checks 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.

1 participant