Commit 71aa0b09 authored by Robert Hambrock's avatar Robert Hambrock Committed by GitHub
Browse files

BEEFY & MMR zombienet tests (#7068)



* test that successfully verify self-generated proof

* verify proof result on all unpaused nodes

* tighten interface: reuse connection

* generate the proof on arbitrary node

* s/stub-name/validator

seems this doesn't pass some regex

* rename script

* add basic mmr-leaves test

* documentation formatting

* check lower bound on mmr leaves

* test beefy rpc: finalized heads match

* test mmr api: stateless proofs

* set lower bound on number of leaves

* change leaves in proof generation

* remove TODOs

* cleanup: consistently ignore zndsl name arg

* refactor: simplify returns

Co-authored-by: default avatarSerban Iorga <[email protected]>

* lax finalized head test

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* fixup! refactor: simplify returns

* refactor out getApis

Co-authored-by: default avatarSerban Iorga <[email protected]>

* split out paused validator from group

* refactor: don't ignore node arg

don't randomize selection of proof generating / finalized head
retrieving node, but use the node arg for this.

* only check min block height, not relative

Co-authored-by: default avatarAdrian Catangiu <[email protected]>

* verify finalized heads share same canonical chain

picks the node with the highest finalized head, gets its blockchain
headers since genesis, and verifies that all other nodes' finalized
heads are in said blockchain.

* fixup! split out paused validator from group

Co-authored-by: default avatarSerban Iorga <[email protected]>

---------

Co-authored-by: default avatarSerban Iorga <[email protected]>
Co-authored-by: default avatarAdrian Catangiu <[email protected]>
parent 87159f8a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment