Brooks
6e342ded42
clippy: Removes redundant async blocks ( #31526 )
2023-05-09 09:35:38 -04:00
dependabot[bot]
a674ffc9bd
Bump futures from 0.3.24 to 0.3.28 ( #31536 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.24 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](rust-lang/futures-rs@0.3.24...0.3.28)
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-08 12:59:14 -07:00
behzad nouri
8e638b785a
removes feature gate code sending votes to tpu-vote-port ( #31529 )
2023-05-08 18:12:35 +00:00
Jeff Washington (jwash)
8d98589c85
remove unused historical_roots ( #31539 )
2023-05-08 10:50:27 -07:00
Pankaj Garg
b20024c705
Refactor implicit handling of delay visibility tombstones ( #31537 )
2023-05-08 09:15:04 -07:00
dependabot[bot]
912c45a43d
Bump enum-iterator from 1.4.0 to 1.4.1 ( #31533 )
...
* Bump enum-iterator from 1.4.0 to 1.4.1
Bumps [enum-iterator](https://github.com/stephaneyfx/enum-iterator ) from 1.4.0 to 1.4.1.
- [Commits](https://github.com/stephaneyfx/enum-iterator/compare/1.4.0...1.4.1 )
---
updated-dependencies:
- dependency-name: enum-iterator
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-05-08 09:52:52 -06:00
dependabot[bot]
0cdb6ae770
Bump serde_with from 2.3.2 to 2.3.3 ( #31534 )
...
* Bump serde_with from 2.3.2 to 2.3.3
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v2.3.2...v2.3.3 )
---
updated-dependencies:
- dependency-name: serde_with
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-05-08 09:52:30 -06:00
dependabot[bot]
b067313b9b
Bump bytemuck from 1.13.0 to 1.13.1 ( #31535 )
...
* Bump bytemuck from 1.13.0 to 1.13.1
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.13.0 to 1.13.1.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: bytemuck
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-05-08 09:51:49 -06:00
steviez
0d9783c746
Update queried metric to determine tps in system tests ( #31531 )
...
The test report is querying a metric that has been removed for being too
noisy. So, update the query to use a metric that we report once per
slot.
2023-05-08 10:37:23 -05:00
Trent Nelson
53811e6053
add and recommend script for reserving new package names on crates.io ( #31416 )
...
* add script for reserving package names on crates.io
* ci/check-crates.sh: suggest script for new crate name reservation
2023-05-08 09:31:24 -06:00
Pankaj Garg
d98aaf0614
Programs deployed before the latest root available on all current forks ( #31530 )
...
* Programs deployed before the latest root available on all current forks
* remove special case of slot 0
2023-05-08 07:51:32 -07:00
Brooks
6cf6b8cdf7
clippy: Replace `if let Some() = res.ok()` with `if let Ok() = res` ( #31525 )
2023-05-08 09:36:06 -04:00
Yueh-Hsuan Chiang
8120d31396
Implementation of the footer for tiered account storage ( #31161 )
...
#### Summary of Changes
This PR includes the implementation of the footer for the tiered account storage.
Tiered account storage proposal: #30551
The prototype implementation of the tiered account storage: #30626 .
2023-05-07 13:18:10 -07:00
Tao Zhu
1f91a90a53
Refactor remove unnecessary parameter ( #31520 )
...
Refactor: remove unnecessary parameter from DeserializedPacket constructor
2023-05-07 10:56:24 -05:00
Brooks
775639c058
Revert "SnapshotPackagerService purges old bank snapshots ( #31511 )" ( #31524 )
...
This reverts commit a6c39ded8e
.
2023-05-06 09:18:03 -04:00
joeaba
f42955c93e
remove inactive hosts ( #31521 )
2023-05-05 23:02:09 -05:00
dependabot[bot]
77a56b02ea
Bump futures-util from 0.3.26 to 0.3.28 ( #31503 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](rust-lang/futures-rs@0.3.26...0.3.28)
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-05 19:21:32 -07:00
dependabot[bot]
3f3ee89f72
Bump nix from 0.25.1 to 0.26.2 ( #31505 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.25.1 to 0.26.2.
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md )
- [Commits](nix-rust/nix@v0.25.1...v0.26.2)
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-05 19:16:52 -07:00
Illia Bobyr
2d090d4547
test_gossip_node: Use random port ( #31490 )
...
Using a fixed port could cause a false negative, if the port is
currently in use. We actually see this test failing regularly with an
error that port `1111` is already in use.
Quick search did not show any tests that hardcode port 1111, so it is
unclear why is this happening. But using hardcoded ports is not a good
practice anyways.
2023-05-05 18:47:24 -07:00
Tao Zhu
b19cc03c9a
Refactor: remove test only public function, update tests ( #31518 )
2023-05-05 17:22:09 -05:00
steviez
e62e4fbabd
Replace inc_new_counter_* with datapoint_* in Bank ( #31495 )
...
Counters can only report a single field; this adds an extra step to
debugging efforts to figure out the context for where/why the counted
event occurred. Use datapoints instead to subtmit some extra context.
2023-05-05 16:33:35 -05:00
Brooks
a6c39ded8e
SnapshotPackagerService purges old bank snapshots ( #31511 )
2023-05-05 17:22:48 -04:00
dependabot[bot]
d6dd842b8a
Bump serde from 1.0.160 to 1.0.162 ( #31506 )
...
* Bump serde from 1.0.160 to 1.0.162
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.160 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.160...1.0.162 )
---
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>
2023-05-05 13:30:49 -06:00
dependabot[bot]
657e04087c
Bump assert_cmd from 2.0.4 to 2.0.8 ( #31502 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 2.0.4 to 2.0.8.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.8 )
---
updated-dependencies:
- dependency-name: assert_cmd
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-05-05 12:40:53 -06:00
Brooks
39a092c3dc
Adds snapshot_utils::purge_bank_snapshot() ( #31500 )
...
Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2023-05-05 14:01:08 -04:00
Brooks
c7d922f229
Uses SNAPSHOT_VERSION_FILENAME constant ( #31508 )
2023-05-05 14:00:08 -04:00
Jeff Washington (jwash)
d8664397b6
clarify AccountsIndexScanResult::OnlyKeepInMemoryIfDirty ( #31513 )
2023-05-05 10:39:32 -07:00
Brooks
1d861ad558
Removes solana_logger from snapshot_utils unit tests ( #31510 )
2023-05-05 12:52:36 -04:00
Brooks
10b8b32a31
Uses SNAPSHOT_ARCHIVE_DOWNLOAD_DIR constant ( #31507 )
2023-05-05 12:36:32 -04:00
Brooks
ab6094a94f
Uses SNAPSHOT_ACCOUNTS_HARDLINKS constant ( #31499 )
2023-05-05 12:36:21 -04:00
Dmitri Makarov
078304888d
Decommission rbpf-cli, replaced by solana-ledger-tool run subcommand ( #31512 )
2023-05-05 09:31:38 -07:00
Ikko Eltociear Ashimine
cfaf744051
Fix typo in admin_rpc_service.rs ( #31509 )
...
existant -> existent
2023-05-05 10:17:04 -06:00
Pankaj Garg
9c6e7e0435
Return implicit delay visibility tombstone ( #31493 )
2023-05-05 06:08:57 -07:00
Brooks
c5e071c7fe
Upgrades nightly Rust to 2023-03-04 ( #31487 )
2023-05-05 08:28:23 -04:00
Brooks
4196dbcbf4
Replaces snapshot_utils::remove_bank_snapshot() ( #31498 )
2023-05-05 07:43:28 -04:00
Samuel Moelius
e4d1fcb3db
programs: change `borrow_mut` -> `borrow` in two places in test ( #31399 )
2023-05-05 13:08:17 +02:00
Dmitri Makarov
f09e791a09
Add debugging/tracing capabilities to ledger-tool, previously rbp… ( #31346 )
...
* Add debug and trace capabilities to ledger-tool, previously rbpf-cli
* Dump nested logs from saved traces in invoke_context
* Change the ledger-tool run input format to represent keys as strings
2023-05-05 05:14:41 -04:00
steviez
c77fa29747
Cleanup blockstore_processor::load_frozen_forks() ( #31475 )
...
The function seemed to be in need of some cleanup. Changes include:
- Remove redundant argument
- Shift related variable definitions to be adjacent
- Shift several variables into inner scope
- Rename several variables
- Insert newlines into log statement that was very long in addition to
moving some of the logged values to debug
2023-05-04 23:36:02 -05:00
Pankaj Garg
cc24d2207c
Update SBF bench to account for delay visibility ( #31501 )
2023-05-04 17:17:02 -07:00
Brooks
0e0c91faac
Adds snapshot_utils::purge_bank_snapshot() ( #31497 )
2023-05-04 19:19:26 -04:00
HaoranYi
0f4293914c
remove unnecessary-struct-initialization ( #31486 )
...
* remove unnecessary-struct-initialization
* more remove unnecessary-struct-initialization
---------
Co-authored-by: haoran <haoran.yi@solana.com>
2023-05-04 17:48:33 -05:00
dependabot[bot]
f8bdeb8d05
Bump dialoguer from 0.10.2 to 0.10.4 ( #31476 )
...
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.10.2 to 0.10.4.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/console-rs/dialoguer/blob/master/CHANGELOG.md )
- [Commits](console-rs/dialoguer@v0.10.2...v0.10.4)
---
updated-dependencies:
- dependency-name: dialoguer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-04 14:51:00 -07:00
Pankaj Garg
de43ac44fd
Allow replacing tombstone with a non-tombstone ( #31494 )
2023-05-04 13:56:39 -07:00
Pankaj Garg
555520b640
Update SBF programs tests to use bank from the correct slot ( #31491 )
2023-05-04 13:25:02 -07:00
Alexander Meißner
67939c061e
Feature Gate Update - Requires the owner accounts of programs to be built-ins. ( #31488 )
...
Requires the owner accounts of programs to be built-ins.
(owned by the native_loader and have the executable flag set)
2023-05-04 21:03:09 +02:00
dependabot[bot]
53aec4a96d
Bump async-trait from 0.1.57 to 0.1.68 ( #31478 )
...
* Bump async-trait from 0.1.57 to 0.1.68
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.57 to 0.1.68.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.57...0.1.68 )
---
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>
2023-05-04 18:17:46 +00:00
dependabot[bot]
93fc6bd629
Bump ctrlc from 3.2.3 to 3.2.5 ( #31477 )
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](Detegr/rust-ctrlc@3.2.3...3.2.5)
---
updated-dependencies:
- dependency-name: ctrlc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-04 11:12:53 -07:00
Brooks
ef7470f50c
Removes needless borrows ( #31489 )
2023-05-04 18:09:17 +00:00
dependabot[bot]
7a40eae7d8
Bump openssl from 0.10.51 to 0.10.52 ( #31480 )
...
* Bump openssl from 0.10.51 to 0.10.52
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.51 to 0.10.52.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.51...openssl-v0.10.52 )
---
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-05-04 11:51:20 -06:00
dependabot[bot]
29aec6e1b4
Bump thiserror from 1.0.31 to 1.0.40 ( #31479 )
...
* Bump thiserror from 1.0.31 to 1.0.40
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.31 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.40 )
---
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>
2023-05-04 11:39:59 -06:00