Brennan
a9b19f5b14
Add replay invalidator scaffolding upstream ( #31567 )
...
* Add replay invalidator scaffolding upstream
2023-05-16 13:08:39 -07:00
Jeff Washington (jwash)
5bc41a0eb8
prepare load_transaction_accounts to recognize reward interval ( #31673 )
2023-05-16 12:55:35 -07:00
Jeff Washington (jwash)
cdb430d287
add StorableAccount impl for account value ( #31675 )
2023-05-16 12:54:48 -07:00
Jeff Washington (jwash)
d841ff7fe1
support snapshot deserialization with EpochRewardStatus ( #31672 )
...
* support snapshot deserialization with EpochRewardStatus
* pub(crate)
2023-05-16 12:53:52 -07:00
Callum McIntyre
16381d8f65
[docs] remove incorrect pubkey param from getEpochInfo ( #31651 )
...
Co-authored-by: Callum McIntyre <callum.mcintyre@solana.com>
2023-05-16 18:23:30 +00:00
Jeff Washington (jwash)
db4b76d9e2
default to using packed ancient append vec ( #31657 )
2023-05-16 07:11:24 -07:00
Jeff Washington (jwash)
bace5679a1
avoid unnecessary disk bucket data file allocation ( #31659 )
2023-05-16 07:10:46 -07:00
dependabot[bot]
392e33d893
Bump proc-macro2 from 1.0.56 to 1.0.57 ( #31644 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](dtolnay/proc-macro2@1.0.56...1.0.57)
---
updated-dependencies:
- dependency-name: proc-macro2
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-16 01:23:21 -07:00
dependabot[bot]
5cd5954d21
Bump js-sys from 0.3.62 to 0.3.63 ( #31665 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.62 to 0.3.63.
- [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>
Signed-off-by: illia.bobyr@solana.com
2023-05-15 22:59:42 -07:00
dependabot[bot]
9ef83b5acb
Bump wasm-bindgen from 0.2.85 to 0.2.86 ( #31664 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.85 to 0.2.86.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](rustwasm/wasm-bindgen@0.2.85...0.2.86)
---
updated-dependencies:
- dependency-name: wasm-bindgen
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-15 22:42:46 -07:00
dependabot[bot]
204215525b
Bump syn from 2.0.15 to 2.0.16 ( #31643 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.15 to 2.0.16.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](dtolnay/syn@2.0.15...2.0.16)
---
updated-dependencies:
- dependency-name: syn
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-15 22:40:53 -07:00
steviez
b6d8174aba
bigtable: Adjust logging and condense counters ( #31661 )
...
* bigtable: Demote log lines for entering functions to trace
* bigtable: Condense counters into single datapoint
Counters (inc_new_counter_*) incur extra overhead in that each update
can result in an item being sent over crossbeam channel to MetricsAgent.
So, accumulate the counter locally and submit as datapoint later.
2023-05-15 21:48:00 -05:00
Will Hickey
29163f71c6
Restore ci version bump logic with origin/ prefix on branch names ( #31636 )
...
Add origin/ prefix to branch names... Buildkite doesn't have the local branch aliases in the clone
2023-05-15 21:05:14 -05:00
Illia Bobyr
00405bbc42
Cargo.toml: Remove duplicate solana dependencies ( #31607 )
...
See comment in Cargo.toml for an explanation of the issue.
This change removes duplicate dependencies for older version of solana-*
crates, and any of the dependencies that are no longer needed.
2023-05-15 19:02:11 -07:00
Illia Bobyr
69dfd842c8
measure: `as_*`/`end_as_*` tests: Increase margins to 20% ( #31635 )
2023-05-15 18:38:27 -07:00
Andrew Fitzgerald
dbc11502a7
Remove unneccessary Arc clones ( #31334 )
2023-05-15 17:07:40 -07:00
bji
c8b85177a8
Allow leader schedule up to one epoch in the future to be fetched, to… ( #31538 )
...
Allow leader schedule up to one epoch in the future to be fetched, to cover all available leader schedules.
2023-05-15 16:32:14 -07:00
Jeff Washington (jwash)
eaaed0a726
clean up is_ancient in is_candidate_for_shrink ( #31616 )
...
clean up `is_ancient` in `is_candidate_for_shrink`
2023-05-15 14:05:41 -07:00
Jeff Washington (jwash)
6172b0d50c
cleanup a stat call to `is_ancient` ( #31621 )
...
cleanup some calls to `is_ancient`
2023-05-15 13:22:15 -07:00
Jeff Washington (jwash)
656d93d805
remove unused `accounts_hash_complete_oldest_non_ancient_slot` ( #31652 )
2023-05-15 12:44:37 -07:00
steviez
02679eb5f9
ledger-tool: Move ELF magic numbers into constant with comment ( #31655 )
2023-05-15 19:32:59 +00:00
Andrew Fitzgerald
e5effa38b1
derive TransactionCost::{PartialEq, Eq} ( #31626 )
2023-05-15 12:27:17 -07:00
Maximilian Schneider
31aafc8ae6
race condition when running solana-program-test ( #31637 )
...
* hold bank freeze lock in banks-server to prevent RC on slot change
* clean up comments and loop
---------
Co-authored-by: Maximilian Schneider <max@mango.markets>
2023-05-15 12:25:06 -07:00
Dmitri Makarov
950892e503
Fix ledger-tool program command for non-runnable subcommands ( #31596 )
...
* Fix ledger-tool program command for non-runnable subcommands
These subcommands (cfg and disassemble) don't need to load a ledger
database for running, and neither do they need an input file
specifying instruction accounts etc. This change creates a simplified
invoke_context for processing the static actions of ledger-tool
program subcommand.
* Factor out program file loading
2023-05-15 14:23:54 -04:00
Jeff Washington (jwash)
596a76ffb3
`get_ancient_slots` returns slots based on slot as opposed to contents ( #31620 )
2023-05-15 11:21:33 -07:00
Brooks
dd4cfe9924
Do not purge bank snapshots in AccountsBackgroundService ( #31647 )
2023-05-15 13:53:48 -04:00
dependabot[bot]
4ac0ffcace
Bump hidapi from 2.3.1 to 2.3.2 ( #31634 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 2.3.1 to 2.3.2.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-15 10:42:43 -07:00
Andrew Fitzgerald
694099bbe3
Remove unused debug ( #31618 )
2023-05-15 09:38:32 -07:00
Brooks
bac4d50761
Uses `_` instead of `-` for datapoint field names ( #31648 )
2023-05-15 12:02:43 -04:00
Andrew Fitzgerald
d2bd6c72aa
Keep signal_receiver in scope ( #31625 )
2023-05-15 08:56:57 -07:00
behzad nouri
5178d4d49b
adds quic tvu port to contact-info ( #31614 )
...
Working towards migrating turbine to QUIC.
2023-05-15 15:13:21 +00:00
Jeff Washington (jwash)
376f562d8f
mark_old_slots_as_dirty is a no-op when ancient append vecs are enabled ( #31624 )
2023-05-15 06:28:06 -07:00
Jeff Washington (jwash)
5cdb5daaad
clean stat updated based on slot instead of contents ( #31623 )
2023-05-15 06:26:40 -07:00
Jeff Washington (jwash)
13077e0b71
remove an irrelevant ancient stat ( #31622 )
2023-05-15 06:25:54 -07:00
Yihau Chen
98bef5c3da
ci: install lld to docker images ( #31645 )
...
ci: install lld to docker image
2023-05-15 11:34:14 +00:00
Ashwin Sekar
3e8f5bad81
refactor: highest_cluster_confirmed_root -> highest_super_majority_root ( #31619 )
2023-05-14 00:42:03 -07:00
dependabot[bot]
531c5ebe97
Bump rocksdb from 0.19.0 to 0.21.0 ( #31590 )
...
Bump rocksdb from 0.19.0 to 0.21.0
* Bumps [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb ) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.19.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: rocksdb
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
* Update Env::default() to Env::new()
Env::default() was removed and replaced with Env::new(). The change is
in name only, between versions, ffi::rocksdb_create_default_env() is
still called under the hood by both functions.
---------
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>
Co-authored-by: Steven Czabaniuk <steven@solana.com>
2023-05-13 11:46:19 -07:00
Ashwin Sekar
c85b057cc8
disambiguate the matches then mismatches case for ancestor samples ( #31617 )
2023-05-13 11:12:21 -07:00
Ashwin Sekar
ef75f1cb4e
Add ancestor hashes to state machine ( #31627 )
...
* Notify replay of pruned duplicate confirmed slots
* Ingest replay signal and run ancestor hashes for pruned
* Forward PDC to ancestor hashes and ingest pruned dumps from ancestor hashes service
* Add local-cluster test
2023-05-13 02:05:44 -07:00
samkim-crypto
618d8cf2a6
[clap-v3-utils, keygen] Refactor mnemonics, derivation path, and argument parsing clap logic in keygen ( #30977 )
...
* move mnemonic clap logic from keygen to clap-v3-utils
* move derivation path clap logic from keygen to clap-v3-utils
* move keygen clap logic from keygen to clap-v3-utils
* resolve error from rebase
* resolve conflict from rebase
* reorganize derivation_path and mnemonic as modules inside keygen
2023-05-13 14:30:03 +09:00
Jordan Sexton
125a18550d
[docs] Add note about txids to signature status RPC method docs ( #31628 )
2023-05-12 20:16:16 -07:00
Brooks
962650e88e
AccountsHashVerifier purges old bank snapshots ( #31519 )
2023-05-12 17:02:43 -04:00
Brooks
8e5e66fdb4
Revert "Revert "SnapshotPackagerService purges old bank snapshots ( #31511 )" ( #31524 )" ( #31558 )
...
This reverts commit 775639c058
.
2023-05-12 15:39:14 -04:00
Will Hickey
91194cd342
Revert "Update CI pipeline to only run `checks` step on version bump … ( #31603 )
...
Revert "Update CI pipeline to only run `checks` step on version bump PRs (#29243 )"
This reverts commit 0581fc2def
.
2023-05-12 13:03:21 -05:00
Brooks
7dbcf5a0fd
Do not remove bank snapshots in new_from_dir() ( #31556 )
2023-05-12 13:19:07 -04:00
Andrew Fitzgerald
6adbb1254c
consumer bench ( #31414 )
2023-05-12 09:44:37 -07:00
behzad nouri
4e34abbf3d
specifies protocol in contact-info get-socket api ( #31602 )
2023-05-12 16:16:20 +00:00
Alexander Meißner
5c8b5a2a68
Bump solana_rbpf to v0.4.0 ( #31594 )
...
* Moves "disable_deploy_of_alloc_free_syscall" parameter inside create_loader().
* Removes the "is_abi_v2" flag.
* Bumps solana_rbpf to v0.4.0
2023-05-12 18:07:13 +02:00
Pankaj Garg
a649459fc6
LoadedPrograms::extract() code cleanup and unit tests ( #31604 )
2023-05-12 08:55:03 -07:00
Andrew Fitzgerald
2c869ef778
QoS refactor: Allow pre-filtering ( #31542 )
2023-05-12 08:53:22 -07:00