Move ledger write to its own stage (#1577)
* Move ledger write to its own stage - Also, rename write_stage to leader_vote_stage, as write functionality is moved to a different stage * Address review comments * Fix leader rotation test failure * address review comments
This commit is contained in:
@@ -1823,7 +1823,7 @@ mod tests {
|
||||
let zero = Hash::default();
|
||||
let one = hash(&zero.as_ref());
|
||||
writer
|
||||
.write_entries(vec![Entry::new_tick(0, &zero), Entry::new_tick(0, &one)].to_vec())
|
||||
.write_entries(&vec![Entry::new_tick(0, &zero), Entry::new_tick(0, &one)].to_vec())
|
||||
.unwrap();
|
||||
path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user