Skip to content

SPL Stake Pool and CLI - v0.6.4

Compare
Choose a tag to compare
@joncinque joncinque released this 16 Feb 16:29
· 2936 commits to master since this release
58c1226

Summary of Changes

CLI

  • Protect against unsafe fees
  • Support Ledger
  • Add deposit-all-stake command to move from stake accounts to a stake pool
  • Fix mismatched output fields
  • Fix withdraw calculation for many accounts

Program

  • Upgrade to Solana SDK 1.9.5
  • Credit lamports in the reserve during stake pool creation
  • Optionally use transfer + allocate + assign instead of create_account while creating validator stake accounts

Verification

Program verification uses the Anchor command-line interface, which can be installed by following the documentation.

The verification process builds the program in an Ubuntu container which contains the Solana CLI tools and its dependencies. More information can be found on the verifiable builds documentation.

From the root of this repository, at this commit, please run:

$ anchor verify -p spl_stake_pool SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy

After some time and a lot of output, the tool will print;

Build success
SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy is verified.

The program is also verified at the Anchor program registry: https://anchor.projectserum.com/program/SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy