Jeff Washington (jwash)
c17d594684
collect storage_read_elapsed for shrink and ancient ( #28833 )
2022-11-16 11:14:07 -08:00
Jeff Washington (jwash)
4837dc071f
cleanup return value from append_accounts ( #28836 )
2022-11-16 10:59:11 -08:00
Jeff Washington (jwash)
f7139532a6
acct hash: don't init accum or create hash file if no storages ( #28839 )
2022-11-16 10:58:39 -08:00
Jeff Washington (jwash)
2b1db39faa
refactor test ancient population code ( #28823 )
2022-11-16 08:31:39 -08:00
Brooks Prumo
c1e440acb6
Warping calculates and sets new EAH ( #28809 )
2022-11-15 23:16:38 -05:00
Ashwin Sekar
ddf4ff2d26
Repair service documentation ( #28592 )
...
* repair doc update
* tree_root rename
* remove extra todo
2022-11-16 02:38:07 +00:00
Jeff Biseda
e10d958352
signed repair request test fixes/cleanup ( #28691 )
2022-11-15 16:46:17 -08:00
Lijun Wang
ad24e37cc0
Limit the maximum staked streams to avoid excessive streams from staked nodes ( #27973 )
...
* Limit the maximum staked streams to avoid excessive streams from staked nodes.
* Fixed a clippy issue
2022-11-15 12:58:10 -08:00
apfitzge
42cc76e33d
use a tempdir in test_bucket_storage ( #28819 )
2022-11-15 14:26:19 -06:00
behzad nouri
28956d7653
removes feature gate code preventing crediting accounts that end rent paying ( #28818 )
2022-11-15 19:55:34 +00:00
Brooks Prumo
d798e751a0
Disables EAH with short epochs ( #28803 )
2022-11-15 13:26:19 -05:00
Jeff Washington (jwash)
b572422d24
test ancient append vecs with dead slots ( #28800 )
2022-11-15 10:21:38 -08:00
Jeff Washington (jwash)
a21f536b3a
add scan statistics in hash calc for ancient append vecs ( #28816 )
2022-11-15 09:31:24 -08:00
Brooks Prumo
ac9b11762a
Lowers test's account data size to avoid hitting MaxLoadedAccountsDataSizeExceed ( #28814 )
2022-11-15 16:52:35 +00:00
Alexander Meißner
ff1ff587d1
Bump solana_rbpf to 0.2.36 ( #28794 )
...
* Bumps solana_rbpf to v0.2.36
* Removes ThisInstructionMeter.
* Removes one "unsafe" expression.
* Removes redundant call to solana_rbpf:🧝 :register_bpf_function().
* Adjusts SyscallFunction and SyscallRegistry.
* Inlines ProgramEnvironment into EbpfVm.
* Refactors trait SyscallConsume into fn consume_compute_meter().
* Inlines ComputeMeter into InvokeContext.
* Removes solana-metrics dependency from bpf_loader.
* Replaces RBPF tracer functionality by the debugger.
* Take compute_units_consumed from execute_program().
* Merges execute_program_interpreted() and execute_program_jit().
2022-11-15 15:21:11 +01:00
Jeff Washington (jwash)
84cfdf23fc
remove LoadedAccount::stored_size ( #28802 )
2022-11-15 05:47:12 -08:00
Jeff Washington (jwash)
ec58cda2e7
improve ancient append vec test ( #28799 )
2022-11-15 05:46:09 -08:00
Brandon Roberts
55985701ba
bigtable: add timeout to token refresh ( #28728 )
...
Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
2022-11-14 16:39:26 -07:00
Brooks Prumo
d4cf18421d
Use 400 slots-per-epoch in EAH tests ( #28801 )
2022-11-14 17:49:20 -05:00
Ikko Ashimine
c882d165e2
Fix typo in cost_tracker.rs ( #28781 )
...
Substract -> Subtract
2022-11-14 14:36:59 -07:00
Brooks Prumo
503da50f2c
Verifies EAH in SnapshotHash ( #28775 )
2022-11-14 16:02:08 -05:00
Will Hickey
1e2989501f
Update docs to use ./cargo ( #28798 )
2022-11-14 14:08:56 -06:00
Brooks Prumo
0bfea02056
Snapshots wait for EAH calculations to complete ( #28777 )
2022-11-14 11:34:44 -06:00
Lijun Wang
8d34dfd881
Fixed flaky quic test ( #28789 )
2022-11-14 08:35:10 -08:00
Tao Zhu
81dc2e56ac
Cap accounts data a transaction can load by its requested limit ( #27840 )
...
- Add new compute-budget instruction to set transaction-wide accounts data size limit
- Set default accounts data limit to 10MB, and max to 100MB, per transaction;
- Add getters to make changing default and/or max values easier in the future with feature gates;
- added error counter for transactions exceed data size limit
2022-11-14 10:29:35 -06:00
samkim-crypto
c828031d9a
[zk-token-sdk] Fix ElGamal key derivation ( #28792 )
...
* fix ElGamal key derivation
* cargo fmt
2022-11-12 08:44:02 +09:00
Tao Zhu
e5ae0b3371
check is_forwarded packet earlier ( #28159 )
...
* check and filter is_forwarded packet earlier
* review fix: renaming; and rebase
2022-11-11 23:32:03 +00:00
Jeff Washington (jwash)
f69e847137
allow ancient append vec threshold to be set on cli ( #28707 )
...
* allow ancient append vec threshold to be set on cli
* pr responses
2022-11-11 11:30:05 -08:00
Alexander Meißner
66d06b3f99
Revert #27444 ( #28784 )
...
* Removes SyscallSetAccountProperties.
* Removes TransactionContextAttribute.
2022-11-11 10:26:55 +01:00
Jeff Washington (jwash)
b2ece6368f
shrink ancient append vecs at 90% ( #28736 )
2022-11-10 20:05:34 -08:00
Alexander Meißner
4142f42319
Refactor - Move `Executor` in program-runtime crate ( #28782 )
...
* Moves CreateMetrics into the program-runtime crate.
* Moves the Executor trait into executor.rs
* Removes the first_instruction_account parameter from Executor::execute().
2022-11-10 21:11:00 +01:00
Brooks Prumo
628ac0d4ea
Refactors SnapshotPackage::new() to use let-else statements ( #28779 )
2022-11-10 11:29:51 -05:00
Jeff Washington (jwash)
552248906e
report ancient stats correctly in drop_or_recycle_stores ( #28747 )
2022-11-10 07:27:38 -08:00
Brooks Prumo
8eeabf9042
Skips taking a bank snapshot for EAH requests ( #28757 )
2022-11-10 15:14:26 +00:00
dependabot[bot]
3f5c0843be
chore:(deps): bump socket.io-parser from 4.0.4 to 4.0.5 in /explorer ( #28778 )
...
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases )
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5 )
---
updated-dependencies:
- dependency-name: socket.io-parser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 23:37:48 +00:00
Brooks Prumo
4d6653598b
Upgrades to Rust 1.65.0 ( #28741 )
2022-11-09 17:15:03 -05:00
Brian Anderson
7f8d37c011
Add missing solana-program docs ( #28770 )
2022-11-09 13:33:19 -07:00
Brooks Prumo
d1ba42180d
clippy for rust 1.65.0 ( #28765 )
2022-11-09 19:39:38 +00:00
Brooks Prumo
df81cd11ba
Refactors snapshot_archive_info in bank_from_snapshot_archives() ( #28776 )
2022-11-09 18:41:27 +00:00
Brooks Prumo
9e1cdc7e60
Enables not taking a bank snapshot ( #28756 )
2022-11-09 12:43:33 -05:00
Alexander Meißner
93fc4edef8
Refactor - derive `CloneZeroed` ( #28771 )
...
* Adds proc_macro_derive(CloneZeroed).
* Switches over all use sites of clone_zeroed() and copy_field().
* Removes clone_zeroed() and copy_field().
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-11-09 18:15:42 +01:00
Yihau Chen
43e5c188c2
ci: build ios and android in our stable and nightly ( #28761 )
...
* ci: build ios and android in our stable and nightly
* lint
* only build with stable version
* run client-targets build when push master
2022-11-09 13:25:55 +08:00
Alexander Meißner
989fd0fe54
Removes `DynamicLayoutArray` ( #28769 )
...
Removes DynamicLayoutArray.
2022-11-09 00:54:07 +01:00
ryleung-solana
06fa6dd9ab
Add ability to choose client type in GCE cluster scripts ( #28708 )
...
* Update scripts to add the --client-type [thin-client, tpu-client, rpc-client] option
2022-11-09 02:36:37 +08:00
Denis K
d0f736a0d9
Fix 2 clippy warnings with temporary references ( #28744 )
2022-11-08 14:59:56 +00:00
samkim-crypto
636baaf494
[zk-token-sdk] Update docs for encryption in zk-token-sdk ( #28760 )
...
clean up docs for encryption
2022-11-08 10:03:24 +00:00
Sergey Melnychuk
0347d9cf78
Remove unnecessary clone of a String ( #28758 )
2022-11-07 20:42:19 +00:00
Brooks Prumo
d4c2900590
Removes `snapshot_bank()` wrapper fn ( #28753 )
2022-11-07 15:09:31 +00:00
Brooks Prumo
0873b90d5f
Treats all bank snapshot errors as fatal ( #28752 )
2022-11-07 11:03:11 +00:00
Yihau Chen
e6d552d380
chore: bump cargo-ndk to v2.12.2 ( #28759 )
2022-11-07 16:37:48 +08:00