Commit Graph

20638 Commits

Author SHA1 Message Date
Tao Zhu 365e32a484
update banking-bench to simulate mint event (#28489)
* update banking-bench to simulate mint event by specifying certain percentage of conflicting transactions with higher priority fee

* set proper compute-unit for transfer transactions
2022-10-25 09:33:53 -05:00
Yihau Chen d98eb97842
chore: add spl-instruction-padding/program to downstream ci script (#28578)
add spl-instruction-padding/program to ci script
2022-10-25 06:44:33 +00:00
Brooks Prumo bc02789c43
Renames fn to calculate_accounts_hash_from_storages() (#28566) 2022-10-24 21:07:00 -04:00
behzad nouri f703275fc4
pings peers before sending push messages (#28537) 2022-10-25 00:01:23 +00:00
Brooks Prumo 2354a0a343
Renames fn to calculate_accounts_hash_from_index() (#28568) 2022-10-24 19:20:08 -04:00
Jeff Washington (jwash) dde8f0dfad
CurrentAncientAppendVec for clarity (#28528) 2022-10-24 15:28:52 -07:00
Jeff Washington (jwash) 8acd6bb34a
share index_read_elapsed code (#28557) 2022-10-24 15:19:40 -07:00
Nick Frostbutter 2090ad0c2e
[docs] corrected use of confirmTransaction in examples (#28547)
fix: updated method calls
2022-10-24 16:49:47 -05:00
Jeff Washington (jwash) a422387ca8
cleanup ancient append vec merge stats (#28556) 2022-10-24 13:11:12 -07:00
Jeff Washington (jwash) 8a538f8da5
skip_rewrite skips almost all accounts with no rent (#28552) 2022-10-24 11:48:00 -07:00
Jeff Washington (jwash) 1ff2740905
feature 28541 no-op (#28542) 2022-10-24 07:52:11 -07:00
Justin Starry 322280c5b7
RPC: Improve error messages for decoding errors (#28530) 2022-10-24 19:19:34 +08:00
Trent Nelson 1fbd818647
runtime: remove `Default` req on account scan interfaces (#28533) 2022-10-21 17:53:06 -06:00
Ashwin Sekar 434c8ed416
remote-node script use --force when delegating stake (#28539) 2022-10-21 15:05:14 -07:00
Jeff Washington (jwash) 993583d9b3
simplify get_store_for_shrink (#28524) 2022-10-21 14:49:34 -07:00
Ashwin Sekar 9eafad467c
Add convenience methods to VoteInstruction to distinguish vote types (#28526)
* Add convenience methods to VoteInstruction to distinguish vote types

* use matches! macro instead
2022-10-21 14:17:40 -06:00
Ikko Ashimine ff18bb3a06
Fix typo in restart-cluster.md (#28538)
occurence -> occurrence
2022-10-22 04:02:07 +08:00
Jeff Washington (jwash) fb94e50678
remove single use function for clarity (#28523) 2022-10-21 11:42:27 -07:00
Yihau Chen 8cb5199ce0
chore: all gce performance tests use n2-standard-16 (#28509)
use n2-standard-16
2022-10-22 00:34:20 +08:00
Dmitri Makarov 786c558a1f Bump sbf-tools to v1.30 2022-10-21 09:36:18 -04:00
sakridge b6f5cc6ebf
Update TVU with transaction status service (#28505)
There is no storage stage
2022-10-21 14:37:30 +02:00
sakridge 580b4f81bf
Fix optimistic concurrency control link (#28534) 2022-10-21 14:26:58 +02:00
kirill lykov 1c4ac56e56
Remove immutable deploy (#28399)
* remove Deploy option from cli

* remove solana deploy from comments

* introduce dummy deploy command to improve user experience
2022-10-21 09:29:37 +02:00
Justin Starry 49daa596c0
fix: incorrect error message for getFeeForMessage (#28529) 2022-10-21 01:50:10 +00:00
Tyera Eulberg 7be8af5f40
Fix RpcClient MemCmp filter version mapping (#28499)
* Add VersionReq struct to handle multiple version checks

* Use VersionReq to fix MemCmp filter breakage

* Simplify if case
2022-10-20 19:41:28 -06:00
Justin Starry 199398d5c4
Rename transaction v2 proposal (#28508)
Rename transactions v2 proposal to clear up versioning
2022-10-21 09:29:22 +08:00
bji a2e1228c1f
proposal: Added timely vote credits proposal. (#28162)
Added timely vote credits proposal.
2022-10-20 22:46:47 +00:00
Ashwin Sekar f207af765e
Split out voting and banking threads in banking stage (#27931)
* Split out voting and banking threads in banking stage

Additionally this allows us to aggressively prune the buffer for voting threads
as with the new vote state only the latest vote from each validator is
necessary.

* Update local cluster test to use new Vote ix

* Encapsulate transaction storage filtering better

* Address pr comments

* Commit cargo lock change

* clippy

* Remove unsafe impls

* pr comments

* compute_sanitized_transaction -> build_sanitized_transaction

* &Arc -> Arc

* Move test

* Refactor metrics enums

* clippy
2022-10-20 21:10:48 +00:00
dependabot[bot] b074d96336
chore:(deps): bump ansi-regex from 4.1.0 to 5.0.1 in /explorer (#28519)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  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-10-20 21:01:49 +00:00
steveluscher 25a3df3e40 chore: upgrade eslint in @solana/web3.js 2022-10-20 21:01:32 +00:00
Steven Luscher 7146220539
chore: update Docusaurus deps to latest available (#28514) 2022-10-20 13:54:26 -07:00
steveluscher 9207f9a1b8 chore: upgrade Mocha to 10.1.0 2022-10-20 20:44:42 +00:00
Steven Luscher 65f1614a42
test: repair tests, `space` having been added to the account response (#28518) 2022-10-20 13:37:55 -07:00
Trent Nelson c68fb5f68d ci: remove stale clippy allows 2022-10-20 11:25:48 -07:00
Trent Nelson a2857cd1e4 cli-ouput: add ctor for `CliAccount` 2022-10-20 11:22:11 -07:00
Trent Nelson cb7fe87abb bank: factor accumulation out to helper on `TotalAccountsStats` 2022-10-20 10:50:51 -07:00
dependabot[bot] 0c6883e9b5
chore: bump vm2 from 3.9.9 to 3.9.11 in /web3.js (#28118)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.9 to 3.9.11.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.9...3.9.11)

---
updated-dependencies:
- dependency-name: vm2
  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-10-20 10:39:35 -07:00
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