mergify[bot]
a225421737
remove 'check_hash' from accounts hash calc (backport #23873 ) (backport #23902 ) ( #24191 )
...
* disable 'check_hash' on accounts hash calc (#23873 ) (#23902 )
(cherry picked from commit 5a892af2fe
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
(cherry picked from commit f0c5962817
)
# Conflicts:
# runtime/src/accounts_db.rs
* resolve conflicts
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2022-04-08 15:44:33 -05:00
Tyera Eulberg
7615585464
v1.9: Bump tonic, tonic-build, prost, and etcd-client ( #24159 )
...
* Bump tonic, prost, and etcd-client
* Restore doc ignores
* Restore clippy ignore
2022-04-08 10:22:05 -06:00
mergify[bot]
1489cbf5a0
Note this is a modified backport that does not SAVE the new fields, but does load them. ( #24074 ) ( #24078 )
...
Original:
Start saving/loading prior_roots(_with_hash) to snapshot (#23844 )
* Start saving/loading prior_roots(_with_hash) to snapshot
* Update runtime/src/accounts_index.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* Update runtime/src/accounts_index.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* update comment
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 396b49a7c1
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
(cherry picked from commit b157a9111f
)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-08 09:55:00 -05:00
mergify[bot]
af3f26ac96
reduces gossip crds stats ( #24132 ) ( #24143 )
...
(cherry picked from commit cd09390367
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-04-06 18:26:53 +00:00
mergify[bot]
a812f4410e
Specify if archive size datapoint is for full or incremental snapshots ( #23941 ) ( #23956 )
...
(cherry picked from commit 31b707b625
)
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-03-26 19:08:21 +00:00
Will Hickey
aa26edb7fe
Bump version to 1.9.15 ( #23954 )
2022-03-26 11:33:49 -05:00
Trent Nelson
caa55bb0f2
cli: allow skipping fee-checks when writing program buffers (hidden)
v1.9.14
2022-03-25 19:34:26 -06:00
mergify[bot]
fb5b42cabc
Add get_confirmed_blocks_with_data method (backport #23618 ) ( #23939 )
...
* add get_confirmed_blocks_with_data and get_protobuf_or_bincode_cells
(cherry picked from commit f3219fb695
)
* appease clippy
(cherry picked from commit 5533e9393c
)
* use &[T] instead of Vec<T> where appropriate
clippy
(cherry picked from commit fbcf6a0802
)
* modify get_protobuf_or_bincode_cells to accept and return an iterator
(cherry picked from commit f717fda9a3
)
* make get_protobuf_or_bincode_cells accept IntoIter on row_keys, make get_confirmed_blocks_with_data return an Iterator
(cherry picked from commit d8be0d9430
)
Co-authored-by: Edgar Xi <edgarxi97@gmail.com >
2022-03-26 01:13:32 +00:00
mergify[bot]
0c01b236c6
ci: don't allow mergify to add automerge label to merged PRs ( #23930 )
...
(cherry picked from commit e34c52934c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2022-03-25 16:20:04 +00:00
mergify[bot]
6e02c14055
docs: fix stake state typo ( #23776 ) ( #23778 )
...
(cherry picked from commit c556811c0f
)
Co-authored-by: g1stavo <gustavocsalvador@gmail.com >
2022-03-22 00:10:40 +00:00
mergify[bot]
a70bce050d
Add ability to get the latest incremental snapshot via RPC ( #23788 ) ( #23808 )
...
(cherry picked from commit 739e43ba58
)
Co-authored-by: DimAn <diman@diman.io >
2022-03-21 20:07:34 +00:00
mergify[bot]
edb38c4bbd
validator: --only-known-rpc
requires a --known-validator ...
( #23767 )
...
(cherry picked from commit ce2e82cfb6
)
Co-authored-by: Trent Nelson <trent@solana.com >
2022-03-18 08:54:52 +00:00
Trent Nelson
2e1989bb9b
validator: adds --no-incremental-snapshots
NOP arg for v1.10 forward compat
2022-03-17 23:50:37 -06:00
mergify[bot]
08f4b19a21
Add accounts_data_len to bank snapshot (backport #23714 ) ( #23758 )
...
* Add accounts_data_len to bank snapshot (#23714 )
(cherry picked from commit 7ff8c80e25
)
# Conflicts:
# runtime/src/serde_snapshot/tests.rs
* fix frozen abi hash
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-03-18 04:44:56 +00:00
mergify[bot]
da6bb66475
Pin version for publish cargo-check ( #23716 ) ( #23721 )
...
(cherry picked from commit 330d6db19a
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-03-17 01:52:19 +00:00
Tyera Eulberg
8859f35b26
Bump version to 1.9.14 ( #23703 )
...
* Bump version to 1.9.14
* Bump openssl-src
2022-03-16 11:21:18 -06:00
mergify[bot]
3ac7e043a7
Update InvalidRentPayingAccount error ( #23680 ) ( #23693 )
...
(cherry picked from commit 410463fb72
)
Co-authored-by: Tyera Eulberg <tyera@solana.com >
v1.9.13
2022-03-16 05:25:23 +00:00
mergify[bot]
db43c5d46d
log hash and lamport result of calculate_accounts_hash_without_index ( #23425 ) ( #23676 )
...
(cherry picked from commit d909b7c80b
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2022-03-15 19:23:13 +00:00
mergify[bot]
48dc4b3bb2
ledger tool halt at slot verify hash ( #23424 ) ( #23677 )
...
(cherry picked from commit ef8b7d9c62
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2022-03-15 16:17:29 +00:00
mergify[bot]
b0543a1ae6
docs: update sysvar docs for load_instruction_at_checked ( #22925 ) ( #23673 )
...
* docs: update sysvar docs for load_instruction_at_checked
Update the instruction introspection docs to use the updated load_instruction_at_checked function instead of deprecated load_instruction_at
* Update to load_current_index_checked
(cherry picked from commit 64e2d9dc47
)
Co-authored-by: Zayyan Faizal <zayyanf@gmail.com >
2022-03-15 12:51:15 +00:00
mergify[bot]
8b0576d954
Rename AccountsDb plugins to Geyser plugins (backport #23604 ) ( #23668 )
...
* Rename AccountsDb plugins to Geyser plugins (#23604 )
(cherry picked from commit 102dd68a03
)
# Conflicts:
# Cargo.lock
# Cargo.toml
# core/Cargo.toml
# core/src/replay_stage.rs
# core/src/tvu.rs
# geyser-plugin-interface/Cargo.toml
# geyser-plugin-manager/Cargo.toml
# geyser-plugin-manager/src/geyser_plugin_service.rs
# geyser-plugin-manager/src/slot_status_notifier.rs
# validator/src/bin/solana-test-validator.rs
# validator/src/main.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-03-15 05:04:17 +00:00
mergify[bot]
5c3e1967e6
Add space for keys in calculation for rent exempt in process_set_validator_info
( #23485 ) ( #23658 )
...
* Fix `process_set_validator_info`
Add space for keys in calculation for rent exempt in
`process_set_validator_info`.
The space required for allocating the `(ConfigKeys, ValidatorInfo)`
tuple only considered space for `ValidatorInfo`.
But `config_instruction::create_account` also requires space for `n`
keys.
* Remove one clone call from closure
(cherry picked from commit 7eaec26a1c
)
Co-authored-by: Enrique Fynn <me@enriquefynn.com >
2022-03-14 23:18:14 +00:00
Michael Vines
06ebed861e
Bump publish crate timeout
2022-03-13 21:01:15 -07:00
Michael Vines
52bd1658cc
Disable publish of test crates
2022-03-13 20:48:17 -07:00
Michael Vines
07a6b597d0
Update Cargo.toml
2022-03-13 17:22:01 -07:00
Michael Vines
857a541ddb
Pin histogram crate version to fix cargo publish
...
(cherry picked from commit 01b6f97f0b
)
# Conflicts:
# ledger-tool/Cargo.toml
2022-03-13 17:22:01 -07:00
Tyera Eulberg
87fee49ed7
Add token-balance unit test
2022-03-11 20:58:00 -07:00
Will Hickey
3ed915dcc9
Bump version to 1.9.13 ( #23614 )
2022-03-11 10:09:26 -06:00
Trent Nelson
3875bc91ab
Revert "chore: bump dashmap from 4.0.2 to 5.1.0 ( #23372 ) ( #23521 )" ( #23596 )
...
This reverts commit f56b25ac29
.
v1.9.12
2022-03-11 09:12:46 +01:00
mergify[bot]
e0f5fb887b
Ensure blocks do not exceed the max accounts data size during Replay Stage (backport #23422 ) ( #23589 )
...
* Ensure blocks do not exceed the max accounts data size during Replay Stage (#23422 )
(cherry picked from commit 3c6840050c
)
# Conflicts:
# runtime/src/bank.rs
* fix conflicts
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-03-10 18:59:46 +00:00
mergify[bot]
49952e05cf
Report even if slot begins and ends in process_buffered_packets() ( #23549 ) ( #23576 )
...
(cherry picked from commit 588414a776
)
Co-authored-by: carllin <carl@solana.com >
2022-03-10 07:59:26 +00:00
Will Hickey
4a100fbe3b
Bump version to 1.9.12 ( #23577 )
2022-03-09 23:22:45 -06:00
Tao Zhu
607a98e9d0
remove persist_cost_table code
v1.9.11
2022-03-09 21:06:00 -07:00
Tao Zhu
86a97563b5
Patch validator from loading persisted program costs
2022-03-09 21:06:00 -07:00
mergify[bot]
4e5d9885da
Revert exponential moving average cost model changes (backport #23541 ) ( #23543 )
...
* Revert "fix tests after merge"
This reverts commit ba2d83f580
.
(cherry picked from commit 0a17edcc1f
)
* Revert "1. Persist to blockstore less frequently;"
This reverts commit 7aa1fb4e24
.
(cherry picked from commit c878c9e2cb
)
# Conflicts:
# core/src/cost_update_service.rs
# core/src/tvu.rs
# runtime/src/cost_model.rs
* Revert "use EMA in place of Welford"
This reverts commit 6587dbfa47
.
(cherry picked from commit 9acbfa5eb1
)
* Revert "- estimate a program cost as 2 standard deviation above mean"
This reverts commit a25ac1c988
.
(cherry picked from commit 5a0cd05866
)
# Conflicts:
# core/src/cost_update_service.rs
# runtime/src/cost_model.rs
* fix merge conflicts
Co-authored-by: Carl Lin <carl@solana.com >
Co-authored-by: Tao Zhu <tao@solana.com >
2022-03-09 03:55:36 +00:00
mergify[bot]
714cf0eff2
solana-validator set-identity
no longer writes a tower file unnecessarily (#23542 )
...
(cherry picked from commit b719d6a2ad
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2022-03-09 01:55:14 +00:00
mergify[bot]
babba3b0ff
Fix getting the golden snapshot hashes during bootstrap with Incremental Snapshots ( #23518 ) ( #23532 )
...
(cherry picked from commit 9b80452c7c
)
Co-authored-by: Brooks Prumo <brooks@solana.com >
2022-03-08 23:07:26 +00:00
Michael Vines
8c59fa5a73
Update regex to v1.5.5
...
(cherry picked from commit 536a99705b
)
2022-03-08 11:53:30 -08:00
Stephen Akridge
de694402ca
Bump version to 1.9.11
2022-03-08 10:53:04 -08:00
mergify[bot]
f56b25ac29
chore: bump dashmap from 4.0.2 to 5.1.0 ( #23372 ) ( #23521 )
...
* chore: bump dashmap from 4.0.2 to 5.1.0
Bumps [dashmap](https://github.com/xacrimon/dashmap ) from 4.0.2 to 5.1.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases )
- [Commits](https://github.com/xacrimon/dashmap/commits/v5.1.0 )
---
updated-dependencies:
- dependency-name: dashmap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
(cherry picked from commit 3a0271c113
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v1.9.10
2022-03-08 14:05:58 +00:00
mergify[bot]
2137008532
Fix broken doc links in solana-runtime ( #23504 ) ( #23515 )
...
(cherry picked from commit ddbf5c782f
)
Co-authored-by: Brian Anderson <andersrb@gmail.com >
2022-03-08 01:02:27 +00:00
mergify[bot]
4a4e560299
Fix incorrect nonoverlapping test in sol_memcpy (backport #21007 ) ( #23512 )
...
* Fix incorrect nonoverlapping test in sol_memcpy (#21007 )
Thanks!
(cherry picked from commit df2b448993
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/program/src/program_stubs.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Brian Anderson <andersrb@gmail.com >
Co-authored-by: Jack May <jack@solana.com >
2022-03-07 23:10:54 +00:00
Tyera Eulberg
66f85a0703
Fix backport
2022-03-03 15:12:47 -07:00
Jack May
3bee925967
Resized accounts must be rent exempt
2022-03-03 10:40:46 -08:00
mergify[bot]
44109c0cd4
docs: post merge review for #23286 ( #23320 )
...
(cherry picked from commit 6a0d2fcfa7
)
Co-authored-by: Trent Nelson <trent@solana.com >
2022-03-02 20:11:03 -07:00
mergify[bot]
83281fe3ff
Adds comments related to the public RPC endpoints ( #22797 ) ( #23451 )
...
* Adds comments related to the public RPC endpoints
* Update docs/src/cluster/rpc-endpoints.md
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Brian Long <bl@triton.one >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 7dbde2247d
)
Co-authored-by: Brian Long <brian.long@fmadata.com >
2022-03-02 19:40:05 +00:00
Michael Vines
2dd5b76986
Restore solana-test-validator informational output
...
(cherry picked from commit 9ec514f6c5
)
2022-03-02 18:53:33 +01:00
mergify[bot]
0e6a849fc7
bumps up crds-shards-bits ( #23220 ) ( #23412 )
...
The commit adjust CRDS_SHARDS_BITS up to be in-line with mask_bits in
gossip pull request. This will avoid redundant filtering of irrelevant
crds entries when responding to pull requests.
(cherry picked from commit 1282277126
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-03-01 18:20:26 +00:00
mergify[bot]
db9826c93f
Improve UX querying rpc for blocks at or before the snapshot from boot (backport #23403 ) ( #23405 )
...
* Improve UX querying rpc for blocks at or before the snapshot from boot (#23403 )
* Bump first-available block to first complete block
* Remove obsolete purges in tests (PrimaryIndex toggling no longer in use
* Check first-available block in Rpc check_slot_cleaned_up
(cherry picked from commit 3b5b71ce44
)
# Conflicts:
# ledger/src/blockstore.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-03-01 17:13:54 +00:00
mergify[bot]
46a02b7b4a
Allow sub-rent-exempt-minimum transfers to 1nc1nerator
(backport #23382 ) ( #23404 )
...
* Allow sub-rent-exempt-minimum transfers to `1nc1nerator` (#23382 )
* Add failing test
* Allow small burns to incinerator
* Use check_id method
(cherry picked from commit 19448ba078
)
# Conflicts:
# runtime/src/account_rent_state.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2022-03-01 17:12:47 +00:00