Jeff Washington (jwash)
e86628a823
filter get_snapshot_storages for requested_slots earlier ( #29465 )
...
* filter get_snapshot_storages for requested_slots earlier
* Update runtime/src/accounts_db.rs
Co-authored-by: apfitzge <apfitzge@gmail.com>
Co-authored-by: apfitzge <apfitzge@gmail.com>
2023-01-02 20:53:30 -08:00
Jeff Washington (jwash)
4cc1890f00
skip_rewrites will only be feature driven ( #29468 )
2023-01-02 20:15:42 -08:00
Jeff Washington (jwash)
64466725d4
remove skip rewrite code from collect_rent_from_accounts ( #29472 )
2023-01-02 20:15:05 -08:00
Brennan Watt
5a969ce3f1
Snapshot download test ( #29474 )
2023-01-02 17:51:28 -08:00
Jeff Washington (jwash)
6294d1eff1
cleanup in account_storage.rs ( #29467 )
2023-01-02 14:55:02 -08:00
Jeff Washington (jwash)
a31927419b
test_rent_exempt_temporal_escape works in passes ( #29460 )
2023-01-02 14:32:09 -08:00
Brennan Watt
e43957d5f9
Fix snapshot download test ( #29457 )
...
snapshot download tests will now attempt to load the downloaded snapshot
2023-01-02 14:11:07 -08:00
Jeff Washington (jwash)
d5fdb7bd0a
remove metric time_hashing_skipped_rewrites_us ( #29470 )
2023-01-02 14:03:04 -08:00
Jeff Washington (jwash)
9615965219
decrease frequency of random shrink of ancient append vec ( #29462 )
2023-01-02 13:29:04 -08:00
Jeff Washington (jwash)
bf93a1e13f
migrate tests to not use AccountStorage::get ( #29464 )
2023-01-02 13:02:09 -08:00
Jeff Washington (jwash)
e99afb4e85
handle ancient overflow case correctly ( #29458 )
2023-01-02 12:39:59 -08:00
Jeff Washington (jwash)
8397f295c0
simplify get_storages_for_slot ( #29463 )
2023-01-02 12:38:48 -08:00
Jeff Washington (jwash)
38d771a823
add test and comments ( #29459 )
2023-01-02 12:38:21 -08:00
Jeff Washington (jwash)
67c7e343a2
test permutations of set_exempt_rent_epoch_max ( #29461 )
2023-01-02 11:59:50 -08:00
Jeff Washington (jwash)
cf1aa4beea
feature: set rent_epoch to Epoch::MAX ( #28690 )
...
* check android builds
* feature: set rent_epoch to Epoch::MAX
* tweaks
* Update runtime/src/rent_collector.rs
Co-authored-by: Brooks Prumo <brooks@prumo.org>
* simplify changes to tests
* back out some test changes
* calculate_rent_result passes through Exempt
* move calc outside loop
* if rent epoch is already max, use 'NoRentCollectionNow'
Co-authored-by: Brooks Prumo <brooks@prumo.org>
2023-01-02 07:51:08 -08:00
Jeff Washington (jwash)
3d72012a31
cleanup 'shrinking_in_progress' ( #29359 )
2023-01-02 07:41:36 -08:00
Jeff Washington (jwash)
6edbb61fa0
add test_shrink_ancient_overflow ( #29363 )
2023-01-02 07:09:53 -08:00
dependabot[bot]
3c71e9df1c
chore: bump @typescript-eslint/parser from 5.40.1 to 5.47.1 in /web3.js ( #29453 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.40.1 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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>
2023-01-02 09:13:50 +00:00
dependabot[bot]
6de947a7e0
chore: bump @rollup/plugin-json from 4.1.0 to 6.0.0 in /web3.js ( #29452 )
...
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins/tree/HEAD/packages/json ) from 4.1.0 to 6.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/json/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/url-v6.0.0/packages/json )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-json"
dependency-type: direct:development
update-type: version-update:semver-major
...
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>
2023-01-02 09:08:08 +00:00
behzad nouri
754ecf467b
generalizes the return type of Shred::get_signed_data ( #29446 )
...
The commit adds an associated SignedData type to Shred trait so that
merkle and legacy shreds can return different types for signed_data
method.
This would allow legacy shreds to point to a section of the shred
payload, whereas merkle shreds would compute and return the merkle root.
Ultimately this would allow to remove the merkle root from the shreds
binary.
2022-12-31 17:08:25 +00:00
behzad nouri
70c901792e
removes merkle root comparison in erasure_mismatch ( #29447 )
...
Merkle shreds within the same erasure batch have the same merkle root.
The root of the merkle tree is signed. So either the signatures match
or one fails sigverify, and the comparison of merkle roots is redundant.
2022-12-31 14:21:05 +00:00
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