Have the TendermintMachine domain-separate by genesis

Enbables support for multiple machines over the same DB.
This commit is contained in:
Luke Parker
2024-03-08 01:15:10 -05:00
parent 0d569ff7a3
commit 454bebaa77
4 changed files with 19 additions and 1 deletions

View File

@@ -176,6 +176,7 @@ impl TestNetwork {
TendermintMachine::new(
MemDb::new(),
TestNetwork(i, arc.clone()),
[0; 32],
BlockNumber(1),
start_time,
TestBlock { id: 1u32.to_le_bytes(), valid: Ok(()) },