behzad nouri
d172ab342f
expands test coverage for merkle/legacy shreds sigverify ( #29424 )
2022-12-28 17:42:24 +00:00
kirill lykov
5d18a5c738
replaced ./cargo with cargo in build docs ( #29375 )
2022-12-28 00:52:49 +01:00
Ashwin Sekar
17b64005d3
Add more logging and documentation to flaky optimistic confirmation tests ( #29418 )
...
* Revert "add retry for flakey local cluster test (#29228 )"
This reverts commit 7a97121747
.
* Add logging for repair
2022-12-27 10:47:45 -07:00
Steven Luscher
ec5e5dbffa
Double the Stalebot operations limit
2022-12-27 07:49:53 -08:00
Steven Luscher
7429df5176
Increase the Stalebot operations limit by another 50%.
2022-12-26 16:03:46 -08:00
behzad nouri
456d06785d
experiments different turbine fanouts for propagating shreds ( #29393 )
...
The commit allocates 2% of slots to running experiments with different
turbine fanouts based on the slot number.
The experiment is feature gated with an additional feature to disable
the experiment.
2022-12-26 14:18:56 +00:00
Ashwin Sekar
f2ba16ee87
Plumb dumps from replay_stage to repair ( #29058 )
...
* Plumb dumps from replay_stage to repair
When dumping a slot from replay_stage as a result of duplicate or
ancestor hashes, properly update repair subtrees to keep weighting and
forks view accurate.
* add test
* pr comments
2022-12-25 09:58:30 -07:00
Dmitri Makarov
2681720557
Re-enable cargo-build-sbf tests ( #29415 )
2022-12-25 07:25:22 -05:00
Yihau Chen
d39237891b
ci: fix web3-commit-lint ( #29414 )
...
chore: update web3 package-lock.json
2022-12-24 19:37:27 +00:00
Dmitri Makarov
3a14e52eb7
Bump sbf-tools to v1.32 ( #29325 )
...
* Bump sbf-tools to v1.32
This version of sbf-tools is based on Rust 1.65.0 and LLVM 15.0.
* Temporary ignore build-sbf tests until issue with buildkite cache resolved
2022-12-24 11:34:12 -08:00
Yihau Chen
3cfd1b244d
test: fix get inflation rate test failed at test:live ( #29413 )
2022-12-25 02:24:49 +08:00
Dmitri Makarov
b0c8e0ff03
Enable full output of cargo-build-sbf tests ( #29411 )
2022-12-24 09:28:44 -08:00
Dmitri Makarov
33946f5007
Add an option to reinstall sbf-tool binaries by cargo-build-sbf ( #29410 )
2022-12-24 08:54:55 -08:00
Dmitri Makarov
f05eb4a022
Temporary increase the build redundancy threshold ( #29412 )
2022-12-24 08:05:54 -08:00
TJDawson10
c0e6065ac9
feat: add getInflationRate RPC call to web3.js ( #29377 )
...
* Add getInflationRate RPC call
* Fix code formatting
Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-12-23 22:08:23 -08:00
Steven Luscher
b619b0d33f
Increase Stalebot's operation consumption limit by another 50%
2022-12-23 21:53:19 -08:00
Nico Schapeler
5f4752a29e
feat: Allow for verifying the sigs of partially signed txs in web3.js ( #29249 )
...
* feat: allow for verifying the sigs of partially signed txs
* fix: make comment ab verifying sigs more specific
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
* feat: add tests for partial signed tx verification
* fix: revert lockfile changes
* fix: make tests more modular
* fix: run linter
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
2022-12-23 21:50:53 -08:00
steviez
1cc8917b9f
Adjust ledger-tool bigtable upload starting-slot default value ( #29384 )
...
Currently, if starting-slot is unspecified, a value of 0 will be chosen.
In the common case where someone is operating on a much more recent
range, this would result in a ton of wasted operations & time.
Instead, choose a smarter default value for starting-slot based on what
we detect is currently in the blockstore.
2022-12-23 21:35:07 +00:00
steviez
58d66e1113
Minor cleanup on bigtable_upload ( #29379 )
...
Adjust some logs, and remove an unnecessary cloned().
2022-12-23 20:19:15 +00:00
Tyera
81394cf92c
Fix BigTable upload early return ( #29378 )
...
* Change Err when slot range is empty to Ok and log; add method docs
* Update var and log to be more correct
* Promote log level to warn
2022-12-23 18:11:27 +00:00
Daniel Kilimnik
892e23ce08
Security TXT: Add source_release and source_revision fields ( #29392 )
2022-12-23 14:33:25 +01:00
Yihau Chen
d32c34822b
ci: trigger stable-sbf pipeline when cargo-[test|build]-[bpf|sbf] is modified ( #29391 )
2022-12-23 20:59:37 +08:00
Yihau Chen
0f99f70519
ci: trigger downstream pipeline when cargo-[test|build]-[bpf|sbf] is modified ( #29390 )
2022-12-23 20:56:30 +08:00
Jon Cinque
968b158494
vote: Prevent commission update in the second half of epochs ( #29362 )
...
* vote: Prevent commission update in the second half of epochs
* Address feedback
* Fix tests
* Make the feature enabled by single-contributor
* Use a cooler pubkey
2022-12-23 12:24:39 +01:00
kirill lykov
8d11b28bc0
get rid of ./cargo when building downstream projects ( #29372 )
2022-12-23 17:02:23 +08:00
dependabot[bot]
65391a70cb
chore: bump futures-util from 0.3.24 to 0.3.25 ( #29337 )
...
* chore: bump futures-util from 0.3.24 to 0.3.25
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.24 to 0.3.25.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.24...0.3.25 )
---
updated-dependencies:
- dependency-name: futures-util
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>
2022-12-22 22:42:18 -07:00
Lijun Wang
0a7d8520b8
Make connection cache to support specified client endpoint ( #29240 )
...
ConnectionCache is being used for managing connections for sending messages using quic. In the current implementation the connection's endpoint is created in a lazy initialized fashion and set to one per connection pool. In repair we need all connections to use the same Endpoint so that the server can send back the response to the same Endpoint.
2022-12-22 12:35:32 -08:00
kirill lykov
49f4e2ae05
replace ./cargo with cargo in sbf/bpf build scripts ( #29371 )
2022-12-22 20:17:11 +01:00
Tyera
d33129193f
Add fee-payer arg to solana feature activate ( #29367 )
2022-12-22 10:07:56 -07:00
Brian Anderson
edd5f6f3be
Expand solana-sdk API docs. ( #29063 )
...
* Expand solana-sdk API docs.
* Update sdk/src/genesis_config.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/hard_forks.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/builtins.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/builtins.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/rpc_port.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update sdk/src/lib.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Clarify derivation_path docs
* 'entry point' -> 'entrypoint'
Co-authored-by: Tyera <teulberg@gmail.com>
2022-12-22 08:58:06 +00:00
Yihau Chen
bf18613a2e
fix: client-test timeout ( #29364 )
...
* fix: retry counter doesn't count
* set timeout for wait_for
2022-12-22 16:50:19 +08:00
Alessandro Decina
0a5164d887
Remove checks for activated feature check_physical_overlapping ( #29355 )
2022-12-22 19:07:08 +11:00
Nick Frostbutter
d8da242e5e
docs: transactions fees/confirmation and deploying programs ( #28895 )
...
docs: adds and updates
2022-12-21 22:51:49 -06:00
Nick Frostbutter
12de7637f1
[docs] Updated transactions overview page ( #29345 )
...
fix: added broad overview
2022-12-21 22:38:47 -06:00
Nick Frostbutter
5918d6f09d
[docs] updating the "writing programs" section ( #29197 )
...
* docs: added limitations page
* fix: updated deprecated cargo test-bpf
* docs: moved content off of overview
* fix: added compute budget description
* fix: updated compute buddget
* fix: rearranged sections
* fix: update code snippet
* docs: overview page and links
2022-12-21 22:27:10 -06:00
Tyera
1e0d3931fd
Fix "tranaction" typo in code base ( #29347 )
...
Fix typos
2022-12-21 18:02:36 -07:00
Jeff Washington (jwash)
0f7ef085a0
introduce ShrinkInProgress ( #29329 )
...
* introduce ShrinkInProgress
* remove redundant check
* add comments
2022-12-21 09:03:29 -08:00
Jeff Washington (jwash)
4a64f6d421
test_utils::create_test_accounts pre-allocates an append vec first ( #29336 )
...
* test_utils::create_test_accounts pre-allocates an append vec first
* remove comment
2022-12-21 09:02:42 -08:00
Tao Zhu
0244b0144a
Add metrics for min/max priority fee per slot, and counters for fee/non-fee transactions ( #29330 )
...
* Add metrics for min/max priority fee per slot, and counters for fee/non-fee txs
* get fee range of prioritized transactions only
* Update runtime/src/prioritization_fee.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/src/prioritization_fee.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* fix format
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-12-21 16:42:26 +00:00
Tao Zhu
926debd18c
exclude Vote transactions from updating min-fee-cache ( #29341 )
2022-12-20 20:05:46 +00:00
Tyera
067facfbef
Remove println ( #29342 )
2022-12-20 19:31:40 +00:00
Jeff Washington (jwash)
c3ca5b78b2
remove acctdb.min_num_stores ( #29335 )
2022-12-20 10:39:20 -08:00
behzad nouri
558292466b
rolls back merkle shreds on testnet ( #29340 )
...
https://github.com/solana-labs/solana/pull/29339
adds hash domain to merkle shreds. In order to merge that change, need
to temporarily disable merkle shreds on testnet.
2022-12-20 18:33:48 +00:00
Jeff Washington (jwash)
098b86b883
test_minimize_accounts_db uses write cache correctly ( #29333 )
2022-12-20 09:50:56 -08:00
Brooks
053775ad77
Elides unnecessary lifetimes ( #29299 )
2022-12-20 12:44:17 -05:00
Steven Luscher
65ff61cfc8
Increase Stalebot operations limit by another 50%
2022-12-20 09:12:53 -08:00
behzad nouri
2d849a2eae
indexes duplicate-shreds in gossip crds table ( #29317 )
...
Also adding Crds::get_duplicate_shreds which retrieves all upserted
duplicate-shreds since a given cursor using the index.
2022-12-20 13:48:05 +00:00
Steven Luscher
9a82368dc9
Increase stalebot operations limit by 50%
...
We have to increase this until either it can handle 1000 issues in a single run, or we hit the GitHub API operations limit.
2022-12-19 23:03:40 -08:00
Steven Luscher
92c90271ab
Remove `start-date` config from Stalebot
...
This doesn't actually do what I thought it did. The `start-date` config doesn't make stalebot start from a certain date forward, it makes tasks older than that date immune to being closed.
This means I'm going to just have to find a way to raise the GitHub API operations limit to be able to handle more tasks, or wait until enough have been closed that it fits within our current limit.
2022-12-19 23:02:32 -08:00
Nico Schapeler
0b479066b3
fix: make toBytes actually return the type it's typehint claims ( #29313 )
2022-12-19 22:43:53 -08:00