Justin Starry
9ab52e4260
chore: annotate more types as deprecated ( #27067 )
2022-08-10 20:35:30 +00:00
dependabot[bot]
ba7b058831
chore: bump serde_bytes from 0.11.6 to 0.11.7 ( #27062 )
...
* chore: bump serde_bytes from 0.11.6 to 0.11.7
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.6...0.11.7 )
---
updated-dependencies:
- dependency-name: serde_bytes
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-10 20:20:12 +00:00
Justin Starry
369b6b1828
feat: handle `loadedAddresses` field in tx meta responses ( #27065 )
...
feat: handle loadedAddresses field in tx meta responses
2022-08-10 20:08:24 +00:00
Lijun Wang
ceb8f099f2
Fixed a cargo warning on specifing quinn dependencies ( #27057 )
2022-08-10 11:54:13 -07:00
dependabot[bot]
a00c045d7c
chore: bump once_cell from 1.12.0 to 1.13.0 ( #27049 )
...
* chore: bump once_cell from 1.12.0 to 1.13.0
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com>
2022-08-10 12:19:10 -06:00
dependabot[bot]
cbd8fa8fdb
chore: bump dialoguer from 0.10.1 to 0.10.2 ( #27054 )
...
* chore: bump dialoguer from 0.10.1 to 0.10.2
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: dialoguer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com>
2022-08-10 12:18:19 -06:00
Michael Vines
4e79d78629
`solana-validator monitor` how displays slot and gossip stake % while waiting for supermajority
2022-08-10 11:13:25 -07:00
Ikko Ashimine
82dc789362
docs: fix typo in return-data.md ( #27056 )
...
langauge -> language
2022-08-10 11:29:34 -06:00
dependabot[bot]
e3a8d2ecdd
chore: bump serde_json from 1.0.81 to 1.0.83 ( #27036 )
...
* chore: bump serde_json from 1.0.81 to 1.0.83
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.81 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.83 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-10 09:45:42 -06:00
Tyera Eulberg
45c0da8597
Fix quic client on TestValidator, alternative ( #27046 )
...
Add new method to enable custom offset
2022-08-10 15:27:12 +00:00
Ryo Onodera
773a4dd4d5
Fix windows build after crossbeam-epoch patch ( #27052 )
2022-08-10 22:59:14 +09:00
Justin Starry
9348a23dfa
Explorer: Refactor parsed transaction handling ( #27050 )
2022-08-10 11:04:54 +00:00
apfitzge
c03f3b1436
Separate file for ImmutableDeserializedPacket type ( #26951 )
2022-08-09 22:39:01 -07:00
dependabot[bot]
ae5b680c6f
chore: bump serde from 1.0.138 to 1.0.143 ( #27015 )
...
* chore: bump serde from 1.0.138 to 1.0.143
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.138 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.143 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-10 05:08:43 +00:00
Jeff Biseda
370de8129e
ancestor hashes socket ping/pong support ( #26866 )
2022-08-09 21:39:55 -07:00
Michael Vines
ccfbc54195
Move vote program state and instructions to solana-program
2022-08-09 20:52:47 -07:00
hana
b9a5af0a41
Implement nonblocking version of BlockhashQuery ( #27040 )
2022-08-09 20:18:36 -07:00
Lijun Wang
ddd660e2d3
Different staked vs unstaked chunks_received ( #27033 )
...
* Different staked vs unstaked chunks_received
* Suppress a clippy warning
2022-08-09 17:39:14 -07:00
Xiang Zhu
52d8a20a84
Increase timeout to reduce the flakyness of rpc signature receving test ( #27008 )
...
* Increase timeout to reduce the flakyness of rpc signature receving test
* Minor fmt fix
2022-08-09 16:27:43 -07:00
Alexander Meißner
85a679b098
Feature: disable CPI setting `is_executable` and `rent_epoch` ( #26987 )
...
* Adds the feature disable_cpi_setting_executable_and_rent_epoch.
* Adds the feature gate for disable_cpi_setting_executable_and_rent_epoch.
* Removes TEST_EXECUTABLE_LAMPORTS.
* Test that is_executable and rent_epoch are ignored.
2022-08-10 00:22:23 +02:00
Tyera Eulberg
f8d610dbe7
Fix VoteInstruction order ( #27035 )
2022-08-09 15:20:55 -06:00
Michael Vines
b0c61e832c
Correct StakeInstruction::DeactivateDelinquent instruction type
2022-08-09 14:04:42 -07:00
apfitzge
c2455e7aa4
Fix typo in test function ( #27031 )
2022-08-09 12:39:22 -07:00
dependabot[bot]
807c5a7c1f
chore: bump semver from 1.0.10 to 1.0.13 ( #27016 )
...
* chore: bump semver from 1.0.10 to 1.0.13
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.10 to 1.0.13.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.10...1.0.13 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-09 12:49:52 -06:00
Lijun Wang
a69470fd45
Set receive_window per quic connection ( #26936 )
...
This change sets the receive_window for non-staked node to 1 * PACKET_DATA_SIZE, and maps the staked nodes's connection's receive_window between 1.2 * PACKET_DATA_SIZE to 10 * PACKET_DATA_SIZE based on the stakes.
The changes is based on Quinn library change to support per connection receive_window tweak at the server side. quinn-rs/quinn#1393
2022-08-09 10:02:47 -07:00
Richard Patel
f7c6901191
ledger-tool: support Geyser accounts updates ( #26909 )
2022-08-09 15:44:57 +00:00
behzad nouri
e2a2d271f2
adds number of coding shreds to broadcast metrics ( #27006 )
2022-08-09 13:59:40 +00:00
apfitzge
b6d38aad69
tracer-packet-stats reporting should not reset id ( #27012 )
2022-08-09 06:38:08 -07:00
Ryo Onodera
ad3e10f3bd
Patch crossbeam-epoch to avoid overhead ( #26555 )
2022-08-09 21:41:51 +09:00
Jon Cinque
04cac610cc
client: Use async TPU client in sync TPU client by sharing tokio runtime ( #26996 )
...
* Make the sync tpu client use the async tpu client
* Try to fix CI errors
* Fix formatting
* Make rpc_client::get_nonblocking_client public only in the crate
* Save work
* Temporary hack to test sharing runtime between tpu_client and rpc_client
* [WIP] Copy rpc client
* Fix build
* Small refactoring
* Remove copies
* Refactor access to RPC client fields
* Change `clone_inner_client` to `get_inner_client`
Co-authored-by: Ryan Leung <ryan.leung@solana.com>
2022-08-09 12:33:14 +00:00
Justin Malčić
632752d2f9
Add `Signers` impls for `Arc<dyn Signer>` ( #27000 )
...
* Add `Signers` impls for `Arc<dyn Signer>`
* Reformat
2022-08-09 13:05:59 +02:00
Ryo Onodera
ecda3bec01
Revert "Remove resolver=2 from Cargo.toml and add it to the Windows build" ( #27011 )
...
Revert "Remove resolver=2 from Cargo.toml and add it to the Windows build (#26706 )"
This reverts commit 2f6f5b11da
.
2022-08-09 17:58:32 +09:00
dependabot[bot]
4d58655ef5
chore: bump prost-types from 0.11.0 to 0.11.1 ( #27013 )
...
* chore: bump prost-types from 0.11.0 to 0.11.1
Bumps [prost-types](https://github.com/tokio-rs/prost ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.0...prost-types-0.11.1 )
---
updated-dependencies:
- dependency-name: prost-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com>
2022-08-09 00:43:06 -06:00
dependabot[bot]
07a0076fc2
chore: bump bytecount from 0.6.2 to 0.6.3 ( #27014 )
...
Bumps [bytecount](https://github.com/llogiq/bytecount ) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/llogiq/bytecount/releases )
- [Commits](https://github.com/llogiq/bytecount/commits )
---
updated-dependencies:
- dependency-name: bytecount
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 00:33:43 -06:00
dependabot[bot]
15acb7239d
chore: bump sha3 from 0.10.1 to 0.10.2 ( #27002 )
...
* chore: bump sha3 from 0.10.1 to 0.10.2
Bumps [sha3](https://github.com/RustCrypto/hashes ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha3-v0.10.1...sha3-v0.10.2 )
---
updated-dependencies:
- dependency-name: sha3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
* Revert sha3 bump in zk-token-sdk
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-08 21:19:34 -06:00
dependabot[bot]
65141bbb59
chore: bump async-trait from 0.1.56 to 0.1.57 ( #27003 )
...
* chore: bump async-trait from 0.1.56 to 0.1.57
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-08 21:19:12 -06:00
Dmitri Makarov
84eb6bab4a
Refactor cargo-build-sbf integration tests using assert_cmd crate
2022-08-09 00:34:04 +00:00
Brian Anderson
ebe25fdb56
Add API docs for secp256k1_instruction and secp256k1_recover ( #26065 )
...
* Add API docs for secp256k1_instruction and secp256k1_recover
* typo
* Remove unused variable from secp256k1 program test
* Bump solana_bpf_rust_secp256k1_recover ix count
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-08 16:22:10 -06:00
nickfrosty
c7a997872b
docs: updated absolute routes to local routes
2022-08-08 16:39:58 -05:00
dependabot[bot]
555db7e416
chore: bump pickledb from 0.4.1 to 0.5.1 ( #25511 )
...
* chore: bump pickledb from 0.4.1 to 0.5.1
Bumps [pickledb](https://github.com/seladb/pickledb-rs ) from 0.4.1 to 0.5.1.
- [Release notes](https://github.com/seladb/pickledb-rs/releases )
- [Commits](https://github.com/seladb/pickledb-rs/commits/0.5.1 )
---
updated-dependencies:
- dependency-name: pickledb
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add yaml feature declaration
* Turn off default-features
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-08 14:42:47 -06:00
dependabot[bot]
0c82ca9293
chore: bump rustversion from 1.0.7 to 1.0.9 ( #26984 )
...
* chore: bump rustversion from 1.0.7 to 1.0.9
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.7 to 1.0.9.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.7...1.0.9 )
---
updated-dependencies:
- dependency-name: rustversion
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-08 14:40:18 -06:00
steviez
1d66ae0f66
Bail out of execute_batches() early for empty batches slice ( #26932 )
...
The caller of execute_batches() that assembles batches may call this
function with empty batches; we know we can bail early in this scenario.
2022-08-08 12:14:49 -05:00
Yueh-Hsuan Chiang
99ef2184cc
Delete files older than the lowest_cleanup_slot in LedgerCleanupService::cleanup_ledger ( #26651 )
...
#### Problem
LedgerCleanupService requires compactions to propagate & digest range-delete tombstones
to eventually reclaim disk space.
#### Summary of Changes
This PR makes LedgerCleanupService::cleanup_ledger delete any file whose slot-range is
older than the lowest_cleanup_slot. This allows us to reclaim disk space more often with
fewer IOps. Experimental results on mainnet validators show that the PR can effectively
reduce 33% to 40% ledger disk size.
2022-08-09 00:48:06 +08:00
dependabot[bot]
9b54b15016
chore: bump const_format from 0.2.25 to 0.2.26 ( #26985 )
...
Bumps [const_format](https://github.com/rodrimati1992/const_format_crates ) from 0.2.25 to 0.2.26.
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits/0.2.26 )
---
updated-dependencies:
- dependency-name: const_format
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 10:43:43 -06:00
Tyera Eulberg
46b3ecee55
Fix windows release builds ( #26986 )
...
* Don't try to build protobuf-src on windows
* Set protoc envar
2022-08-08 09:42:12 -06:00
Brooks Prumo
dc9a9238d5
Do not check accounts data size in InvokeContext ( #26773 )
2022-08-08 11:05:25 -04:00
Dmitri Makarov
09e26c7d29
Fix programs/bpf bpf_c and bpf_rust features to work independently
...
`cargo test --features="bpf_c"` fails to compile without this fix.
2022-08-08 07:13:18 -07:00
apfitzge
6e57a8f8a1
A more convenient store-tool ( #26796 )
...
* Use new_from_file_unchecked - don't sanitize input length for appendvec file
* Exit-early on completely zeroed accounts
2022-08-08 06:55:00 -07:00
Ahmad
ad0acaa6fa
added arg --rpc-max-request-payload-size to validator ( #26377 )
...
* added ability to pass --rpc-max-request-payload-size to validator
* fixed lint errors
* more lint fix
* patch
Co-authored-by: ultd <ultd>
Co-authored-by: Justin Starry <justin@solana.com>
2022-08-08 13:50:05 +01:00
Dmitri Makarov
d9f0bdf392
Switch to cargo-build-sbf for building tests in programs/bpf
2022-08-08 03:42:54 +00:00