fn zkapp_command_with_ledger(
num_keypairs: Option<usize>,
max_account_updates: Option<usize>,
max_token_updates: Option<usize>,
account_state_tbl: Option<&mut HashMap<AccountId, (Account, Role)>>,
vk: Option<VerificationKeyWire>,
failure: Option<&Failure>,
) -> (UserCommand, Keypair, HashMap<HashableCompressedPubKey, Keypair>, Mask)