Reduce boilerplate code with helper function to create

fullnode/bank/genesis
This commit is contained in:
Stephen Akridge
2019-01-28 10:53:29 -08:00
committed by sakridge
parent e4f477cf90
commit 2262f279d5
6 changed files with 78 additions and 372 deletions

View File

@ -28,7 +28,7 @@ fn bad_arguments() {
#[test]
fn nominal() {
let keypair = Arc::new(Keypair::new());
let (_mint, ledger_path, _genesis_entries) =
let (_genesis_block, _mint, ledger_path, _genesis_entries) =
create_tmp_sample_ledger("test_ledger_tool_nominal", 100, 10, keypair.pubkey(), 50);
// Basic validation