get rid of hidden mutability of Spec (#10904)
* get rid of hidden mutabilityof Spec * small cleanups * fixed SpecHardcodedSync printing
This commit is contained in:
@@ -77,7 +77,6 @@ pub fn json_chain_test<H: FnMut(&str, HookType)>(json_data: &[u8], start_stop_ho
|
||||
let state = From::from(blockchain.pre_state.clone());
|
||||
spec.set_genesis_state(state).expect("Failed to overwrite genesis state");
|
||||
spec.overwrite_genesis_params(genesis);
|
||||
assert!(spec.is_state_root_valid());
|
||||
spec
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user