Skip to content

Commit

Permalink
stake-program: MoveStake and MoveLamports (#1415)
Browse files Browse the repository at this point in the history
implement two new instructions for moving delegated stake and undelegated lamports, respectively, between accounts with the same Authorized and Lockup using the Staker authority

(cherry picked from commit 361ade4)
  • Loading branch information
2501babe committed Jun 29, 2024
1 parent 6d8549e commit fabed92
Show file tree
Hide file tree
Showing 9 changed files with 1,821 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ members = [
"programs/ed25519-tests",
"programs/loader-v4",
"programs/stake",
"programs/stake-tests",
"programs/system",
"programs/vote",
"programs/zk-elgamal-proof",
Expand Down
26 changes: 26 additions & 0 deletions programs/stake-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This package only exists to avoid circular dependencies during cargo publish:
# solana-program-test <--> solana-stake-program

[package]
name = "solana-stake-program-tests"
publish = false
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[dev-dependencies]
assert_matches = { workspace = true }
bincode = { workspace = true }
solana-program-test = { workspace = true }
solana-sdk = { workspace = true }
solana-vote-program = { workspace = true }
test-case = { workspace = true }

[build-dependencies]
rustc_version = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Loading

0 comments on commit fabed92

Please sign in to comment.