Yihau Chen
221fe61089
chore: remove redundant packages ( #30511 )
2023-02-28 18:27:29 +08:00
Yihau Chen
676e3e1926
fix: remove unnecessary --allow-private-addr setup ( #30552 )
2023-02-28 13:14:44 +08:00
Jeff Biseda
781a7cbd28
cleanup get_closeset_completion ( #30516 )
2023-02-27 16:56:40 -08:00
Trent Nelson
50f069af43
install: support config upgrade from serde_yaml v0.8 ( #30535 )
2023-02-27 14:25:29 -07:00
Ikko Eltociear Ashimine
7ac3505b30
Fix typo in ledger.md ( #30537 )
...
explictly -> explicitly
2023-02-27 12:37:51 -08:00
Yueh-Hsuan Chiang
33e179905f
getter functions for StoredAccountMeta ( #30447 )
...
This PR makes all the StoredAccountMeta fields pub(crate)
and provides getter functions to access its member fields.
This PR is a preparation step for abstracting out StoredAccountMeta.
2023-02-27 10:03:22 -08:00
Jordan Sexton
18c22c7cef
Add link to new web3.js repo ( #30096 )
2023-02-27 10:23:54 -06:00
Jeff Washington (jwash)
85eaf1e7ab
improve BankCreationFreezingProgress and add tests ( #30513 )
2023-02-27 07:54:08 -08:00
Yihau Chen
2500fd3f01
ci: set -e for .buildkite/scripts/build-downstream-projects.sh ( #30508 )
2023-02-27 03:19:53 +08:00
Yihau Chen
d16a03cd44
chore: bump js-sys to 0.3.59 ( #30495 )
2023-02-27 03:19:44 +08:00
Yihau Chen
ccef90c48d
chore: bump sha3 to 0.10.4 ( #30491 )
2023-02-27 03:19:35 +08:00
Yihau Chen
d19758139d
chore: bump bytemuck to 1.11.0 ( #30490 )
2023-02-27 03:19:11 +08:00
hana
bd49b984e2
remove VoteState::deserialize() from sbf builds ( #30515 )
...
the existing deserialize implementation overruns the sbf stack and is unusable in a program context
this silences a warning to that effect which all solana_program importers receive
closes #30188
2023-02-25 16:10:08 -08:00
Tao Zhu
cbcd3ef27e
Not allow transactions request zero CU to update prioritization fee cache ( #30507 )
...
* filter out transaction requests zero cu from updating prioritization fee cache
* updated comment
2023-02-24 23:50:02 -06:00
Tao Zhu
9ec5e9b866
refactor to remove additional is_simple_vote check ( #30521 )
2023-02-24 23:49:04 -06:00
Tao Zhu
ee81679804
Not to tag versioned transaction as simple_vote_tx ( #30517 )
...
* not to tag versioned transaction as simple_vote_tx
* better error code
2023-02-24 23:48:15 -06:00
cavemanloverboy
9243fac18f
Disambiguate tx = transaction, tx = sender in `pubsub-client` ( #30519 )
...
tx, rx to sender, receiver to avoid transaction=tx
2023-02-24 20:20:00 -08:00
Brooks
64c7b401cd
BankIncrementalSnapshotPersistence uses strong accounts hash types ( #30502 )
2023-02-24 18:15:23 -05:00
Brooks
89c07d259a
AccountsHashVerifier uses AccountsHashEnum ( #30514 )
2023-02-24 17:17:54 -05:00
Jeff Washington (jwash)
45a34f637b
move BankCreationFreezingProgress to its own file ( #30510 )
2023-02-24 14:05:39 -08:00
Brooks
ffe2d309b2
Adds serde_snapshot::types module ( #30501 )
2023-02-24 15:27:12 -05:00
Jeff Washington (jwash)
31573beb2d
use slot instead of store_id in clean ( #30472 )
...
* use slot instead of store_id in clean
* update debug
2023-02-24 12:01:16 -08:00
Jeff Washington (jwash)
9080b36192
use local for store_id in write_accounts_to_storage ( #30500 )
2023-02-24 11:50:57 -08:00
Xiang Zhu
510be7bdb5
Add checks when constructing a BankSnapshotInfo from a directory ( #30373 )
...
* Read snapshot directories and find the highest
* format check
* Fix test_get_bank_snapshots
* fix test_bank_fields_from_snapshot
* review changes, is_file etc
* removed incremental snapshot
* SnapshotNewFromDirError
* nit and comments issues
* NewFromDir(#[from] SnapshotNewFromDirError)
* change fill to create
* replace unwrap with map_err and ok_or_else
* Remove BankForks, fix the bank loop
2023-02-24 11:50:29 -08:00
Brooks
e0abad43c3
Removes checks for bank_hash_stats in test ( #30480 )
2023-02-24 14:35:36 -05:00
Jeff Washington (jwash)
efc5cc4a48
break apart AccountInfo ( #30505 )
2023-02-24 11:35:27 -08:00
Jeff Washington (jwash)
7c086ca42d
add DiskIndexValue trait for disk index ( #30503 )
2023-02-24 11:02:06 -08:00
Yihau Chen
af59cced5a
chore: bump bincode to 1.3.3 ( #30489 )
2023-02-25 02:48:24 +08:00
Yihau Chen
c318002fe4
chore: bump libc to 0.2.131 ( #30496 )
2023-02-25 02:42:33 +08:00
Yihau Chen
d5d1f5eb62
chore: bump serde_json to 1.0.83 ( #30492 )
2023-02-25 02:42:19 +08:00
K-anon
3ed63de656
Revert "Revert "Add test for executor cache runtime feature upgrades.… ( #30428 )
2023-02-24 10:04:51 -07:00
Tyera
08ca9cc17d
Default solana-test-validator --bpf-programs to upgradeable loader ( #30485 )
...
* Dedupe parsing
* Update --bpf-program param to use upgradeable loader, upgrade authority disabled
* Update add_program to use upgreadeable loader
* Deprecate non-upgradeable utils
2023-02-24 09:22:27 -07:00
dependabot[bot]
5da9e52e1c
Bump rpassword from 7.0.0 to 7.2.0 ( #30493 )
...
* Bump rpassword from 7.0.0 to 7.2.0
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/compare/v7.0.0...v7.2.0 )
---
updated-dependencies:
- dependency-name: rpassword
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-02-24 08:53:07 -07:00
Tao Zhu
66ea750182
add compute budget instruction to set loaded accounts data size limit ( #30377 )
...
* add compute budget instruction to set accounts data size limit
* changes names to explicitly for loaded accounts data size
2023-02-24 09:27:49 -06:00
Jeff Washington (jwash)
0a75be399b
dirty_stores key is slot and not AppendVecId ( #30474 )
2023-02-24 07:17:09 -08:00
kirill lykov
2c37763d7c
Improve cli args parsing in bench-tps ( #30307 )
...
* Improve cli args parsing in bench-tps
* Rename parse funciton
* Get rid of panics, exit and println
* Add basic unit tests
* add allow dead_code and unused_imports for cli tests
* simplify code by using map_err instead of macro
* simplify data_size parsing
* use tempfile crate to create temp keypair files
* fix bug with reading client_id from config by default, re-added client_id tests
* minor fix of an error message
* add Eq to bench_tps::cli::Congig
* some minor error messages corrections
2023-02-24 15:39:43 +01:00
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