solana/programs/sbf/rust
vadorovsky bea062b1e6
Add alt_bn128 syscall tests (and fix related issues) (#31436)
* Fix C headers (the name of the syscall was incorrect).
* Add C SBF tests using the alt_bn128 syscall.
* Fix the Rust SBF program:
  * Do not use serde and array-bytes, provide test cases as byte arrays
    directly.
  * Use the `custom_heap_default` macro.
  * Replace `bpf` with `sbf` in the crate name.
* Execute both previously existing Rust tests and new C tests in
  `programs/sbf/tests`, so they are actually tested on CI.
2023-05-22 14:05:10 -07:00
..
128bit ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
128bit_dep ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
alloc ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
alt_bn128 Add alt_bn128 syscall tests (and fix related issues) (#31436) 2023-05-22 14:05:10 -07:00
big_mod_exp chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00
call_depth chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08: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 ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
dep_crate chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
deprecated_loader ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
dup_accounts ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
error_handling chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
external_spend ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09: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 programs: change `borrow_mut` -> `borrow` in two places in test (#31399) 2023-05-05 13:08:17 +02: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 ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
iter ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
log_data chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
many_args ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
many_args_dep ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09: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 ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
rand chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
realloc Account data direct mapping (#28053) 2023-04-29 06:54:39 +10:00
realloc_invoke chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
ro_account_modify chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
ro_modify chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
sanity ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
secp256k1_recover ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
sha chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
sibling_inner_instruction ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
sibling_instruction chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
simulation ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
spoof1 chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
spoof1_system ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
sysvar ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09: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