solana/programs/bpf
Sebastian Bor 1a658c7f31
Allow SetUpgradeAuthority instruction in CPI calls (#16676)
* feat: allow SetAuthority in CLI calls

* chore: clippy match_like_matches_macro

* chore: clippy match_like_matches_macro

* chore: rename CLI to CPI

* chore: move check for cpi authorised instruction to syscalls

* chore: add set_upgrade_authority cpi test

* chore: assert upgrade authority was changed

* feat: gate set_upgrade_authority via cpi with a feature

* chore: move feature to the end of the list

* chore: remove white spaces

* chore: remove white spaces

* chore: update comment to rerun build
2021-04-22 00:06:59 +01:00
..
benches Enforce host aligned memory for program regions (#16590) 2021-04-20 11:07:30 -07:00
c Expand and update instruction count tests (#16522) 2021-04-13 16:23:42 -07:00
rust Return sysvars via syscalls (#16422) 2021-04-12 16:04:57 -07:00
tests Allow SetUpgradeAuthority instruction in CPI calls (#16676) 2021-04-22 00:06:59 +01:00
.gitignore
Cargo.lock Allow SetUpgradeAuthority instruction in CPI calls (#16676) 2021-04-22 00:06:59 +01:00
Cargo.toml Allow SetUpgradeAuthority instruction in CPI calls (#16676) 2021-04-22 00:06:59 +01:00
build.rs Add program-test tests to bpf programs (#16407) 2021-04-07 01:47:15 -07:00