behzad nouri
50afb80f52
adds shred::layout::get_signed_data ( #29438 )
...
Working towards removing merkle root from shreds payload, the commit
implements api to obtain signed data from shreds binary.
2022-12-30 18:52:10 +00:00
dependabot[bot]
1d456a82a9
chore: bump bn.js from 5.2.0 to 5.2.1 in /web3.js ( #29443 )
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v5.2.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: bn.js
dependency-type: direct:production
update-type: version-update:semver-patch
...
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-12-30 09:27:35 +00:00
dependabot[bot]
f553579a60
chore: bump @babel/plugin-transform-runtime from 7.17.0 to 7.19.6 in /web3.js ( #29442 )
...
chore: bump @babel/plugin-transform-runtime in /web3.js
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.17.0 to 7.19.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.19.6/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-minor
...
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-12-30 09:20:53 +00:00
dependabot[bot]
8e14aee1ba
chore: bump @solana/buffer-layout from 4.0.0 to 4.0.1 in /web3.js ( #29441 )
...
Bumps [@solana/buffer-layout](https://github.com/solana-labs/buffer-layout ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/solana-labs/buffer-layout/releases )
- [Changelog](https://github.com/solana-labs/buffer-layout/blob/master/CHANGELOG.md )
- [Commits](https://github.com/solana-labs/buffer-layout/commits )
---
updated-dependencies:
- dependency-name: "@solana/buffer-layout"
dependency-type: direct:production
update-type: version-update:semver-patch
...
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-12-30 09:14:34 +00:00
dependabot[bot]
c2d6c1b55e
chore: bump @babel/runtime from 7.18.0 to 7.20.7 in /web3.js ( #29439 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.18.0 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: direct:production
update-type: version-update:semver-minor
...
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-12-30 09:08:19 +00:00
Kollan House
a2db104edb
feat: add commission fields matching RPC spec to web3.js client ( #29435 )
...
* fix: adds commission field matching RPC spec
* fix: update optional to follow type pattern
2022-12-29 20:22:56 -08:00
Trent Nelson
40408fc558
Update SECURITY.md
2022-12-29 16:48:19 -07:00
behzad nouri
db3d926633
implements shred::layout::get_merkle_root ( #29437 )
...
In preparation of removing merkle roots form shreds binary, the commit
adds api to recover the root from the merkle proof embedded in shreds
payload.
2022-12-29 23:32:58 +00:00
TJDawson10
9679bc6d1f
chore: typecheck web3.js tests ( #29422 )
...
* fix: web3.js test typescript errors
Fixes the typescript errors throughout the
web3.js test suite
* fix: node14 test
AbortController is a default in node16 but needs
to be imported for node14
* fix: additional typescript errors
Adds the tests to the tsconfig to auto-include mocha
and fixes remaining typescript errors
* fix: graphql-tools to work with typescript
version of graphql-tools initially installed has incompatible
types preventing ./scripts/typegen.sh from passing when tests
are added to the include path of tsconfig.json
* Don't build typedefs for tests
Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-12-29 15:02:21 -08:00
gr8den
84e0d12f91
fix typo in rpc client ( #29434 )
...
* fix typo in runtime docs
* fix typo in rpc client
2022-12-29 15:03:28 -07:00
behzad nouri
1de161c13a
simplifies shreds sigverify ( #29436 )
...
Simplifying this code in preparation of removing merkle roots from
shreds binary.
2022-12-29 20:51:57 +00:00
Steven Luscher
0665569d26
Crank Stalebot's operations limit up to a level that should handle all issues
...
This thing seems to have been humming along at 300 in the dead zone between NA night and Europe morning. Let's see if it can handle the entire corpus.
2022-12-28 19:46:41 -08:00
behzad nouri
fba4a57060
expands test coverage for sign_shreds_gpu ( #29429 )
2022-12-29 00:33:51 +00:00
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