Move virtual genesis tick into the ledger proper as entry 0

This commit is contained in:
Michael Vines
2019-01-29 15:49:29 -08:00
parent 9e9c82869a
commit c01290438f
7 changed files with 90 additions and 68 deletions

View File

@ -33,7 +33,7 @@ fn bad_arguments() {
fn nominal() {
let keypair = Arc::new(Keypair::new());
let (_, ledger_path, _, _) =
create_tmp_sample_ledger("test_ledger_tool_nominal", 100, 10, keypair.pubkey(), 50);
create_tmp_sample_ledger("test_ledger_tool_nominal", 100, 9, keypair.pubkey(), 50);
// Basic validation
let output = run_ledger_tool(&["-l", &ledger_path, "verify"]);