Commit Graph

22 Commits

Author SHA1 Message Date
Michael Vines e08d2e6fcc fix: add custodian key support to stake instructions 2021-01-26 10:27:20 -08:00
Michael Vines fd06c1f8fa fix: add Clock sysvar to AuthorizeWithSeed instruction 2021-01-25 19:38:10 -08:00
Tyera Eulberg 546915ee12
fix: update StakeProgram.space() (#13371) 2020-11-03 13:40:45 -07:00
Justin Starry 7e1682db7d
feat: create instructions instead of transaction from system program (#12156) 2020-09-10 15:43:32 +08:00
Justin Starry d6ecb2699f chore: npm run lint:fix 2020-08-26 15:57:56 +08:00
Greg Fitzgerald f02a78d8ff
Add StakeInstruction::AuthorizeWithSeed (#11700)
* Add StakeInstruction::AuthorizeWithSeed

* chore: add authorize-with-seed to web.js

* fix: add address_owner

* Add SystemInstruction::TransferWithSeed

* Update ABI hash

* chore: better variable names

* Add AuthorizeWithSeedArgs

* Reorder and rename arguments for clarity
2020-08-21 18:28:01 +00:00
Trent Nelson 19813b0ab2 fix: align web3 stake split instruction constuction with rust 2020-07-10 15:29:48 -06:00
Justin Starry 5f0b182a3b fix: overly strict key length check when decoding stake instructions 2020-06-14 21:57:04 -07:00
Justin Starry 6ed2bad9d0 feat: add API for decoding system instructions 2020-06-14 21:57:04 -07:00
Justin Starry aba7e14f3a feat: add API for decoding stake instructions 2020-06-14 21:57:04 -07:00
Tyera Eulberg 825a43fecc fix: add test coverage and fixup getters 2020-06-14 21:57:04 -07:00
Justin Starry 0cdf532419 feat: expose instruction types and refactor 2020-06-14 21:57:04 -07:00
Justin Starry 4a3a830789 chore: remove unused 2020-06-14 21:57:04 -07:00
Justin Starry ebda95bd11 chore: run lint 2020-06-14 21:57:04 -07:00
Justin Starry 7181d3aeea fix: update stake program api 2020-06-14 21:57:04 -07:00
Tyera Eulberg 0b5bd167d4 fix: upstream authorize fixes 2020-06-14 21:57:04 -07:00
Tyera Eulberg bed42ac26b fix: fixes needed for createAccountWithSeed and sol-lamport ratio 2020-06-14 21:57:04 -07:00
Tyera Eulberg 8541868587 fix: add split to stake test 2020-06-14 21:57:04 -07:00
Tyera Eulberg 3595892fab fix: add integration test and fix various exposed bugs 2020-06-14 21:57:04 -07:00
Tyera Eulberg 07c0670f65 fix: add stake unit tests 2020-06-14 21:57:04 -07:00
Tyera Eulberg 6ebd47fbac fix: add instruction handling to stake-program 2020-06-14 21:57:04 -07:00
Tyera Eulberg 532b28e96e feat: add stake program methods; refactor instruction type handling 2020-06-14 21:57:04 -07:00