solana/sdk
galactus 2ceabd9368
Simd 47 syscall sysvar last restart slot (#31957)
* add sysvar and logic for last restart slot

* cleanup

* add test for getting last restart slot from account

* format code

* add some basic rustdoc

* copy+paste error

* feature flag for last_restart_slot

* add to sysvars.md

* updated wording in sysvars.md

* rename sol_get_last_restart_slot_sysvar > sol_get_last_restart_slot

* create sbf C header for sol_get_last_restart_slot

* cleanup imports

* reverted hardened_unpack workaround

* cleanup imports

* cleanup logs + blank lines

* Implementing ui changes for last restart slot, nit

* Some more nit change and implementing the UI for sysvar

* fixing the CI

* Minor clippy fix

* format changes

* changes suggested by mvines and lichtso

* increase timeout in local_cluster test

* fix code format

* use keypair for feature flag from mvines

* delete test.json file

* Revert "increase timeout in local_cluster test"

This reverts commit a67465ae22.

* last restart slot should be always less than or equal to current slot

* fixing bug

* changes after  steviez comments

* format issue fixed

* fixing the comment on premature application of future hardfork

* nit change in test

Co-authored-by: steviez <steven@solana.com>

* reverting sysvar_cache.rs because change was not necessary

---------

Co-authored-by: steve-gg <grooviegermanikus@gmail.com>
Co-authored-by: steviez <steven@solana.com>
2023-06-16 20:14:02 +00:00
..
benches AccountSharedData: optimize set_data_from_slice 2022-09-23 11:31:33 +01:00
bpf Add alt_bn128 syscall tests (and fix related issues) (#31436) 2023-05-22 14:05:10 -07:00
cargo-build-bpf Fix cargo-build-bpf removing a wrong command line option (#30848) 2023-03-22 09:37:33 -07:00
cargo-build-sbf Bump version to 1.17 (#31806) 2023-05-30 15:04:47 -05:00
cargo-test-bpf Update references to platform-tools (#30764) 2023-03-22 07:41:40 -07:00
cargo-test-sbf [cargo-test-sbf] Rename sbf-tools to platform-tools and use sbfv1 (#30927) 2023-03-28 20:30:14 +09:00
docker-solana
gen-headers chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
macro Bump syn from 1.0.109 to 2.0.5 (#31263) 2023-04-24 22:18:51 -07:00
program Simd 47 syscall sysvar last restart slot (#31957) 2023-06-16 20:14:02 +00:00
sbf Simd 47 syscall sysvar last restart slot (#31957) 2023-06-16 20:14:02 +00:00
src Simd 47 syscall sysvar last restart slot (#31957) 2023-06-16 20:14:02 +00:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore
Cargo.toml chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
README.md Update discord invite links (#30909) 2023-03-29 09:14:22 -07:00
build.rs
package.json

README.md

Solana

Solana SDK

Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.

More information about Solana is available in the Solana documentation.

The Solana Program Library provides examples of how to use this crate.

Still have questions? Ask us on Stack Exchange