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
Dmitri Makarov
81ef2a0d75
Update references to platform-tools ( #30764 )
2023-03-22 07:41:40 -07:00
Dmitri Makarov
ec4f33b024
Fix SDK C makefile setting the correct path to clang headers ( #30378 )
2023-02-17 06:53:45 -08:00
valiksinev
5f7fea100a
Big integer modular exponentiation (EIP-198) ( #28503 )
...
* big_mod_exp impl
* fix programs/sbf/Cargo.lock
* ComputeBudget impl
* update compute_budget
* compute_budget update
* fix build
* fix tests
* fix cargo clippy
* fix clippy
* fix bpf_loader dependency sorting
* fix sorting
* fix merge from master
* fix cargo fmt
* fix C-tests
* fix cargo fmt
* comments apply
* fix programs/sbf/Cargo.lock
* update compude_budget cost
* remove whitespaces
* fix cargo fmt
Co-authored-by: sinev-valentine <sinev-valentine@yandex.ru>
2023-01-20 18:42:37 +09:00
ananas-block
afc3fee937
added alt_bn syscalls ( #27961 )
...
* added alt_bn128_syscalls
* increased regression build redundancy to > 10
2022-11-21 17:43:06 +01:00
bji
6dc7cd0845
Fixed warnings caused by redefined macros. Also fixed sol_memcpy to … ( #28378 )
...
Fixed warnings caused by redefined macros. Also fixed sol_memcpy to have
the same signature as memcpy.
2022-11-20 03:42:17 +00:00
Dmitri Makarov
d6813b98d2
chore: move programs/bpf to programs/sbf
2022-10-13 11:40:40 -04:00
Dmitri Makarov
f4dd24491f
Migrate SDK from BPF to SBF
2022-10-07 08:57:06 -04:00