Yihau Chen
21f1b652a7
ci: reorg downstream projects ( #30463 )
...
reorg downstream projects
2023-02-24 15:55:24 +08:00
Illia Bobyr
2badf962be
doc: entry::Entry: More details on the `transactions` field ( #29949 )
2023-02-23 19:47:56 -08:00
Brennan
7847661511
Process tower after warping bank forks ( #30467 )
...
This helps ensure tower and bank forks are in sync in terms of root slot
2023-02-23 16:23:18 -08:00
Jeff Washington (jwash)
005dde70e2
minor cleanup ( #30477 )
2023-02-23 15:10:09 -08:00
Jeff Washington (jwash)
2441a06e78
drop default from PhantomData::default() ( #30476 )
2023-02-23 14:59:08 -08:00
dependabot[bot]
5aa5aef1a9
Bump systemstat from 0.2.0 to 0.2.3 ( #30265 )
...
Bumps [systemstat](https://github.com/valpackett/systemstat ) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/valpackett/systemstat/releases )
- [Commits](https://github.com/valpackett/systemstat/compare/v0.2.0...v0.2.3 )
---
updated-dependencies:
- dependency-name: systemstat
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-02-23 14:54:38 -07:00
dependabot[bot]
509bf2fd79
Bump flate2 from 1.0.24 to 1.0.25 ( #30388 )
...
* Bump flate2 from 1.0.24 to 1.0.25
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.24...1.0.25 )
---
updated-dependencies:
- dependency-name: flate2
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-02-23 14:51:16 -07:00
Brooks
b7d31e134c
Refactors Accounts::new_from_parent() ( #30475 )
2023-02-23 16:50:51 -05:00
Jeff Washington (jwash)
2c7d9f988e
use slot with store id in some clean paths ( #30473 )
2023-02-23 13:50:25 -08:00
Jeff Washington (jwash)
9ddb89226c
remove_dead_accounts uses slot instead of AppendVecId ( #30471 )
2023-02-23 13:20:33 -08:00
Jeff Washington (jwash)
e39626ab14
add second type to accounts index for disk ( #30446 )
2023-02-23 13:05:06 -08:00
Jeff Washington (jwash)
6df160bedd
get stored_size from StoredAccountMeta ( #30456 )
2023-02-23 12:33:35 -08:00
Jeff Washington (jwash)
a2b0b8e346
rearrange how shrink_in_progress_map is populated ( #30466 )
2023-02-23 11:35:38 -08:00
Xiang Zhu
d6da019ccf
Clean up old account snapshot directories to avoid the file existing hardlink error ( #30426 )
...
* Fix the hardlink failure
* minor comment cleanup
* use ? and slot_str
* &slot_str
* Add InvalidAccountPath
2023-02-23 10:53:12 -08:00
Tyera
fbd8ef5bab
Add solana-test-validator --upgradeable-program ( #30412 )
...
* Add TestValidator handling for upgradeable programs
* Plumb --upgradeable-program for solana-test-validator
2023-02-23 18:25:14 +00:00
Jeff Washington (jwash)
47d95a431c
remove magic numbers in test ( #30465 )
2023-02-23 09:23:14 -08:00
Jeff Washington (jwash)
c032dc2754
add bank progress stats ( #30405 )
...
* add bank progress stats
* handle more bank creation code paths
* use wrapping sub
2023-02-23 06:29:02 -08:00
Jeff Washington (jwash)
9ecc4462f8
cleanup test type ( #30453 )
2023-02-23 06:26:55 -08:00
Yihau Chen
df3ef111f7
chore: workspace inheritance ( #29893 )
...
* introduce workspace.package
* introduce workspace.dependencies
* read version from root cargo.toml
* pass check when version = { workspace = true }
* don't bump version when version = { workspace = true }
* including workspace Cargo.toml when bump version
* programs/sbf use workspace inheritance
* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-02-23 22:01:54 +08:00
Pankaj Garg
0e13dcca00
Replenish executor cache eagerly during transaction processing ( #30425 )
2023-02-23 05:13:39 -08:00
Yihau Chen
17369dc8f0
ci: extract vercel scope as an env ( #30441 )
2023-02-23 11:58:08 +08:00
Michael Vines
5136ed3448
Update homepage value for all crates ( #30444 )
2023-02-23 02:20:18 +00:00
Jeff Biseda
55f601b25c
prevent revisiting slots in get_closest_completion ( #30458 )
2023-02-22 18:16:17 -08:00
Brooks
69a9520f79
Flushes accounts cache before warping ( #30437 )
2023-02-22 21:13:31 -05:00
Yueh-Hsuan Chiang
ac7e7aa8f0
Move account-meta structs from append_vec.rs to account_meta.rs ( #30443 )
...
#### Problem
As we start supporting new storage formats, those account-meta
structs will be shared by different storage formats and thus need
a new home.
#### Summary of Changes
This PR creates meta.rs under account_storage and moves all the account-meta
structs out from append_vec.rs.
2023-02-22 16:10:34 -08:00
Michael Vines
69ea295b07
Update security email address ( #30445 )
2023-02-22 15:55:57 -08:00
Jeff Biseda
5221049595
stop get_unrepaired_path at root slot ( #30450 )
2023-02-22 15:04:09 -08:00
Jeff Washington (jwash)
1269011477
bucket map try_write takes iter ( #30440 )
2023-02-22 14:43:10 -08:00
Brennan
d2c6bd1410
Metrics for repair trees & closest completion slots ( #30448 )
2023-02-22 14:33:02 -08:00
Brennan
e7a69dcec5
get_best_repairs minor cleanup ( #30439 )
2023-02-22 12:15:42 -08:00
Brennan
96dd621426
Remove ignored slots from repair ( #30438 )
2023-02-22 12:15:17 -08:00
Yueh-Hsuan Chiang
833cb75c20
Fix the dependency of accounts_file.rs ( #30423 )
...
Replace the use of append_vec::* in accounts_file.rs
2023-02-22 11:13:58 -08:00
Jeff Washington (jwash)
a78f763896
simplify remove_if_slot_list_empty_value ( #30436 )
2023-02-22 10:46:12 -08:00
Andrew Fitzgerald
045b9fec11
Add --allow-private-addr to bootstrap-validator.sh ( #30163 )
...
* Add --allow-private-addr to bootstrap-validator.sh
* Remove --allow-private-addr argument option since it is default
* fix bench-tps docs, remove option for private-addr (default)
2023-02-22 09:54:15 -08:00
Jeff Washington (jwash)
6a66d4631c
remove 'stored_size' from account info ( #30407 )
2023-02-22 07:04:21 -08:00
steviez
2ba76e4235
chore: Use Self in Packet/PacketBatch impl blocks ( #30417 )
2023-02-22 10:02:50 -05:00
Jeff Washington (jwash)
db8764f98d
hold items with ref count != 1 in memory ( #30414 )
...
* hold items with ref count != 1 in memory
* fix tests
2023-02-22 06:57:59 -08:00
Tyera
08d71ae8a1
Cli: expose tx slot in json output for confirm or transaction-history ( #30432 )
...
Expose tx slot in json output
2023-02-22 07:42:07 +00:00
Tyera
a095f5f229
Cli: support json output for transaction-history ( #30376 )
...
* Add cli-output structs for transaction-history
* Support json output for transaction history
* Use pre-existing CliTransactionConfirmation
2023-02-21 22:47:22 -07:00
Yihau Chen
d984fbb735
ci: use wasm-pack latest version ( #30399 )
2023-02-22 13:31:46 +08:00
Kostyan
d8ef3e1d96
Update documentation to reflect changes in solana-installer ( #30430 )
...
Solves #30429
2023-02-22 03:56:49 +00:00
Brooks
1689586213
Uses a channel for AHV -> SPS ( #30406 )
2023-02-22 03:36:29 +00:00
K-anon
2e4b8ea8bb
Revert "Add test for executor cache runtime feature upgrades. ( #30382 )" ( #30424 )
...
This reverts commit c5a24e11ba
.
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2023-02-21 15:47:39 -07:00
Pankaj Garg
b1f5b0d790
Find and load missing programs in LoadedPrograms cache ( #30275 )
...
* Find and load missing programs in LoadedPrograms cache
- filter program accounts in a transaction batch
- filter the accounts that are missing in LoadedPrograms cache
- load the programs before processing the transactions
- unit tests
* address review comments
* fix clippy
* address review comments
* fix test
* fix more tests
2023-02-21 12:53:35 -08:00
Dmitri Makarov
b0f7b782d3
Restore SBFv2 test in cargo-build-sbf tests ( #30421 )
2023-02-21 12:48:58 -08:00
Brooks
35328ca63d
Makes AccountsHash an enum ( #30416 )
2023-02-21 15:20:51 -05:00
K-anon
c5a24e11ba
Add test for executor cache runtime feature upgrades. ( #30382 )
...
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2023-02-21 12:25:29 -07:00
Jeff Washington (jwash)
568a4b1ca0
move AccountInfo bits from size to offset ( #30408 )
...
* move AccountInfo bits from size to offset
* feedback
2023-02-21 10:08:37 -08:00
Alexander Meißner
4bfcbf75eb
Bump solana_rbpf to v0.2.39 ( #30398 )
...
* Bump solana_rbpf to v0.2.39
* Adds MemoryRegion::vm_addr_end.
2023-02-21 18:43:34 +01:00
HaoranYi
22f6dfd98e
typo ( #30393 )
2023-02-21 09:59:45 -06:00