Jeff Washington (jwash)
d9cfb31bba
remove unnecessary struct IndexAccountMapEntry ( #31605 )
2023-05-11 13:22:03 -07:00
Jeff Washington (jwash)
e0b914e775
use highest alive root to determine ancient for packing ( #31573 )
2023-05-11 12:13:15 -07:00
Jeff Washington (jwash)
ea95173b27
remove IndexAccountMapEntry.store_id ( #31600 )
...
* remove IndexAccountMapEntry.store_id
* fix empty case that test hit
* store_id checks
* cleanup generate index when slot contains no storage
* remove unwrap
2023-05-11 12:12:41 -07:00
Illia Bobyr
43c0f05ca0
Bumps base64 from 0.13.1 to 0.21.0. ( #31522 )
...
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.
2023-05-11 11:34:58 -07:00
dependabot[bot]
76d1c38f59
Bump js-sys from 0.3.59 to 0.3.62 ( #31592 )
...
* Bump js-sys from 0.3.59 to 0.3.62
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.59 to 0.3.62.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
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-11 16:40:08 +00:00
Brooks
93087324e3
Uses AccountsBackgroundService::setup_bank_drop_callback() in tests ( #31598 )
2023-05-11 12:40:03 -04:00
dependabot[bot]
a414b67b88
Bump wasm-bindgen from 0.2.84 to 0.2.85 ( #31589 )
...
* Bump wasm-bindgen from 0.2.84 to 0.2.85
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.84 to 0.2.85.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.84...0.2.85 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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-11 10:35:42 -06:00
Jon Cinque
c0e107a97d
gossip-service: Spy multiple nodes by pubkey at once ( #31597 )
...
* gossip: Spy multiple pubkeys
* Address behzad's feedback
2023-05-11 18:24:35 +02:00
Jeff Washington (jwash)
722921380b
remove unused IndexAccountMapEntry.write_version ( #31599 )
2023-05-11 09:16:27 -07:00
dependabot[bot]
c22b87e49a
Bump serde from 1.0.162 to 1.0.163 ( #31591 )
...
* Bump serde from 1.0.162 to 1.0.163
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163 )
---
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-11 09:59:55 -06:00
Tao Zhu
49f44f5ded
Refactor pass feature status to deserialized packet via packet meta ( #31549 )
...
Add a flag to packet, set its value by packet_deserializer when received by banking_stage with working_bank
2023-05-11 09:31:05 -05:00
Ryo Onodera
4d4dddcaea
Update to nightly rustc to 2023-04-19 ( #31381 )
...
* Update to nightly rustc to 2023-04-19
* pray...
* Not enough pray..
* skip check...
* hope merciful shellcheck
* ci hack...
* Restore ci/test-checks.sh
* Restore debug_assertions with proper workaround...
* small cleanup
* seems this isn't needed?
* Make the workaround more robust...
* Remove now-resolved clippy exception
2023-05-11 15:48:13 +09:00
Alexander Meißner
bbd8be6cbe
Refactor - Renames loader-v3 to loader-v4. ( #31570 )
...
Renames loader-v3 to loader-v4.
2023-05-11 08:29:06 +02:00
dependabot[bot]
f985f73d52
Bump libc from 0.2.142 to 0.2.144 ( #31552 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.142 to 0.2.144.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](rust-lang/libc@0.2.142...0.2.144)
---
updated-dependencies:
- dependency-name: libc
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-10 19:28:52 -07:00
dboures
1149c91660
Batch rpc calls in `solana-tokens distribute-spl-tokens` ( #31419 )
...
* refactor: batch token account rpc calls in distribute-spl-tokens
* batch fee estimate rpc calls in distribute-spl-tokens
2023-05-11 01:55:58 +02:00
Tyera
3f70ddb2c5
Add entry notification service for geyser ( #31290 )
...
* Move entry_notifier_interface
* Add EntryNotifierService
* Use descriptive struct in sender/receiver
* Optionally initialize EntryNotifierService in validator
* Plumb EntryNotfierSender into Tvu, blockstore_processor
* Plumb EntryNotfierSender into Tpu
* Only return one option when constructing EntryNotifierService
2023-05-10 17:20:51 -06:00
Ashwin Sekar
c900ef8290
refactor: combine SlotStateUpdate impls ( #31578 )
2023-05-10 15:12:39 -06:00
steviez
18a118b438
Condense banking_stage counters into existing datapoint ( #31564 )
...
Counters incur additional overhead in sending points to the MetricsAgent
over a crossbeam channel. Additionally, some of these counters would be
submitted by non-voting nodes which is just extra overhead and noise.
This change condenses several updates of a counter into a field of the
existing BankingStageStats metrics struct.
2023-05-10 15:44:42 -05:00
samkim-crypto
39701fa560
[zk-token-sdk] Refactor encryption error types ( #31569 )
...
* reorganize encryption error types
* remove encryption errors module
* cargo fmt
2023-05-11 04:43:25 +09:00
Dmitri Makarov
fb79e2bbb8
Reorganize ledger-tool run sub-command ( #31572 )
...
* Rename ledger-tool run subcommand to program subcommand
* Reorganize ledger-tool program command to multiple subcommands
2023-05-10 15:25:38 -04:00
Pankaj Garg
04425b81ce
Add stats for LoadedPrograms ( #31577 )
2023-05-10 12:08:55 -07:00
dependabot[bot]
e1b57b8a37
Bump hidapi from 2.2.0 to 2.3.1 ( #31554 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
---
updated-dependencies:
- dependency-name: hidapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 12:26:56 -06:00
Will Hickey
3293ca4a52
Add canaries to metrics config ( #31517 )
2023-05-10 12:12:50 -05:00
dependabot[bot]
5377bd6de4
Bump quote from 1.0.26 to 1.0.27 ( #31553 )
...
* Bump quote from 1.0.26 to 1.0.27
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.26...1.0.27 )
---
updated-dependencies:
- dependency-name: quote
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-10 10:22:39 -06:00
dependabot[bot]
26269dadc3
Bump indexmap from 1.9.2 to 1.9.3 ( #31551 )
...
* Bump indexmap from 1.9.2 to 1.9.3
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.2 to 1.9.3.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.9.2...1.9.3 )
---
updated-dependencies:
- dependency-name: indexmap
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-10 10:21:48 -06:00
Jeff Washington (jwash)
fed1bb7d54
use max alive root to determine ancient cutoff for clean stats ( #31545 )
...
* use max alive root to determine ancient cutoff for clean stats
* fix math and add tests
2023-05-10 08:05:31 -07:00
Alexander Meißner
9e72668a77
Refactor - Simplify built-in program feature transition ( #31565 )
...
* Removes builtins::get_builtins(), instead derive them from Bank::builtin_programs.
* Removes BuiltinAction.
Turns BuiltinFeatureTransition from an enum into a struct.
* Makes Bank::remove_builtin() place tombstones.
2023-05-10 16:53:36 +02:00
Pankaj Garg
ab89e2cb15
Remove executor cache from the codebase ( #31566 )
2023-05-10 07:11:04 -07:00
Alexander Meißner
8e9b064ab3
Cleanup - `add_compute_budget_program` and `versioned_tx_message_enabled` ( #31560 )
...
* Moves compute_budget_program and address_lookup_table_program into genesis_builtins().
* Removes feature gate of versioned_tx_message_enabled.
2023-05-10 01:14:08 +02:00
Pankaj Garg
2210af60ee
Replace executor cache usage with LoadedPrograms cache ( #31462 )
...
* Replace executor cache usage with LoadedPrograms cache
* clippy fixes
* update cache with updated programs
* fixes
* more cleanup
* update tx batch cache with the tx results
* address review comments
* handle program closing backward compatibility
* handle unloaded programs during extraction
2023-05-09 15:44:38 -07:00
Tao Zhu
fb7ba97afc
refactor: move test and bench only code from main code to where they are needed ( #31550 )
...
* refactor: move test and bench only code to specific location
* remove inactive bench test
2023-05-09 16:39:23 -05:00
samkim-crypto
21667660e9
[zk-token-sdk, clap-v3-utils] Implement `EncodableKey` for encryption keys ( #31496 )
...
* implement EncodableKey for ElGamalKeypair
* implement EncodableKey for AeKey
* add keypair_from_path and keypair_from_seed support for encryption keys
* remove duplicate methods from traits
2023-05-10 06:37:29 +09:00
Pankaj Garg
3fd3e6d4e1
Use current root slot to disambiguate pruning of old programs ( #31548 )
...
* Use current root slot to unambiguate pruning of old programs
* simplify the change
* address comment
2023-05-09 11:28:56 -07:00
Brooks
3bb2e3b546
Purges incomplete snapshot dirs at startup ( #31555 )
2023-05-09 14:08:12 -04:00
Jeff Washington (jwash)
c7867cfa5f
clean stats for ancient aren't based off last hash calc slot ( #31546 )
2023-05-09 10:08:08 -07:00
steviez
4300d84c68
Remove counters from ReplayStage ( #31532 )
...
replay_stage-voted_empty_bank has been converted into a datapoint that
now includes slot number. replay_stage-replay_transactions has been
removed altogether as we can get similar information on a per-slot basis
from replay-slot-stats metric.
2023-05-09 11:44:02 -05:00
x19
312d31acaa
add block-sub argument to solana-test-validator ( #31544 )
...
add block sub to test validator
2023-05-09 15:29:14 +00:00
Pankaj Garg
3845423e17
Generalize matching criteria for tombstone at boot up ( #31547 )
...
Generalize matching criteria for tombstone at bootup
2023-05-09 08:26:42 -07:00
behzad nouri
6a4a0418a6
removes hard-coded QUIC_PORT_OFFSET from connection-cache ( #31541 )
...
New ContactInfo has api identifying QUIC vs UDP ports; no need to hard-code
port-offset deep in connection-cache.
2023-05-09 13:46:17 +00:00
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