Parse stake and system instructions (#13035) (#13045)

* Fix token account check

* Add helper to check num accounts

* Add parse_stake

* Add parse_system

* Fix AuthorizeNonce docs

* Remove jsonParsed unstable markers

* Clippy

(cherry picked from commit 46d0019955)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-21 04:35:05 +00:00
committed by GitHub
parent 2fe1a4677c
commit b1712e80ec
7 changed files with 955 additions and 98 deletions

View File

@@ -148,7 +148,8 @@ pub enum SystemInstruction {
/// Change the entity authorized to execute nonce instructions on the account
///
/// # Account references
/// 0. [WRITE, SIGNER] Nonce account
/// 0. [WRITE] Nonce account
/// 1. [SIGNER] Nonce authority
///
/// The `Pubkey` parameter identifies the entity to authorize
AuthorizeNonceAccount(Pubkey),