celestiaorg / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Other
19 stars 33 forks source link

feat: Add fraudproof verification on a store level #254

Closed Manav-Aggarwal closed 2 years ago

Manav-Aggarwal commented 2 years ago

Description

When a fraudproof is received by an optimint full node, it should first verify the fraudproof by doing a cross-reference of header app hash retrieved from the DA layer against inclusion proofs in the fraudproof on a store level.

Parts covered from the cycle of a fraudproof:

Optimint Full/Light Node (Verifier of fraudproof)

  1. It verifies the fraudproof by doing a cross-reference of a header app hash from the blockchain against the contents of a fraudproof

This PR simulates this check in the baseapp module

Parent issue: #253

Builds on top of: #248

Closes: #253


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.

I have...

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.

I have...

Manav-Aggarwal commented 2 years ago

everything is moved to cosmos-sdk-rollmint repo