solana/program-test/tests
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
..
builtins.rs Fix typo: upgradable to upgradEable (#25827) 2022-06-08 13:35:26 +00:00
cpi.rs program-test: Add working `get_stack_height` stub call (#28451) 2022-10-18 15:09:04 -04:00
fuzz.rs clippy: Removes redundant async blocks (#31526) 2023-05-09 09:35:38 -04:00
lamports.rs program-test: Add test for moving lamports (#30637) 2023-03-08 12:43:26 +01:00
return_data.rs transaction-status: Add return data to meta (#23688) 2022-03-22 23:17:05 +01:00
spl.rs program-test: Add token-2022 to default programs (#29878) 2023-01-26 01:52:55 +01:00
sysvar.rs
sysvar_last_restart_slot.rs Simd 47 syscall sysvar last restart slot (#31957) 2023-06-16 20:14:02 +00:00
warp.rs Add new CreateVoteAccount instruction-set builders (#31330) 2023-04-27 11:14:39 -06:00