* Reduce required num_system_accounts and handle 2-account instructions properly
* Update CreateAccountWithSeed account docs to be correct
* Add CreateAccountWithSeed test
(cherry picked from commit 91f4e99b4c
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
@@ -92,7 +92,9 @@ pub enum SystemInstruction {
|
||||
/// # Account references
|
||||
/// 0. [WRITE, SIGNER] Funding account
|
||||
/// 1. [WRITE] Created account
|
||||
/// 2. [SIGNER] Base account
|
||||
/// 2. [SIGNER] (optional) Base account; the account matching the base Pubkey below must be
|
||||
/// provided as a signer, but may be the same as the funding account
|
||||
/// and provided as account 0
|
||||
CreateAccountWithSeed {
|
||||
/// Base public key
|
||||
base: Pubkey,
|
||||
|
Reference in New Issue
Block a user