solana-with-rpc-optimizations/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 Add alt_bn128 syscall tests (and fix related issues) (#31436) 2023-05-22 14:05:10 -07:00
alt_bn128_compression Feat(syscall): add altbn128 g1 & g2 compression (#32870) 2023-09-25 05:43:34 -07:00
big_mod_exp chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00
call_depth preliminaries for bumping nightly to 2023-08-25 (#33047) 2023-08-29 23:05:35 +00:00
caller_access chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
curve25519 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
external_spend Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
finalize chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
get_minimum_delegation chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
inner_instruction_alignment_check ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
instruction_introspection ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
invoke cpi: direct_mapping: always zero spare capacity if account alloc changes (#34141) 2023-11-20 23:07:35 +11:00
invoke_and_error chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
invoke_and_ok chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
invoke_and_return chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
membuiltins chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
noop chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
panic ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
param_passing chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
sibling_inner_instruction Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
sibling_instruction chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
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 fix sbf sysvar test (#32803) 2023-08-21 09:49:48 -06:00
upgradeable chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
upgraded chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00