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

Add more unit and integration tests for State Fraud Proofs #3

Open
Manav-Aggarwal opened this issue Oct 20, 2022 · 0 comments
Open
Labels
fraudproofs State Fraud Proofs

Comments

@Manav-Aggarwal
Copy link
Member

Some suggestions for tests to add to baseapp_test.go in cosmos-sdk-rollmint:

  1. Block with bad txs: Txs that exceed gas limits, validateBasic fails, unregistered messages (see TestRunInvalidTransaction)
  2. Block with invalid appHash at the end
  3. Corrupted Fraud Proof: bad underlying store format, insufficient key-value pairs inside the underlying store
    needed to verify fraud
  4. Bad block, fraud proof needed, fraud proof works, chain halts (happy case)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fraudproofs State Fraud Proofs
Projects
None yet
Development

No branches or pull requests

1 participant