Commit Graph

22228 Commits

Author SHA1 Message Date
joeaba 68d57b1b9f
update influx enterprise scripts (#31117)
* update influx enterprise scripts
2023-04-10 09:10:54 -05:00
Pankaj Garg 2613ad7d70
Fix unused import error in LoadedPrograms (#31116) 2023-04-08 00:31:23 -07:00
dependabot[bot] 2630f8506a
Bump generic-array from 0.14.6 to 0.14.7 (#31100)
Bumps [generic-array](https://github.com/fizyk20/generic-array) from 0.14.6 to 0.14.7.
- [Release notes](https://github.com/fizyk20/generic-array/releases)
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fizyk20/generic-array/commits)

---
updated-dependencies:
- dependency-name: generic-array
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:25:03 -07:00
dependabot[bot] f105dea502
Bump indicatif from 0.17.1 to 0.17.3 (#31101)
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.1 to 0.17.3.
- [Release notes](https://github.com/console-rs/indicatif/releases)
- [Commits](console-rs/indicatif@0.17.1...0.17.3)

---
updated-dependencies:
- dependency-name: indicatif
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:17:30 -07:00
dependabot[bot] 76c6ded304
Bump anyhow from 1.0.58 to 1.0.70 (#31102)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.58 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.58...1.0.70)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:14:33 -07:00
dependabot[bot] 05372274b9
Bump rustversion from 1.0.11 to 1.0.12 (#31104)
Bumps [rustversion](https://github.com/dtolnay/rustversion) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/rustversion/releases)
- [Commits](dtolnay/rustversion@1.0.11...1.0.12)

---
updated-dependencies:
- dependency-name: rustversion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:09:36 -07:00
dependabot[bot] 6e47286e49
Bump serde_yaml from 0.9.13 to 0.9.21 (#31103)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.13 to 0.9.21.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](dtolnay/serde-yaml@0.9.13...0.9.21)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 15:58:27 -07:00
HaoranYi fcd1fe0959
Refactor fault hash injection into lambda (#31093)
* refactor out fault hash inject output AccountsHashVerifier

* refactor faught injector out of AccountHashVerifier

* use type alias

* Apply suggestions from code review

Co-authored-by: Brooks <brooks@prumo.org>

* move type alias

* rename

---------

Co-authored-by: Brooks <brooks@prumo.org>
2023-04-07 17:50:21 -05:00
Brennan b3bb4357bb
Add snapshot download metrics (#31111)
* Add snapshot download metrics
2023-04-07 13:19:14 -07:00
Tao Zhu 9a7b6abc91
update benches after removing packet.sender_stake (#31110) 2023-04-07 14:27:29 -05:00
Andrew Fitzgerald 926bb0c794
MultiIteratorScanner::finalize returns (payload, already_processed) (#31054)
* finalize() returns (payload, already_processed)

* Additional testing around already_handled

* Return type wrapper and comment update
2023-04-07 11:17:36 -07:00
Andrew Fitzgerald 15011eaa5a
separate check_transaction_age from check_age (#30994) 2023-04-07 09:04:03 -07:00
Jeff Washington (jwash) 03abaf76d0
disk index: bucket_index_ix doesn't % by capacity (#31096) 2023-04-07 06:59:35 -07:00
Jeff Washington (jwash) 3422823932
disk index: keep same random during resize (#31095) 2023-04-07 06:54:50 -07:00
behzad nouri 466a9a2449
removes ip_stake_map field from streamer::StakedNodes (#31078) 2023-04-07 13:27:29 +00:00
Alexander Meißner 0cd57addcf
Cleanup - mock_process_instruction() (#31088)
* Uses declare_process_instruction!() in all tests.

* Adds post_adjustments to mock_process_instruction().
Removes "solana_sbf_rust_external_spend" from assert_instruction_count() as it panics.
2023-04-07 12:53:19 +02:00
dependabot[bot] bcd43d7a79
Bump rayon from 1.5.3 to 1.7.0 (#30981)
* Bump rayon from 1.5.3 to 1.7.0

Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.3 to 1.7.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.3...rayon-core-v1.7.0)

---
updated-dependencies:
- dependency-name: rayon
  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>
2023-04-06 23:27:53 -06:00
Ryo Onodera f0432ec50f
Avoid overflow in ThreadSet::any() and nits (#31098)
Avoid overflow in ThreadSet::any and etc
2023-04-07 12:45:29 +09:00
dependabot[bot] dd82157afb
Bump ouroboros from 0.15.0 to 0.15.6 (#31090)
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.15.0 to 0.15.6.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases)
- [Commits](https://github.com/joshua-maros/ouroboros/commits)

---
updated-dependencies:
- dependency-name: ouroboros
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 19:11:32 -07:00
dependabot[bot] 9410e95baa
Bump crossbeam-channel from 0.5.6 to 0.5.7 (#31091)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.6...crossbeam-channel-0.5.7)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 19:00:49 -07:00
dependabot[bot] 6782a6fe38
Bump strum_macros from 0.24.0 to 0.24.3 (#31092)
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.24.0 to 0.24.3.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: strum_macros
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 18:52:16 -07:00
dependabot[bot] 0783363183
Bump blake3 from 1.3.1 to 1.3.3 (#31089)
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases)
- [Commits](BLAKE3-team/BLAKE3@1.3.1...1.3.3)

---
updated-dependencies:
- dependency-name: blake3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 18:51:40 -07:00
behzad nouri 4d0abebe0e
removes Packet Meta.sender_stake and find_packet_sender_stake_stage (#31077)
Packet Meta.sender_stake is unused since
https://github.com/solana-labs/solana/pull/26512
removed sender_stake from banking-stage buffer prioritization.
2023-04-06 21:33:43 +00:00
dependabot[bot] 5f413db04f
Bump webpack from 5.74.0 to 5.78.0 in /docs (#31074)
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.78.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.74.0...v5.78.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 14:27:55 -07:00
Illia Bobyr 0f8317b22e
dependabot: Increase PR limit to 6 (#31087)
Current limit of 3 is too low, as the updates are happening faster than
they are processed via our review process.

As this limit applies to the total number of outstanding PRs, any PR
that requires additional investigation is further reducing the update
speed.

Bumping 2x to see if this would get us back on track to catching up with
the current state of the world.
2023-04-06 14:26:57 -07:00
Andrew Fitzgerald 3a6d990d4c
[docs]: reduce header level (#31084) 2023-04-06 14:41:55 -05:00
Jeff Washington (jwash) 6dc18fe241
fix cli arg for ancient append vecs (#31066) 2023-04-06 12:03:31 -07:00
dependabot[bot] 62b7de88e5
Bump chrono-humanize from 0.2.1 to 0.2.2 (#31075)
Bumps [chrono-humanize](https://gitlab.com/imp/chrono-humanize-rs) from 0.2.1 to 0.2.2.
- [Release notes](https://gitlab.com/imp/chrono-humanize-rs/tags)
- [Commits](https://gitlab.com/imp/chrono-humanize-rs/compare/0.2.1...0.2.2)

---
updated-dependencies:
- dependency-name: chrono-humanize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 11:50:25 -07:00
Andrew Fitzgerald 00250819b8
ThreadAwareAccountLocks (#30422) 2023-04-06 10:12:03 -07:00
Vide Krajnc d6051ba434
Update install-solana-cli-tools.md (#31080)
Fix typo in the linux asset name.
2023-04-06 11:27:25 -05:00
Nick Frostbutter 4564bcdc1a
[docs] state compression and compressed nfts (#31027)
* feat: added doc for state compression

* feat: added guide for compressed nfts

* fix: updates sidebar for new docs

* fix: added link to example repo

* fix: fixed typos

---------

Co-authored-by: nickfrosty <nick.frostbutter@solana.org>
2023-04-06 08:52:31 -05:00
Brooks 4452ba59b0
contributing: Is your PR easy to say "yes" to? (#31059)
Co-authored-by: mvines <mvines@gmail.com>
Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2023-04-06 08:43:22 -04:00
Jarry Xiao e14f77790b
Improve keygen grind algo by 10% (#30365)
* Improve algo by 10%

* Fix fmt

* remove trailing whitespace

* Update keygen/src/keygen.rs

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Fix pubkey! macro usage

* Apply suggestions from code review

Co-authored-by: Kevin Ji <1146876+kevinji@users.noreply.github.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

---------

Co-authored-by: mvines <mvines@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
Co-authored-by: Tyera <teulberg@gmail.com>
Co-authored-by: Kevin Ji <1146876+kevinji@users.noreply.github.com>
2023-04-05 22:36:13 -06:00
Ashwin Sekar 85dbd3d94d
Add stake breakdown to metrics for HeaviestForkFailures (#31067) 2023-04-05 20:35:12 -06:00
samkim-crypto 0ff8a09041
[keygen] refactor argument parsing logic into separate `app(...)` function and add tests (#31015)
* refactor argument parsing and processing for testing

* add tests for command verify

* add tests for command pubkey

* add tests for command new

* add tests for command grind

* clippy

* be explicit about types

* use `try_get_matches` and tempfile

* clippy

* call `Error::exit` on error from `try_get_matches`
2023-04-06 07:43:52 +09:00
samkim-crypto d67fa6c470
[clap-v3-utils] Define `EncodableKey` and make `keypair_from_path` and `keypair_from_seed` generic functions (#30947)
* generalize `Keypair` to using `EncodableKey` trait in clap-v3-utils

* add associated `Pubkey` type to `EncodableKey`

* remove associated type `Pubkey` from `EncodableKey`

* rename `EncodableKey` associated function names

* remove default overrides for `{read,write}_file`

* resolve dependencies for test

* remove `pubkey_string` from `EncodableKey` trait
2023-04-06 07:42:11 +09:00
Tyera a7878313b8
Bump hidapi from 1.4.1 to 2.2.0 (#31022)
Bump hidapi to v2.2.0
2023-04-05 11:47:29 -06:00
Pankaj Garg 83e17d8e44
Add expiration slot to loaded program cache entry (#31034) 2023-04-05 09:26:28 -07:00
joeaba 9df1ac9d60
fix session timeout (#31057)
* fix session timeout
2023-04-05 11:12:29 -05:00
Andrew Fitzgerald 65d9238e31
remove pub from to_packet_batches_for_tests (#31056) 2023-04-05 08:57:17 -07:00
sakridge e575650d47
Add connection error metrics (#31049) 2023-04-05 16:40:31 +02:00
HaoranYi 684901879d
Refactor squash timing report (#31041)
* typo

* refactor squash timing report

* address review comments
2023-04-05 08:53:49 -05:00
Alexander Meißner 24a87f33a8
Refactor - Cleanup error handling in program runtime (#30693)
* Moves stable_log::program_invoke(), stable_log::program_success() and stable_log::program_failure() calls from bpf_loader into InvokeContext::process_executable_chain().

* Turns result of ProcessInstructionWithContext from InstructionError into Box<dyn std::error::Error>.

* Bump to solana_rbpf v0.3.0

* Removes Result from return type of EbpfVm::new().

* Turns EbpfError into Box<dyn std::error::Error>.

* Removes BpfError.

* Removes SyscallError::InstructionError.

* Adds a type alias for Box<dyn std::error::Error> in syscalls.
2023-04-05 15:50:34 +02:00
Jeff Washington (jwash) 06461fb348
disk index: index files grow by bytes instead of doubling (#31013) 2023-04-05 06:30:37 -07:00
Yihau Chen 7d17d7094a
ci: improve uploading test results (#31061)
* ci: ignore cargo2junit error

* ci: easing sanitized rules
2023-04-05 10:25:36 +00:00
Brennan 60c4a718a5
enhance replay partition metrics (#31010)
* enhance replay partition metrics
2023-04-04 19:57:09 -07:00
Jeff Washington (jwash) 9fb22bc0be
disk index: store ref_count in data file (#30974) 2023-04-04 19:17:48 -07:00
ananas-block c4648f5a26
bump arkworks deps to version 0.4.0 (#30536)
* bump ark-works 0.4.0

* removed obsolete commented code

* bumped deps again after rebase

* paring: merged two vectors into one

* added zero serialization test

* reverted formatting change

* updated Cargo.lock after rebase

* fixed Cargo.lock
2023-04-04 20:16:47 -06:00
Xiang Zhu fac76715e9
bank_from_snapshot_dir returns BankFromDirTimings (#31051) 2023-04-04 17:10:56 -07:00
Tyera c98b7f0c46
Only pass num_transactions to EntryNotifier (#31053)
* Add EntrySummary struct

* Add new entry struct to send to notifier
2023-04-04 18:00:47 -06:00