Add new field to test_harness YAML, remove prints

This commit is contained in:
Paul Hauner
2019-03-18 18:08:53 +11:00
parent edeace9e75
commit 71d95ee9db
4 changed files with 8 additions and 5 deletions

View File

@@ -596,7 +596,6 @@ where
// Transition the parent state to the present slot.
let mut state = parent_state;
println!("parent process state: {:?}", state.latest_block_header);
let previous_block_header = parent_block.into_header();
for _ in state.slot.as_u64()..present_slot.as_u64() {
if let Err(e) = per_slot_processing(&mut state, &previous_block_header, &self.spec) {
@@ -614,8 +613,6 @@ where
));
}
println!("process state: {:?}", state.latest_block_header);
let state_root = state.canonical_root();
if block.state_root != state_root {
@@ -706,8 +703,6 @@ where
per_block_processing_without_verifying_block_signature(&mut state, &block, &self.spec)?;
println!("produce state: {:?}", state.latest_block_header);
let state_root = state.canonical_root();
block.state_root = state_root;