solana/programs/sbf/rust
HaoranYi 8869d0c8a0
Upgrade sbf tests to use bpf loader v3 (#34691)
* update sbf test to use bpf_loader v2

* update test_program_sbf_invoke_sanity test

* update test bpf program owner

* update test_program_sbf_invoke_upgradeable_via_cpi

* update test_program_sbf_disguised_as_sbf_loader

* update test_program_reads_from_program_account

* update test_program_sbf_program_id_spoofing

* update test_program_sbf_caller_has_access_to_cpi_program

* update 3 more tests

* fix program buffer size in minimul for rent exempt calculation

* more test updates

* more update

* more test updates

* comments

* undo c format

* typo

* add sol_alloc_free not deployable and deployable tests

* comments

* review feedback - move buffer_keypair and program_keypair inside callee
fn.

* more refactor

* delete sof_alloc_free_syscall enabled tests

* revert lamport change

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-01-14 18:20:01 -06:00
..
128bit Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
128bit_dep Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
alloc Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
alt_bn128
alt_bn128_compression Feat(syscall): add altbn128 g1 & g2 compression (#32870) 2023-09-25 05:43:34 -07:00
big_mod_exp
call_depth preliminaries for bumping nightly to 2023-08-25 (#33047) 2023-08-29 23:05:35 +00:00
caller_access
curve25519
custom_heap Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
dep_crate Refactor - Move interfaces of address-lookup-table into the program SDK (#33165) 2023-09-11 21:10:40 +02:00
deprecated_loader CPI: improve test coverage (#31986) 2023-09-05 14:27:26 +07:00
dup_accounts Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
error_handling
external_spend Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
finalize
get_minimum_delegation
inner_instruction_alignment_check
instruction_introspection
invoke cpi: direct_mapping: always zero spare capacity if account alloc changes (#34141) 2023-11-20 23:07:35 +11:00
invoke_and_error
invoke_and_ok
invoke_and_return
invoked Upgrade sbf tests to use bpf loader v3 (#34691) 2024-01-14 18:20:01 -06:00
iter Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
log_data
many_args Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
many_args_dep Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
mem
membuiltins
noop
panic
param_passing
param_passing_dep Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
poseidon feat(sbf): Add Poseidon syscall (#32680) 2023-08-30 09:43:31 -07:00
rand Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
realloc Fix CI (#33139) 2023-09-05 18:01:20 +00:00
realloc_invoke
remaining_compute_units sdk, programs/bpf_loader: add sol_remaining_compute_units syscall (#31640) 2023-09-13 08:57:08 -06:00
ro_account_modify
ro_modify Bump platform-tools to v1.39 (#33804) 2023-10-21 16:22:16 -04:00
sanity Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
secp256k1_recover Fix - Upcoming `arithmetic_side_effects` lints (#33000) 2023-08-29 20:58:53 +02:00
sha
sibling_inner_instruction Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
sibling_instruction
simulation Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
spoof1 programs/sbf: "fix" invalid_reference_casting lint (#34706) 2024-01-09 23:08:15 +11:00
spoof1_system Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
sysvar
upgradeable
upgraded