Commit 49397d9a authored by Amar Singh's avatar Amar Singh Committed by GitHub
Browse files

Mock epoch index and randomness in SproofBuilder (for testing) (#1594)



* minimal babe randomness in sproof builder

* fix indexing

* fix index and clean comment

* use current para block for epoch and randomness

* epoch is para block randomness is relay block

* fix

* make more configurable but keep defaults

* fix export

* fix

* flatten

* better field names

* Update primitives/parachain-inherent/src/mock.rs

* Update primitives/parachain-inherent/src/mock.rs

* FMT

* FIX

* fmt

* Update primitives/parachain-inherent/src/mock.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 11b18e89
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