Dmitri Makarov
776a47bd83
Bump sbf-tools version to v1.29
2022-08-07 22:11:57 +00:00
Will Hickey
ed8c224374
Bump version to v1.12 ( #26967 )
2022-08-06 13:20:30 -05:00
Christian Kamm
cf58640937
Keypair: implement clone() ( #26248 )
...
* Keypair: implement clone()
This was not implemented upstream in ed25519-dalek to force everyone to
think twice before creating another copy of a potentially sensitive
private key in memory.
See https://github.com/dalek-cryptography/ed25519-dalek/issues/76
However, there are now 9 instances of
Keypair::from_bytes(&keypair.to_bytes())
in the solana codebase and it would be preferable to have a function.
In particular since this also comes up when writing programs and can
cause users to either start messing with lifetimes or discover the
from_bytes() workaround themselves.
This patch opts to not implement the Clone trait. This avoids automatic
use in order to preserve some of the original "let developers think
twice about this" intention.
* Use Keypair::clone
2022-08-06 11:54:38 -06:00
Richard Patel
270315a7f6
transaction-status, storage-proto: add compute_units_consumed ( #26528 )
...
* transaction-status, storage-proto: add compute_units_consumed
* fix bpf test
Co-authored-by: Justin Starry <justin@solana.com>
2022-08-06 17:14:31 +00:00
Richard Patel
35f04db0b0
bpf-loader: make syscalls pub ( #26918 )
2022-08-06 14:31:47 +00:00
nickfrosty
4608155588
fix: fixed the incorrect/unknown redirects
2022-08-05 22:30:32 -05:00
Tyera Eulberg
66919e5adb
Unpin tokio for non-rpc crates ( #26957 )
2022-08-05 20:50:45 -06:00
dependabot[bot]
65e670725a
chore: bump indicatif from 0.16.2 to 0.17.0 ( #26890 )
...
* chore: bump indicatif from 0.16.2 to 0.17.0
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.16.2 to 0.17.0.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.16.2...0.17.0 )
---
updated-dependencies:
- dependency-name: indicatif
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
* Accommodate api changes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-05 21:11:17 +00:00
Justin Starry
69598ed4c0
Refactor: Add `RuntimeConfig` field to Bank ( #26946 )
...
* Refactor: Simplify arguments for bank constructor methods
* Refactor: Add RuntimeConfig to Bank fields
* Arc wrap runtime_config
* Arc wrap all runtime config usages
* Remove Copy trait derivation from RuntimeConfig
* Remove some arc wrapping
2022-08-05 20:49:00 +01:00
Richard Patel
a9a3c62907
Fix sol_get_processed_sibling_instruction on 32-bit hosts ( #26522 )
2022-08-05 12:06:03 -07:00
Tyera Eulberg
80527e9c59
Support jsonParsed address lookup table accounts ( #26723 )
...
Parse address lookup table accounts
2022-08-05 18:34:39 +00:00
Pankaj Garg
3c15d26840
Refactor QUIC new connection handler function ( #26855 )
...
* Refactor QUIC new connection handler function
* cleanup setup_connection
* more cleanup
2022-08-05 11:24:07 -07:00
Brennan Watt
5bc81a6c35
Io stats v2 ( #26898 )
...
* Use sysfs instead of procfs for disk stats
* Filter map to filter dmcrypt and mdraid volumes
* Unit test cover different kernel formats
2022-08-05 10:38:49 -07:00
Xavier59
a7e72d0798
add program account to bpf loader close instruction parser ( #26926 )
2022-08-05 18:37:42 +01:00
Will Hickey
432bca3092
Add minor version clean up tasks to release doc ( #26954 )
2022-08-05 12:27:48 -05:00
Brooks Prumo
4e43aa6c18
Remove accounts data size checks in blockstore_processor ( #26776 )
2022-08-05 09:55:41 -04:00
Brooks Prumo
06a610130e
Remove bank test_max_accounts_data_size_exceeded() ( #26772 )
...
bank: remove test_max_accounts_data_size_exceeded()
2022-08-05 09:55:29 -04:00
kirill lykov
fda7573e39
fix version of spl-token to prevent conflict ( #26947 )
2022-08-05 15:23:53 +02:00
Jeff Washington (jwash)
73fe400407
protect access to rent paying account vec ( #26919 )
2022-08-05 08:19:46 -05:00
kirill lykov
5b879067e6
Bench tps: refactor client creation ( #26862 )
...
* relax Sized restriction functions using client
* extract function to build client
2022-08-05 10:51:15 +02:00
Tyera Eulberg
2dca239480
Remove runtime dependency from solana-transaction-status ( #26930 )
...
* Move RewardType out of runtime
* Move collect_token_balances to solana-ledger
* Remove solana-runtime dependency
2022-08-05 00:20:27 -06:00
Michael Vines
6c30ff2033
restore BackportAssignee definition
2022-08-04 21:28:53 -07:00
Michael Vines
4dc6174cf6
Remove v1.9 backport actions, add v1.11 backport actions
2022-08-04 21:08:56 -07:00
Jon Cinque
b725b8617c
spl: Bump token to 3.5.0 and ata to 1.1.0 ( #26921 )
2022-08-05 03:05:31 +02:00
steviez
300666dce7
Make `solana-ledger-tool` run AccountsBackgroundService ( #26914 )
...
Prior to this change, long running commands like `solana-ledger-tool
verify` would OOM due to AccountsDb cleanup not happening.
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-08-04 15:44:31 -05:00
Will Hickey
0f4b858224
Revert "Enable QUIC client by default. Add arg to disable QUIC client… ( #26913 )
...
Revert "Enable QUIC client by default. Add arg to disable QUIC client. (#26879 )"
This reverts commit 4c29750095
.
2022-08-04 13:26:43 -05:00
Boqin Qin(秦 伯钦)
83a0f5da0f
core: fix double-readlock in replay_stage ( #26052 )
2022-08-04 10:45:31 -04:00
Yihau Chen
b39767193b
Revert "chore: increase timeout limit for coverage test" ( #26917 )
...
This reverts commit b6ae6c1fe1
.
2022-08-04 19:51:01 +08:00
Yihau Chen
6aaaf717a9
chore: install NDK r21 in runtime ( #26916 )
...
chore: install ndk 21
2022-08-04 19:14:28 +08:00
Yihau Chen
b6ae6c1fe1
chore: increase timeout limit for coverage test
2022-08-04 17:11:44 +08:00
Brennan Watt
457f9ef739
Reduce severity level of log in replay ( #26893 )
...
* Reduce active banks log severity from warn to trace
2022-08-03 13:51:16 -07:00
Jeff Washington (jwash)
4b8f881af3
in mem acct idx scan multiple ages simultaneously ( #26853 )
2022-08-03 13:44:01 -05:00
Steven Luscher
526001557d
chore: update `tweetnacl` dependency to 1.0.3 explicitly ( #26907 )
2022-08-03 10:52:03 -07:00
github-actions[bot]
fbf1bf6d86
Bump Version to 1.11.6 ( #26906 )
...
Co-authored-by: willhickey <willhickey@users.noreply.github.com>
2022-08-03 12:48:43 -05:00
behzad nouri
403b2e4841
records num data shreds obtained from serializing entries ( #26888 )
2022-08-03 17:07:40 +00:00
Will Hickey
4c29750095
Enable QUIC client by default. Add arg to disable QUIC client. ( #26879 )
2022-08-03 10:39:55 -05:00
Jeff Washington (jwash)
0732a6c45f
add 'oldest_root' stat in hash calc ( #26896 )
2022-08-03 10:02:08 -05:00
Jeff Washington (jwash)
6706be0f56
log oldest dirty slot on clean ( #26897 )
2022-08-03 10:01:29 -05:00
Tyera Eulberg
7c58c8a641
Bump spl-token ( #26902 )
2022-08-03 08:51:43 +00:00
Tao Zhu
6892970c19
Cli support compute_unit_price ( #26464 )
...
* add compute-unit-price trait to insert compute_budget instruction to set priorization fee
* add clap arg for compute-unit-price
* add compute-unit-price arg to commands that send transactions
* add and update tests
2022-08-02 22:23:05 -05:00
Brennan Watt
f24de9d254
Make tx error accounting more granular ( #26718 )
2022-08-02 16:43:03 -07:00
Tyera Eulberg
b15be0360b
Bump prost, tonic to pick up protoc fix ( #26854 )
...
* Bump prost and tonic crates
* Regenerate google protobufs
* Build protoc from source
2022-08-02 16:37:28 -06:00
Brennan Watt
f3b760dd91
Add IO metrics ( #26804 )
...
* Add Disk IO metrics
2022-08-02 14:29:53 -07:00
Jeff Washington (jwash)
224550d65f
allow caching on ancient append vecs for accounts hash calc ( #26885 )
2022-08-02 14:40:29 -05:00
dependabot[bot]
7e0ae995c7
chore: bump wasm-bindgen from 0.2.81 to 0.2.82 ( #26850 )
...
* chore: bump wasm-bindgen from 0.2.81 to 0.2.82
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.81 to 0.2.82.
- [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/compare/0.2.81...0.2.82 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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-02 13:26:14 -06:00
Jeff Washington (jwash)
acc1112e9c
calculate cache hash path for store_detailed_debug_info_on_failure ( #26874 )
2022-08-02 11:19:00 -05:00
behzad nouri
1181510531
infers erasure batches from FEC-set indices of data shreds ( #26873 )
...
data_shreds_to_coding_shreds relies on the hardcoded
MAX_DATA_SHREDS_PER_FEC_BLOCK batches of data shreds:
https://github.com/solana-labs/solana/blob/e74ad90cd/ledger/src/shredder.rs#L175-L183
This hardcoded logic is unnecessary since the shreds belonging to the
same erasure batch can be identified from run of the same FEC-set index.
2022-08-02 16:05:27 +00:00
behzad nouri
ec36f0c5df
removes redundant Option<&Arc<...>> wrapper for Blockstore in serve-repair
2022-08-02 15:30:53 +00:00
behzad nouri
6423da0218
removes redundant Arc<RwLock<...>> wrapper off ServeRepair
2022-08-02 15:30:53 +00:00
Jeff Washington (jwash)
e5c5055869
Revert "allow caching on ancient append vecs for accounts hash calc" ( #26882 )
...
Revert "allow caching on ancient append vecs for accounts hash calc (#26770 )"
This reverts commit 30b408ed0c
.
2022-08-02 10:23:11 -05:00