credit_only credits forwarding (#6509)
* credit_only_credits_forwarding * whack transfer_now() * fixup * bench should retry the airdrop TX * fixup * try to make bench-exchange a bit more robust, informative
This commit is contained in:
@ -117,10 +117,8 @@ mod bpf {
|
||||
} = create_genesis_block(50);
|
||||
let bank = Arc::new(Bank::new(&genesis_block));
|
||||
// Create bank with specific slot, used by solana_bpf_rust_sysvar test
|
||||
dbg!(bank.epoch());
|
||||
let bank =
|
||||
Bank::new_from_parent(&bank, &Pubkey::default(), DEFAULT_SLOTS_PER_EPOCH + 1);
|
||||
dbg!(bank.epoch());
|
||||
let bank_client = BankClient::new(bank);
|
||||
|
||||
// Call user program
|
||||
|
@ -469,7 +469,7 @@ fn init_storage_accounts(
|
||||
archiver_accounts_to_create: &[&Pubkey],
|
||||
lamports: u64,
|
||||
) {
|
||||
let mut ixs: Vec<_> = vec![system_instruction::transfer_now(&mint.pubkey(), owner, 1)];
|
||||
let mut ixs: Vec<_> = vec![system_instruction::transfer(&mint.pubkey(), owner, 1)];
|
||||
ixs.append(
|
||||
&mut validator_accounts_to_create
|
||||
.into_iter()
|
||||
|
Reference in New Issue
Block a user