dependabot[bot]
d9b2051bca
build(deps): bump serde_yaml from 0.9.29 to 0.9.30 ( #34649 )
...
* build(deps): bump serde_yaml from 0.9.29 to 0.9.30
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.29 to 0.9.30.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.29...0.9.30 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
2024-01-04 22:26:17 +08:00
steviez
744c2cbe04
ledger-tool: Switch subcommand dispatch from if-else to match ( #34644 )
...
A future change will add more cases to this if-else if-...-else chain.
Using a match statement will be easier to follow then a very long
if-else if-... chain.
This change was broken out in order to have a higher signal to noise
ratio in the subsequent change.
2024-01-03 21:53:27 -06:00
Alessandro Decina
917e242e7f
bpf_loader: fix clippy::blocks_in_conditions lint ( #34643 )
...
See https://github.com/solana-labs/solana/issues/34626
2024-01-04 11:58:10 +11:00
steviez
0b49d82d3e
ledger-tool: Move blockstore arg parsing to open_blockstore() ( #34596 )
...
The open_blockstore() helper currently takes multiple configurable
options. While the arguments are parsed at a high enough scope in
main.rs to avoid repeated calls, this parsing is duplicated in the
separate subcommand files (program.rs and bigtable.rs).
The repeated parsing is redundant, and also prone to having to missing
an arg (as was the case with bigtable not having wal_recovery_mode).
So, this PR consolidates the parsing to a single function and uses that
function across the previous callers.
2024-01-03 16:04:51 -06:00
HaoranYi
5a3a10e847
Deprecate account meta executable read/update in bpf loaders ( #34194 )
...
* use PROGRAM_OWNER + program data for account executable
mock account data with executable_meta in precompiled program and update
test_bank_hash_consistency test
pr: return const slice and add comments
pr: use ReadableAccount
use const to get rid of magic number
add featuregate disable_bpf_loader_instructions to disable bpf loader management instructions, and deprecate_executable_meta_update_in_bpf_loader to deprecate executable flag update in bpf loader
deprecate usage of executable in Account
fix a test
fix sbp bench
fix sbf program tests
add feature gate to account and borrowed account apis
fix tests
more test fixes
* restore bpf_loader v2 tests
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-01-03 15:11:48 -06:00
steviez
1d93732a60
clippy: ledger-tool lints ( #34640 )
...
warning: `flatten()` will run forever if the iterator repeatedly produces an `Err`
--> ledger-tool/src/main.rs:2649:39
|
2649 | for line in f.lines().flatten() {
| ^^^^^^^^^ help: replace with: `map_while(Result::ok)`
|
note: this expression returning a `std::io::Lines` may produce an infinite number of `Err` in case of a read error
--> ledger-tool/src/main.rs:2649:29
|
2649 | for line in f.lines().flatten() {
| ^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lines_filter_map_ok
= note: `#[warn(clippy::lines_filter_map_ok)]` on by default
warning: `solana-ledger-tool` (bin "solana-ledger-tool" test) generated 1 warning
2024-01-03 13:35:05 -06:00
chalda
8330dee95d
[program-test] adding method warp_to_epoch ( #34620 )
...
* [program-test] adding method warp_to_epoch
* formatting fix
2024-01-03 10:58:22 -07:00
dependabot[bot]
431fd91492
Bump serde from 1.0.193 to 1.0.194 ( #34639 )
...
* Bump serde from 1.0.193 to 1.0.194
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.193 to 1.0.194.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.194 )
---
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
---------
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>
2024-01-03 17:48:46 +00:00
Ashwin Sekar
19088411ff
blockstore: populate duplicate shred proofs for merkle root conflicts ( #34270 )
...
* blockstore: populate duplicate shred proofs for merkle root conflicts
* pr feedback: check test case
* pr feedback: comment
* pr feedback: match statement, shred_id, comment
* add feature flag
* pr feedback: rename ff var and perform_merkle_check
* pr feedback: move panic to callers in get_shred_from_just_inserted_or_db
* avoid unecessary write if proof is already present
2024-01-03 12:15:52 -05:00
HaoranYi
8148cb5a25
chore: ignore farf/ in .gitignore ( #34634 )
...
* add test-validator/farf/ to gitignore
* ignore all farf subdirs
* no **
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-01-03 10:36:19 -06:00
dependabot[bot]
35afc3ee22
Bump thiserror from 1.0.52 to 1.0.56 ( #34638 )
...
* Bump thiserror from 1.0.52 to 1.0.56
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.52 to 1.0.56.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.52...1.0.56 )
---
updated-dependencies:
- dependency-name: thiserror
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>
2024-01-03 23:20:58 +08:00
dependabot[bot]
ace2bb2e37
Bump serde_bytes from 0.11.13 to 0.11.14 ( #34637 )
...
* Bump serde_bytes from 0.11.13 to 0.11.14
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.13 to 0.11.14.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.13...0.11.14 )
---
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>
2024-01-03 23:20:42 +08:00
steviez
5b91e299da
ledger-tool: Move ledger output methods to output.rs ( #34595 )
...
We have a dedicated file for CLI output, so move the various output
functions there to declutter main.rs file
2024-01-03 09:05:16 -06:00
Brooks
e4ec68d704
clippy: accounts-db lints ( #34628 )
...
```
warning: this `let...else` may be rewritten with the `?` operator
--> accounts-db/src/rolling_bit_field/iterators.rs:36:13
|
36 | / let Some(bit) = self.bit_range.next() else {
37 | | return None;
38 | | };
| |______________^ help: replace it with: `let bit = self.bit_range.next()?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
= note: `#[warn(clippy::question_mark)]` on by default
Checking solana-rpc-client-api v1.18.0 (/Users/brooks/src/solana/rpc-client-api)
warning: `solana-accounts-db` (lib) generated 1 warning
```
2024-01-03 14:17:12 +00:00
Brooks
de976be596
clippy: runtime lints ( #34630 )
...
```
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> runtime/src/accounts/mod.rs:483:82
|
483 | let min_balance = match get_system_account_kind(payer_account).ok_or_else(|| {
| __________________________________________________________________________________^
484 | | error_counters.invalid_account_for_fee += 1;
485 | | TransactionError::InvalidAccountForFee
486 | | })? {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[warn(clippy::blocks_in_conditions)]` on by default
warning: this `let...else` may be rewritten with the `?` operator
--> runtime/src/bank.rs:3093:21
|
3093 | / let Some(vote_account) = get_vote_account(&vote_pubkey) else {
3094 | | return None;
3095 | | };
| |______________________^ help: replace it with: `let vote_account = get_vote_account(&vote_pubkey)?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
= note: `#[warn(clippy::question_mark)]` on by default
warning: this `let...else` may be rewritten with the `?` operator
--> runtime/src/bank.rs:4778:17
|
4778 | / let Some((_, account)) = accounts.get(i) else {
4779 | | return None;
4780 | | };
| |__________________^ help: replace it with: `let (_, account) = accounts.get(i)?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
Checking solana-bench-streamer v1.18.0 (/Users/brooks/src/solana/bench-streamer)
warning: `solana-runtime` (lib) generated 3 warnings
```
2024-01-03 14:16:25 +00:00
Nick Frostbutter
fc2a8794be
[docs] updated readme and fix links ( #34565 )
...
* feat: updated readme
* fix: updated links
* fix: proposal links
* fix: more links
* fix: json-rpc links
* fix: more links
* fix: zk links
* fix: managing forks
* fix: links for deprecated methods
2024-01-03 09:06:06 -05:00
Brooks
d6146af02d
clippy: validator lints ( #34631 )
...
```
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> validator/src/dashboard.rs:223:38
|
223 | match async move {
| ______________________________________^
224 | | let rpc_addr = admin_client.rpc_addr().await?;
225 | | let start_time = admin_client.start_time().await?;
226 | | Ok::<_, jsonrpc_core_client::RpcError>((rpc_addr, start_time))
227 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[warn(clippy::blocks_in_conditions)]` on by default
warning: `solana-validator` (lib) generated 1 warning
```
2024-01-03 07:20:34 +00:00
dependabot[bot]
558b68b6ac
Bump async-trait from 0.1.75 to 0.1.77 ( #34617 )
...
* Bump async-trait from 0.1.75 to 0.1.77
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.75 to 0.1.77.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/commits )
---
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
---------
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>
2024-01-03 12:48:55 +08:00
Brooks
59dd007899
clippy: zk-token-sdk lints ( #34633 )
2024-01-02 22:01:42 -05:00
Brooks
1bb2f55235
clippy: rpc lints ( #34632 )
2024-01-02 21:50:52 -05:00
Andrew Fitzgerald
09a94b8197
Bump prio-graph version to 0.2.1 ( #34604 )
...
* Bump prio-graph version to 0.2.1
* Update program Cargo lock
2024-01-02 17:42:46 +00:00
Andrew Fitzgerald
6dea5a23cf
ConcurrentBloomInterval ( #34486 )
2024-01-02 08:21:36 -08:00
dependabot[bot]
5349308070
Bump ahash from 0.8.6 to 0.8.7 ( #34615 )
...
* Bump ahash from 0.8.6 to 0.8.7
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.8.6 to 0.8.7.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits )
---
updated-dependencies:
- dependency-name: ahash
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>
2024-01-02 13:02:44 +00:00
dependabot[bot]
436054a4b2
Bump proc-macro2 from 1.0.71 to 1.0.74 ( #34616 )
...
* Bump proc-macro2 from 1.0.71 to 1.0.74
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.71 to 1.0.74.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.71...1.0.74 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2024-01-02 19:36:32 +08:00
dependabot[bot]
5a67b63dda
Bump serde_json from 1.0.108 to 1.0.109 ( #34614 )
...
* Bump serde_json from 1.0.108 to 1.0.109
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.108 to 1.0.109.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.109 )
---
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>
2024-01-02 19:36:00 +08:00
dependabot[bot]
7275c30f70
Bump anyhow from 1.0.77 to 1.0.79 ( #34613 )
...
* Bump anyhow from 1.0.77 to 1.0.79
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.77 to 1.0.79.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.77...1.0.79 )
---
updated-dependencies:
- dependency-name: anyhow
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>
2024-01-02 19:35:17 +08:00
dependabot[bot]
c1c857ccd1
Bump thiserror from 1.0.51 to 1.0.52 ( #34601 )
...
* Bump thiserror from 1.0.51 to 1.0.52
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.52 )
---
updated-dependencies:
- dependency-name: thiserror
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>
2024-01-02 04:03:35 +00:00
dependabot[bot]
d9fd5d0308
build(deps): bump crossbeam-channel from 0.5.9 to 0.5.10 ( #34591 )
...
* build(deps): bump crossbeam-channel from 0.5.9 to 0.5.10
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.9...crossbeam-channel-0.5.10 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
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>
2024-01-02 11:39:09 +08:00
dependabot[bot]
e6e99a79bc
Bump anyhow from 1.0.76 to 1.0.77 ( #34602 )
...
* Bump anyhow from 1.0.76 to 1.0.77
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.76 to 1.0.77.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.76...1.0.77 )
---
updated-dependencies:
- dependency-name: anyhow
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>
2024-01-02 11:29:31 +08:00
dependabot[bot]
41cfbe37e2
Bump tempfile from 3.8.1 to 3.9.0 ( #34603 )
...
* Bump tempfile from 3.8.1 to 3.9.0
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.8.1 to 3.9.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.9.0 )
---
updated-dependencies:
- dependency-name: tempfile
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 <dependabot-buildkite@noreply.solana.com>
2024-01-02 11:28:59 +08:00
dependabot[bot]
6ff13e4f70
Bump serde_bytes from 0.11.12 to 0.11.13 ( #34598 )
...
* Bump serde_bytes from 0.11.12 to 0.11.13
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.12 to 0.11.13.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.12...0.11.13 )
---
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>
2024-01-02 11:28:12 +08:00
Brooks
26d058185e
Upgrades Rust to 1.75.0 ( #34607 )
2023-12-30 05:15:49 +00:00
Brooks
58170cf9bf
clippy: Fixes blocks in conditions ( #34600 )
2023-12-28 12:17:23 -05:00
Brooks
f8c3e24e73
clippy: Removes ineffective open options ( #34599 )
...
```
error: unnecessary use of `.write(true)` because there is `.append(true)`
--> logger/src/lib.rs:61:9
|
61 | .write(true)
| ^^^^^^^^^^^^ help: remove `.write(true)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_open_options
= note: `-D clippy::ineffective-open-options` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ineffective_open_options)]`
```
2023-12-27 22:20:17 -05:00
steviez
1f7c714acf
Allow bank hash file to contain details for multiple slots ( #34516 )
...
The initial implementation only allowed for outputting details for one
bank/slot. There are several usecases that could take advantage of the
file being able to contain details for multiple banks.
So, this PR adjusts the structure to contain details about multiple
banks. Note that using a basic diff will not work for comparing the old
format to this new format. Instead, a basic transform with jq will be
necessary to do so.
2023-12-27 12:37:11 -05:00
Ford
057ad2ab47
Fix typo in comments in core ( #34594 )
2023-12-26 16:13:17 -05:00
dependabot[bot]
1c2facf93c
bump openssl from 0.10.61 to 0.10.62 ( #34593 )
...
* bump openssl from 0.10.61 to 0.10.62
---
updated-dependencies:
- dependency-name: openssl
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>
2023-12-27 02:57:20 +08:00
dependabot[bot]
d63b2874c8
build(deps): bump ctrlc from 3.4.1 to 3.4.2 ( #34592 )
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.4.1...3.4.2 )
---
updated-dependencies:
- dependency-name: ctrlc
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>
2023-12-27 02:55:39 +08:00
dependabot[bot]
36809294be
build(deps): bump futures from 0.3.29 to 0.3.30 ( #34589 )
...
* build(deps): bump futures from 0.3.29 to 0.3.30
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.29 to 0.3.30.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30 )
---
updated-dependencies:
- dependency-name: futures
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>
2023-12-27 02:51:56 +08:00
dependabot[bot]
5d6fa24b07
build(deps): bump syn from 2.0.42 to 2.0.43 ( #34588 )
...
* build(deps): bump syn from 2.0.42 to 2.0.43
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.42 to 2.0.43.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.42...2.0.43 )
---
updated-dependencies:
- dependency-name: syn
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>
2023-12-27 02:51:14 +08:00
Brooks
6b76ec1de0
Uses Bank::new_for_tests() instead of new_for_tests_with_config() ( #34587 )
2023-12-26 12:54:14 -05:00
Yueh-Hsuan Chiang
d500eb6510
[TieredStorage] HotAccountsReader::get_account ( #34499 )
...
#### Problem
All structs that implement AccountsFile are required to support get_account,
but the implementation for HotAccounts is currently missing.
#### Summary of Changes
This PR implements HotAccountsReader::get_account_from_index_offset.
This will allow it to support AccountsFile::get_account API.
#### Test Plan
Add new unit-test.
2023-12-25 06:44:00 -08:00
Lijun Wang
1a001751dd
add metrics on throttled streams ( #34579 )
2023-12-22 16:49:01 -08:00
Ashwin Sekar
cc584a0c19
blockstore: write only dirty erasure meta and merkle root metas ( #34269 )
...
* blockstore: write only dirty erasure meta and merkle root metas
* pr feedback: use enum to distinguish clean/dirty
* pr feedback: comments, rename
* pr feedback: use AsRef
2023-12-22 16:26:50 -05:00
Tyera
368852d8fa
Add entries table to bigtable docs ( #34567 )
...
* Add entries table to bigtable docs
* Add Bigtable entries info to changelog
* Add version to entries docs info
2023-12-22 10:07:40 -07:00
dependabot[bot]
bb88254bb9
build(deps): bump proc-macro2 from 1.0.70 to 1.0.71 ( #34575 )
...
* build(deps): bump proc-macro2 from 1.0.70 to 1.0.71
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.70...1.0.71 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2023-12-22 22:55:33 +08:00
dependabot[bot]
8c22e16705
build(deps): bump serde_yaml from 0.9.28 to 0.9.29 ( #34576 )
...
* build(deps): bump serde_yaml from 0.9.28 to 0.9.29
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.28 to 0.9.29.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.28...0.9.29 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
2023-12-22 22:54:58 +08:00
Yueh-Hsuan Chiang
5b26d2737b
[TieredStorage] Fix typos in index.rs ( #34546 )
...
#### Problem
There're some typos in the comments and assert messages index.rs mentioned in #34529
#### Summary of Changes
Fix the typos (only in assert message and comments).
2023-12-21 22:36:38 -08:00
Yueh-Hsuan Chiang
f73fd9dd3c
[TieredStorage] HotStorageReader::account_matches_owners ( #34350 )
...
#### Problem
Each AccountsFile is required to implement account_matches_owners(),
a public API that checks whether the account located at the specified
offset matches any input owners. However, the implementation of
account_matches_owners() for HotAccountsStorage is missing.
#### Summary of Changes
This PR implements HotStorageReader::account_matches_owners().
#### Test Plan
A new unit-test is added to this PR.
2023-12-21 19:20:03 -08:00
Pankaj Garg
6bbd3661e1
Throttle unstaked quic streams for a given connection ( #34562 )
...
* Throttle unstaked quic streams for a given connection
* Fix interval duration check
* move wait to handle_chunk
* set max unistreams to 0
* drop new streams
* cleanup
* some more cleanup
* fix tests
* update test and stop code
* fix bench-tps
2023-12-21 18:47:52 -08:00