* 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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||