Justin Starry
bdce208fe5
clean feature: `request_units_deprecated` ( #27102 )
...
clean feature: request_units_deprecated
2022-08-13 13:12:35 +01:00
kirill lykov
014a926645
Bench tps add nonce flag ( #27030 )
...
* add durable nonce option
* make blockhash thread optional
* add nonce test to bench-tps
2022-08-13 13:01:25 +02:00
Justin Starry
6c796727df
clean-feature: `default_units_per_instruction` ( #27101 )
...
clean-feature: default_units_per_instruction
2022-08-13 09:04:40 +01:00
Justin Starry
bcff977f4c
cli: Require `--bypass-warning` flag to close program accounts ( #27108 )
...
* cli: Display warning when closing program accounts
* Fix parsing tests
2022-08-13 08:36:14 +01:00
Brennan Watt
521c550ccd
Sleep between vote refreshes ( #27115 )
...
* Sleep between vote refreshes in unit test
2022-08-12 13:45:00 -07:00
Lijun Wang
cb16281736
Reduce quic multi write test packets count ( #27074 )
...
* Reduce counts of packets to reduce time taken to send all of them
* Reduce count to 3000
2022-08-12 11:11:25 -07:00
behzad nouri
b3b57a0f07
adjusts max coding shreds per slot ( #27083 )
...
As a consequence of removing buffering when generating coding shreds:
https://github.com/solana-labs/solana/pull/25807
more coding shreds are generated than data shreds, and so
MAX_CODE_SHREDS_PER_SLOT needs to be adjusted accordingly.
The respective value is tied to ERASURE_BATCH_SIZE.
2022-08-12 18:02:01 +00:00
Brooks Prumo
35c87c3888
Fix test_accounts_data_size_and_resize_transactions ( #27105 )
2022-08-12 17:06:54 +00:00
Justin Starry
8e30dbbbf2
chore: restructure utils code
2022-08-12 17:11:51 +01:00
Justin Starry
52dc24abfb
chore: restructure program files
2022-08-12 17:11:51 +01:00
Justin Starry
1a1a7ce1cf
chore: restucture message files
2022-08-12 17:11:51 +01:00
Justin Starry
7ffcde7330
chore: restructure transaction files
2022-08-12 17:11:51 +01:00
Justin Starry
0e4ce87870
Explorer: Display address lookup table instruction type ( #27106 )
2022-08-12 14:20:33 +00:00
Justin Starry
5618e9fd07
Allow overriding the runtime transaction account lock limit ( #26948 )
...
* Add --transaction-account-lock-limit cli arg to test-validator
* Allow overriding the tx account lock limit in ProgramTest
2022-08-12 15:07:48 +01:00
dependabot[bot]
73436795a0
chore: bump js-sys from 0.3.58 to 0.3.59 ( #27088 )
...
* chore: bump js-sys from 0.3.58 to 0.3.59
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.58 to 0.3.59.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
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-08-12 07:40:25 -06:00
Tyera Eulberg
1aa8e06fd5
Fix local-cluster for QUIC more ( #27096 )
2022-08-12 06:20:04 -07:00
dependabot[bot]
02a6b7ac1f
chore: bump predicates from 2.0.3 to 2.1.1 ( #27087 )
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 2.0.3 to 2.1.1.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.0.3...v2.1.1 )
---
updated-dependencies:
- dependency-name: predicates
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-08-12 06:44:59 +00:00
Jeff Biseda
e50013acdf
Handle JsonRpcService startup failure ( #27075 )
2022-08-11 23:25:20 -07:00
Tao Zhu
6c58acf73e
add subcommand to set randomized compute-unit-price to transactions. ( #26891 )
...
* add subcommand to set randomized compute-unit-price to transactions.
* add compute-unit-limit to limit additional cost from prioritization.
* increase funding if use_randomized_compute_unit_price is enabled.
2022-08-11 20:59:17 -05:00
janlegner
fc6cee9c06
allow staked nodes weight override ( #26870 )
...
* Allowed staked nodes weight override (#26407 )
* Allowed staked nodes weight override, passing only HashMap over to core module
Co-authored-by: Ondra Chaloupka <chalda@chainkeepers.io>
2022-08-11 14:34:04 -07:00
Brennan Watt
da4028b24f
Connect to RPC nodes in parallel w/ reduced timeout ( #26892 )
...
* Connect to RPC nodes in parallel w/ reduced timeout
2022-08-11 14:32:22 -07:00
dependabot[bot]
b0c6c31b71
chore: bump crossbeam-channel from 0.5.5 to 0.5.6 ( #27072 )
...
* chore: bump crossbeam-channel from 0.5.5 to 0.5.6
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.5...crossbeam-channel-0.5.6 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
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-08-11 09:32:40 -06:00
dependabot[bot]
f641d3bad6
chore: bump chrono from 0.4.19 to 0.4.21 ( #27076 )
...
* chore: bump chrono from 0.4.19 to 0.4.21
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.19 to 0.4.21.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.19...v0.4.21 )
---
updated-dependencies:
- dependency-name: chrono
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 <you@example.com>
2022-08-11 09:28:50 -06:00
steviez
14d9922105
Bump rust-rocksdb to 0.19.0 tag ( #26949 )
2022-08-11 09:41:01 -05:00
Justin Starry
7e7785fc19
feat: support minContextSlot in getParsedAccountInfo method ( #27084 )
2022-08-11 14:28:54 +00:00
behzad nouri
ac91cdab74
removes buffering when generating coding shreds in broadcast ( #25807 )
...
Given the 32:32 erasure recovery schema, current implementation requires
exactly 32 data shreds to generate coding shreds for the batch (except
for the final erasure batch in each slot).
As a result, when serializing ledger entries to data shreds, if the
number of data shreds is not a multiple of 32, the coding shreds for the
last batch cannot be generated until there are more data shreds to
complete the batch to 32 data shreds. This adds latency in generating
and broadcasting coding shreds.
In addition, with Merkle variants for shreds, data shreds cannot be
signed and broadcasted until coding shreds are also generated. As a
result *both* code and data shreds will be delayed before broadcast if
we still require exactly 32 data shreds for each batch.
This commit instead always generates and broadcast coding shreds as soon
as there any number of data shreds available. When serializing entries
to shreds:
* if the number of resulting data shreds is less than 32, then more
coding shreds will be generated so that the resulting erasure batch
has the same recovery probabilities as a 32:32 batch.
* if the number of data shreds is more than 32, then the data shreds are
split uniformly into erasure batches with _at least_ 32 data shreds in
each batch. Each erasure batch will have the same number of code and
data shreds.
For example:
* If there are 19 data shreds, 27 coding shreds are generated. The
resulting 19(data):27(code) erasure batch has the same recovery
probabilities as a 32:32 batch.
* If there are 107 data shreds, they are split into 3 batches of 36:36,
36:36 and 35:35 data:code shreds each.
A consequence of this change is that code and data shreds indices will
no longer align as there will be more coding shreds than data shreds
(not only in the last batch in each slot but also in the intermediate
ones);
2022-08-11 12:44:27 +00:00
Pankaj Garg
ce230035fe
Fix local cluster tests for QUIC usage ( #27071 )
2022-08-11 00:17:27 -06:00
dependabot[bot]
1dcd27c536
chore: bump tokio-tungstenite from 0.17.1 to 0.17.2 ( #27069 )
...
* chore: bump tokio-tungstenite from 0.17.1 to 0.17.2
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/snapview/tokio-tungstenite/releases )
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tokio-tungstenite/compare/v0.17.1...v0.17.2 )
---
updated-dependencies:
- dependency-name: tokio-tungstenite
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-08-10 23:38:27 -06:00
Dmitri Makarov
d42fcf2e30
Fix rust flags handling in cargo-build-sbf
2022-08-11 01:07:51 +00:00
dependabot[bot]
1dcf8cf91e
chore: bump goauth from 0.13.0 to 0.13.1 ( #27066 )
...
* chore: bump goauth from 0.13.0 to 0.13.1
Bumps [goauth](https://github.com/durch/rust-goauth ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/durch/rust-goauth/releases )
- [Commits](https://github.com/durch/rust-goauth/commits )
---
updated-dependencies:
- dependency-name: goauth
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-08-10 23:03:21 +00:00
Brian Anderson
96a8f19105
Fix duplicate / incorrect docs in solana_sdk by removing the solana_program::* import ( #26588 )
...
* Make solana_sdk imports from solana_program explicit.
* Adjust imports
2022-08-10 15:56:30 -06:00
dependabot[bot]
a77131abce
chore: bump libc from 0.2.126 to 0.2.129 ( #27063 )
...
* chore: bump libc from 0.2.126 to 0.2.129
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.126 to 0.2.129.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.129 )
---
updated-dependencies:
- dependency-name: libc
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-08-10 15:53:09 -06:00
Justin Starry
9ab52e4260
chore: annotate more types as deprecated ( #27067 )
2022-08-10 20:35:30 +00:00
dependabot[bot]
ba7b058831
chore: bump serde_bytes from 0.11.6 to 0.11.7 ( #27062 )
...
* chore: bump serde_bytes from 0.11.6 to 0.11.7
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.6...0.11.7 )
---
updated-dependencies:
- dependency-name: serde_bytes
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-08-10 20:20:12 +00:00
Justin Starry
369b6b1828
feat: handle `loadedAddresses` field in tx meta responses ( #27065 )
...
feat: handle loadedAddresses field in tx meta responses
2022-08-10 20:08:24 +00:00
Lijun Wang
ceb8f099f2
Fixed a cargo warning on specifing quinn dependencies ( #27057 )
2022-08-10 11:54:13 -07:00
dependabot[bot]
a00c045d7c
chore: bump once_cell from 1.12.0 to 1.13.0 ( #27049 )
...
* chore: bump once_cell from 1.12.0 to 1.13.0
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
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 <you@example.com>
2022-08-10 12:19:10 -06:00
dependabot[bot]
cbd8fa8fdb
chore: bump dialoguer from 0.10.1 to 0.10.2 ( #27054 )
...
* chore: bump dialoguer from 0.10.1 to 0.10.2
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: dialoguer
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 <you@example.com>
2022-08-10 12:18:19 -06:00
Michael Vines
4e79d78629
`solana-validator monitor` how displays slot and gossip stake % while waiting for supermajority
2022-08-10 11:13:25 -07:00
Ikko Ashimine
82dc789362
docs: fix typo in return-data.md ( #27056 )
...
langauge -> language
2022-08-10 11:29:34 -06:00
dependabot[bot]
e3a8d2ecdd
chore: bump serde_json from 1.0.81 to 1.0.83 ( #27036 )
...
* chore: bump serde_json from 1.0.81 to 1.0.83
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.81 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.83 )
---
updated-dependencies:
- dependency-name: serde_json
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-08-10 09:45:42 -06:00
Tyera Eulberg
45c0da8597
Fix quic client on TestValidator, alternative ( #27046 )
...
Add new method to enable custom offset
2022-08-10 15:27:12 +00:00
Ryo Onodera
773a4dd4d5
Fix windows build after crossbeam-epoch patch ( #27052 )
2022-08-10 22:59:14 +09:00
Justin Starry
9348a23dfa
Explorer: Refactor parsed transaction handling ( #27050 )
2022-08-10 11:04:54 +00:00
apfitzge
c03f3b1436
Separate file for ImmutableDeserializedPacket type ( #26951 )
2022-08-09 22:39:01 -07:00
dependabot[bot]
ae5b680c6f
chore: bump serde from 1.0.138 to 1.0.143 ( #27015 )
...
* chore: bump serde from 1.0.138 to 1.0.143
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.138 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.143 )
---
updated-dependencies:
- dependency-name: serde
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
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-10 05:08:43 +00:00
Jeff Biseda
370de8129e
ancestor hashes socket ping/pong support ( #26866 )
2022-08-09 21:39:55 -07:00
Michael Vines
ccfbc54195
Move vote program state and instructions to solana-program
2022-08-09 20:52:47 -07:00
hana
b9a5af0a41
Implement nonblocking version of BlockhashQuery ( #27040 )
2022-08-09 20:18:36 -07:00
Lijun Wang
ddd660e2d3
Different staked vs unstaked chunks_received ( #27033 )
...
* Different staked vs unstaked chunks_received
* Suppress a clippy warning
2022-08-09 17:39:14 -07:00