* 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>
* stake: deprecate on chain warmup/cooldown rate and config
* Pr feedback: Deprecate since 1.16.7
Co-authored-by: Jon Cinque <me@jonc.dev>
---------
Co-authored-by: Jon Cinque <me@jonc.dev>
Changes:
marshallpierce/rust-base64@v0.13.1...v0.21.0
`base64::{encode,decode}` are now deprecated in favor of an API that
explicitly selects an `Engine`. Migrated all calls to the new API.
* Deprecate Memcmp inner fields
* Add Memcmp::new
* Replace some literal construction
* Add convert_to_raw_bytes method and use
* Make convert_to_raw_bytes fallible
* Allow literal matches for complex cases
* Move OptionalContext to solana-rpc-client-api
* Add helper function
* Add failing test
* Support OptionalContext in RpcClient::get_program_accounts_with_config
Setting pool idle timeout to a value smaller than solana-watchtower's
poll interval can fix following error:
[2022-08-25T04:03:22.811160892Z INFO solana_watchtower] Failure 1 of 3: solana-watchtower testnet: Error: rpc-error: error sending request for url (https://api.testnet.solana.com/): connection closed before message completed
It looks like this happens because either RPC servers or ISPs drop HTTP
connections without properly notifying the client in some cases.
Similar issue: https://github.com/hyperium/hyper/issues/2136.
* Add test to verify output when deserializing/reserializing empty fields
* Add test to verify serialization from UiTransactionStatusMeta constructors
* Add OptionSerializer
* Use OptionSerializer for inner_instructions
* Use OptionSerializer for loaded_addresses
* Remove Default variant, use into instead
* Add as_ref implementation
* Use OptionSerializer for log_messages and rewards
* Use OptionSerializer for token_balances
* Use OptionSerializer for return_data
* Use OptionSerializer for compute_units_consumed