Yueh-Hsuan Chiang
f26a457cf5
Add comment block for DeadSlots LedgerColumn ( #28341 )
...
Add comment block for DeadSlots LedgerColumn
2022-10-20 09:47:19 -07:00
Yihau Chen
a1b03ec1b4
add test_save for install config ( #28397 )
2022-10-20 17:34:08 +08:00
Trent Nelson
2c0831aa12
ledger-tool: remove inefficient base58 encoding options
2022-10-19 19:16:52 -07:00
Yueh-Hsuan Chiang
bf37228768
Add comment block for Root ledger column ( #28358 )
...
Add comment block for Root ledger column.
2022-10-19 17:06:21 -07:00
Lijun Wang
03f4204297
Check the boundary condition correctly.
2022-10-19 16:46:36 -07:00
Lijun Wang
ab85ab7a5b
handle semaphore locally without impacting the interface
2022-10-19 16:46:36 -07:00
Lijun Wang
a6884d682c
Restore the dev-dependency
2022-10-19 16:46:36 -07:00
Lijun Wang
a378284621
removed crossbeam
2022-10-19 16:46:36 -07:00
Lijun Wang
6a7f78028d
Removed unnecessary dependency
2022-10-19 16:46:36 -07:00
Lijun Wang
f829f3583e
FMT code
2022-10-19 16:46:36 -07:00
Lijun Wang
062c7f828c
Fixed tests
2022-10-19 16:46:36 -07:00
Lijun Wang
5fbbad991e
FMT code
2022-10-19 16:46:36 -07:00
Lijun Wang
8a269246ac
Limit the number async tasks spawned to the runtime to avoid congestions.
2022-10-19 16:46:36 -07:00
Brooks Prumo
510cd933a1
Fixes typo in bootstrap log ( #28483 )
2022-10-19 17:58:03 -04:00
Jeff Biseda
0df4be06a0
enable repair ping/pong cache ( #28408 )
2022-10-19 14:55:55 -07:00
Jeff Washington (jwash)
09ede8b85c
reuse update_shrink_stats for combine_ancient_slots ( #28466 )
2022-10-19 14:17:34 -07:00
Brooks Prumo
12f3e8c9cc
Ignores errors when joining background threads in snapshot tests ( #28480 )
2022-10-19 16:54:59 -04:00
Alexander Meißner
5aca7df232
Bank::create_executor() ( #28474 )
...
* Moves the integration test test_bpf_loader_upgradeable_deploy_with_max_len() from the bpf_loader into the runtime.
* Adds Bank::create_executor().
* Adds a test for Bank::create_executor().
2022-10-19 22:28:57 +02:00
carllin
274d9ea607
Check for valid address in broadcast ( #28432 )
...
Check for valid address
2022-10-19 14:49:22 -05:00
Brooks Prumo
70e83e82c6
Waits to handle snapshot requests until after startup verification is complete ( #28481 )
2022-10-19 13:39:47 -04:00
HaoranYi
5c53206fc4
typo ( #28482 )
2022-10-19 12:20:17 -05:00
Jeff Washington (jwash)
2b11926c9e
simplify combine_ancient_slots ( #28464 )
2022-10-19 09:35:21 -07:00
kirill lykov
6c85778bf1
fix get_multiple_accounts test ( #28473 )
2022-10-19 10:25:50 -06:00
Yihau Chen
449b673c4b
chore: upload system performance test result to Discord ( #28458 )
...
upload system performance test result to Discord
2022-10-20 00:20:46 +08:00
HaoranYi
d81d2bba59
comments out print in test ( #28475 )
2022-10-19 10:25:11 -05:00
Jeff Washington (jwash)
8b115ff489
factor out update_shrink_stats ( #28465 )
...
* use local for shrink_stats
* renames and remove .as_us()
* factor out update_shrink_stats
* use integer to report us in metrics
2022-10-19 08:08:04 -07:00
Jeff Washington (jwash)
040035063f
share shrink_collect code ( #28454 )
...
* share shrink_collect code
* use correct stats
2022-10-19 08:07:05 -07:00
Brooks Prumo
1cc9cf927c
Supports warping with Epoch Accounts Hash ( #28459 )
2022-10-19 10:37:14 -04:00
Brooks Prumo
1e79053dd1
Requires known validators to have all snapshot hashes at bootstrap ( #28284 )
2022-10-19 10:08:02 -04:00
kirill lykov
c201fe2bec
get rid of process_deploy call in transaction-dos ( #28448 )
2022-10-19 11:02:51 +02:00
Justin Starry
58e27d45dc
RPC: respect data slice config if account parsing fails ( #28387 )
...
* RPC: respect data slice config if account parsing fails
* Remove check_slice_and_encoding method
2022-10-19 16:49:12 +08:00
samkim-crypto
491ec1e275
[zk-token-sdk] clean up pod ciphertext arithmetic operations ( #28470 )
...
* clean up pod ciphertext arithmetic operations
* rename add_ciphertext to add
2022-10-19 17:36:57 +09:00
Yueh-Hsuan Chiang
9be7ada68d
Improve SlotColumn's code comment. ( #28447 )
...
Improve SlotColumn's code comment to include how
LedgerCleanupService manages the clean-up of a SlotColumn.
2022-10-18 23:50:22 -07:00
Jeff Washington (jwash)
ca115594ff
remove concept of 'full' ancient append vec ( #28449 )
2022-10-18 15:08:04 -07:00
Jeff Washington (jwash)
c89bd0d6a4
make ancient shrink consistent with shrink ( #28457 )
2022-10-18 15:05:32 -07:00
Jeff Washington (jwash)
825b83c95c
simple minor refactoring ( #28456 )
2022-10-18 15:05:06 -07:00
Jeff Washington (jwash)
3835ac166e
refactor load_accounts_index_for_shrink for easier sharing ( #28455 )
2022-10-18 14:55:10 -07:00
Trent Nelson
f1d415cc85
ci: v1.10 is EOL. stop creating backports for it
2022-10-18 12:14:00 -07:00
Jon Cinque
d5d60b5031
program-test: Add working `get_stack_height` stub call ( #28451 )
2022-10-18 15:09:04 -04:00
Jeff Washington (jwash)
d52e28ac22
combine sort into get_unique_accounts_from_storages ( #28450 )
2022-10-18 11:52:48 -07:00
Jeff Washington (jwash)
b583ec79e1
add tests for should_move_to_ancient_append_vec ( #28438 )
...
add tests for should_moev_to_ancient_append_vec
2022-10-18 11:41:35 -07:00
behzad nouri
e283461d99
enforces hash domain for ping-pong protocol ( #28433 )
...
https://github.com/solana-labs/solana/pull/27193
added hash domain to ping-pong protocol.
For backward compatibility responses both with and without domain were
generated and accepted.
Now that all clusters are upgraded, this commit enforces the hash domain
by removing the response without the domain.
2022-10-18 18:17:12 +00:00
Brahma
f58c6c7c76
docs: improve transaction fee documentation ( #28425 )
...
* docs: clean up transaction fee page
- fix a few typos & sentence fragments
- try to simplify the explanation around burned fees
* more semantic optimization
2022-10-18 15:47:57 +00:00
Jeff Washington (jwash)
fd2e671861
remove slot# from account hash ( #28405 )
...
* remove slot# from account hash
* add feature
* fix tests
* constants to help clarify 'irrelevant' changes
* move to enum for enforcing irrelevancy
* ignore unsupported tests
2022-10-18 08:03:37 -07:00
Jeff Washington (jwash)
682999a423
accounts hash calculation uses files instead of memory ( #28065 )
2022-10-18 07:51:38 -07:00
Jeff Washington (jwash)
b669b827fb
refactor and test get_sorted_potential_ancient_slots ( #28436 )
2022-10-18 07:45:43 -07:00
kirill lykov
c7b2356d37
Replace deploy command with program deploy in tests ( #28398 )
...
replace deploy command with program deploy in tests
2022-10-18 10:57:53 +02:00
Alexander Meißner
547f07526b
Refactor - create_executor() to be usable outside of bpf_loader ( #28369 )
...
* Moves disable_deploy_of_alloc_free_syscall parameter inside create_executor().
* Lets register_syscalls() take &FeatureSet only instead of the entire InvokeContext.
* Uses ic_logger_msg!() instead of ic_msg!() inside create_executor().
Inlines map_ebpf_error().
* Adds register_syscalls_us to executor_metrics::CreateMetrics.
* Moves timings accumulation into executor_metrics::CreateMetrics::submit_datapoint().
* Moves &invoke_context.feature_set into a variable.
* Lets create_executor() return executor_metrics::CreateMetrics via a mutable parameter.
* Dissolves invoke_context parameter in create_executor().
* Pulls assignment of create_executor_metrics.program_id outside of create_executor().
* Makes create_executor() take a byte slice instead of a BorrowedAccount.
* Adds create_executor_from_account().
2022-10-18 10:22:39 +02:00
Yihau Chen
d949f4f42f
add a lighter way to check whether a block exists in the Bigtable ( #28308 )
...
* add does_row_key_exist
* add does_confirmed_block_exist
* lint
* Update storage-bigtable/src/bigtable.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* rename does_row_key_exist -> row_key_exists
* rename does_confirmed_block_exist -> confirmed_block_exists
* Update storage-bigtable/src/lib.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2022-10-18 06:34:26 +00:00
Trent Nelson
5361b4bc84
ci: run all jobs when the pipeline generator script changes
2022-10-17 22:21:57 -07:00