solana/program-runtime/src
Jon Cinque 0fe902ced7
Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871)
* sdk: Add concurrent support for rand 0.7 and 0.8

* Update rand, rand_chacha, and getrandom versions

* Run command to replace `gen_range`

Run `git grep -l gen_range | xargs sed -i'' -e 's/gen_range(\(\S*\), /gen_range(\1../'

* sdk: Fix users of older `gen_range`

* Replace `hash::new_rand` with `hash::new_with_thread_rng`

Run:
```
git grep -l hash::new_rand | xargs sed -i'' -e 's/hash::new_rand([^)]*/hash::new_with_thread_rng(/'
```

* perf: Use `Keypair::new()` instead of `generate`

* Use older rand version in zk-token-sdk

* program-runtime: Inline random key generation

* bloom: Fix clippy warnings in tests

* streamer: Scope rng usage correctly

* perf: Fix clippy warning

* accounts-db: Map to char to generate a random string

* Remove `from_secret_key_bytes`, it's just `keypair_from_seed`

* ledger: Generate keypairs by hand

* ed25519-tests: Use new rand

* runtime: Use new rand in all tests

* gossip: Clean up clippy and inline keypair generators

* core: Inline keypair generation for tests

* Push sbf lockfile change

* sdk: Sort dependencies correctly

* Remove `hash::new_with_thread_rng`, use `Hash::new_unique()`

* Use Keypair::new where chacha isn't used

* sdk: Fix build by marking rand 0.7 optional

* Hardcode secret key length, add static assertion

* Unify `getrandom` crate usage to fix linking errors

* bloom: Fix tests that require a random hash

* Remove some dependencies, try to unify others

* Remove unnecessary uses of rand and rand_core

* Update lockfiles

* Add back some dependencies to reduce rebuilds

* Increase max rebuilds from 14 to 15

* frozen-abi: Remove `getrandom`

* Bump rebuilds to 17

* Remove getrandom from zk-token-proof
2023-08-21 19:11:21 +02:00
..
accounts_data_meter.rs Do not check accounts data size in InvokeContext (#26773) 2022-08-08 11:05:25 -04:00
compute_budget.rs sdk: Limited Borsh 0.9 support (Pubkey and helpers) (#32511) 2023-08-02 23:15:24 +02:00
invoke_context.rs Integrate program loader-v4 with bank (#32832) 2023-08-16 10:50:23 -07:00
lib.rs Move message_processor to program-runtime (#32268) 2023-06-24 15:55:39 -07:00
loaded_programs.rs Refactor - `LoadedPrograms::get_entries_sorted_by_tx_usage()` (#32874) 2023-08-17 19:14:32 +02:00
log_collector.rs removes instances of clippy::manual_let_else (#32417) 2023-07-09 21:41:36 +00:00
message_processor.rs Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
pre_account.rs Remove `total_data_size` and `data_size_changed` from `ExecuteDetailsTimings` (#27051) 2022-08-23 14:58:32 +02:00
prioritization_fee.rs Add feature gate to remove support for RequestUnitsDeprecated instruction (#27503) 2022-09-09 22:24:21 +00:00
stable_log.rs Bumps base64 from 0.13.1 to 0.21.0. (#31522) 2023-05-11 11:34:58 -07:00
sysvar_cache.rs Add epoch_rewards to sysvar cache (#32155) 2023-06-20 15:01:34 -05:00
timings.rs Fix incorrect ExecuteAccessoryTimings (#31167) 2023-04-16 22:40:52 +02:00