* allow pedantic invalid cast lint
* allow lint with false-positive triggered by `test-case` crate
* nightly `fmt` correction
* adapt to rust layout changes
* remove dubious test
* Use transmute instead of pointer cast and de/ref when check_aligned is false.
* Renames clippy::integer_arithmetic to clippy::arithmetic_side_effects.
* bump rust nightly to 2023-08-25
* Upgrades Rust to 1.72.0
---------
Co-authored-by: Trent Nelson <trent@solana.com>
* 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
* ci: init spl downstream project on Github Action
* ci: fix spl downstream project doesn't use cargo-test-sbf
* ci: move nightly build to another individual file
* ci: get more space for runners on Github Action
* ci: trun off fali-fast
* Update .github/workflows/downstream-project-spl.yml
Co-authored-by: Jon Cinque <me@jonc.dev>
* ci: separate all spl programs
* use reusable workflow
* add error reporting for nightly build
* update test method
* add build and test
* only build required program
* remove other branches
* Update .github/workflows/downstream-project-spl.yml
Co-authored-by: Jon Cinque <me@jonc.dev>
* Update .github/workflows/downstream-project-spl.yml
Co-authored-by: Jon Cinque <me@jonc.dev>
* add check
* update build and test
* add lacking programs
* remove unnecessary programs
---------
Co-authored-by: Jon Cinque <me@jonc.dev>
* Add dev-utils feature for inter-crate test code safe reuse
* Sanitize mode
* Fix typo...
* Use case/esac intead of if
* port to `cargo tree` + `jq`
* Fix typo...
* Properly abort on errors
* Add trailing commas
* Select only normal dependencies
* Use more concise comma-separated code
* Skip if taint packages are empty
* Fold long lines and format code a bit
* Fix shellcheck
* Improve jq query and remove uneeded marker feature
* Use folding heredoc giving up proper indenting..
* Use jq's alternative operator (//)
* Rename to dev-context-only-utils
* Fix typo...
---------
Co-authored-by: Trent Nelson <trent@solana.com>
* add bench test for `VerifyPubkeyValidity`
* add bench test for `VerifyRangeProofU64`
* add bench test for `VerifyWithdraw`
* add bench test for `VerifyZeroBalance`
* add bench test for `VerifyGroupedCiphertextValidity`
* add bench test for `VerifyCiphertextCommitmentEquality`
* add bench test for `VerifyCiphertextCiphertextEquality`
* add bench test for `VerifyBatchedGroupedCiphertextValidity`
* add bench test for `VerifyBatchedRangeProofu64`, `VerifyBatchedRangeProofU128`, `VerifyBatchedRangeProofU256`
* add bench test for `VerifyTransfer` and `VerifyTransferWithFee`
* use add `criterion` to workspace cargo
* add bench to ci
* Enforce used_underscore_binding
* Fix all
* Work around for cfg()-ed code...
* ci....
* Make clipply fixes more pleasant
* Clone exit signal while intentionally shadowing
* Use more verbose code to avoid any #[allow(...)]s