Add storage space constant (#4366)

automerge
This commit is contained in:
Sagar Dhawan
2019-05-21 11:07:13 -07:00
committed by Grimes
parent f877fb8c8f
commit c9ba9e4eb7
6 changed files with 27 additions and 31 deletions

View File

@ -25,6 +25,7 @@ use solana_sdk::signature::{read_keypair, KeypairUtil};
use solana_sdk::system_program;
use solana_sdk::timing;
use solana_stake_api::stake_state;
use solana_storage_api::storage_contract::STORAGE_ACCOUNT_SPACE;
use solana_vote_api::vote_state;
use std::error;
use std::time::{Duration, Instant};
@ -215,7 +216,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
// storage account
(
bootstrap_storage_keypair.pubkey(),
Account::new(1, 1024 * 4, &solana_storage_api::id()),
Account::new(1, STORAGE_ACCOUNT_SPACE as usize, &solana_storage_api::id()),
),
],
&[