Fix Schlesi-splitting penalty bug (#1166)

* Fix Schlesi-splitting penalty bug
* Print correct spec version in lcli
This commit is contained in:
Michael Sproul
2020-05-19 13:49:23 +10:00
committed by GitHub
parent 309cd95b2c
commit ddd63c0de1
5 changed files with 20 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ pub fn run_parse_hex<T: EthSpec>(matches: &ArgMatches) -> Result<(), String> {
let hex = hex::decode(&hex).map_err(|e| format!("Failed to parse hex: {:?}", e))?;
info!("Using minimal spec");
info!("Using {} spec", T::spec_name());
info!("Type: {:?}", type_str);
match type_str {

View File

@@ -26,7 +26,7 @@ pub fn run<T: EthSpec>(matches: &ArgMatches) -> Result<(), String> {
.parse::<PathBuf>()
.map_err(|e| format!("Failed to parse output path: {}", e))?;
info!("Using minimal spec");
info!("Using {} spec", T::spec_name());
info!("Pre-state path: {:?}", pre_state_path);
info!("Slots: {:?}", slots);

View File

@@ -25,7 +25,7 @@ pub fn run_transition_blocks<T: EthSpec>(matches: &ArgMatches) -> Result<(), Str
.parse::<PathBuf>()
.map_err(|e| format!("Failed to parse output path: {}", e))?;
info!("Using minimal spec");
info!("Using {} spec", T::spec_name());
info!("Pre-state path: {:?}", pre_state_path);
info!("Block path: {:?}", block_path);