Zebra/zebra-state
Janito Vaqueiro Ferreira Filho 79d41b3aea
Add `zebra_state::init_test` helper function for tests (#2539)
* Create a `zebra_state::init_test` helper function

This function will be used as a replacement for `zebra_state::init`
inside tests. It's a simpler alternative because it can ignore any
details that aren't relevant for tests.

* Use `init_test` inside `zebra-state` tests

Update usages of `init` to use `init_test` instead, which simplifies
most cases.

* Use `zebra_state::init_test` in `zebra-consensus`

Replace usages of `zebra_state::init` with the new helper function. This
simplifies the code a bit.
2021-07-28 20:55:01 -03:00
..
proptest-regressions/service Reject duplicate sprout nullifiers in the state (#2477) 2021-07-14 09:06:43 -03:00
src Add `zebra_state::init_test` helper function for tests (#2539) 2021-07-28 20:55:01 -03:00
tests Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
Cargo.toml Add `proptest-impl` feature to `zebra-state` (#2529) 2021-07-28 00:01:19 +00:00