Skip to content

Commit

Permalink
Add SetAuthorityChecked instruction to bpf loader (solana-labs#28424)
Browse files Browse the repository at this point in the history
* SetAuthorityChecked

* restore old logic for loader

* add more upgrade authority checked test cases

* setBufferAuthority checked tests

* format

* add set_buffer_authority_checked instruction to sdk

* Update transaction-status/src/parse_bpf_loader.rs

Co-authored-by: Justin Starry <[email protected]>

* add is_set_authority_checked function

* fix set_buffer_authority_checked sdk instruction

* feature gate setAuthorityChecked

* add bpf loader tests for setAuthorityChecked ixs

* test that you can set to same authority

* allow set_authority_checked to be called via cpi (if feature is enabled)

* fix ci

* fmt

Co-authored-by: Justin Starry <[email protected]>
Co-authored-by: Justin Starry <[email protected]>
  • Loading branch information
3 people authored and nickfrosty committed Jan 4, 2023
1 parent f85186b commit 8a8ac58
Show file tree
Hide file tree
Showing 6 changed files with 680 additions and 2 deletions.
Loading

0 comments on commit 8a8ac58

Please sign in to comment.