dependabot[bot]
65141bbb59
chore: bump async-trait from 0.1.56 to 0.1.57 ( #27003 )
...
* chore: bump async-trait from 0.1.56 to 0.1.57
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
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-08 21:19:12 -06:00
Dmitri Makarov
84eb6bab4a
Refactor cargo-build-sbf integration tests using assert_cmd crate
2022-08-09 00:34:04 +00:00
Brian Anderson
ebe25fdb56
Add API docs for secp256k1_instruction and secp256k1_recover ( #26065 )
...
* Add API docs for secp256k1_instruction and secp256k1_recover
* typo
* Remove unused variable from secp256k1 program test
* Bump solana_bpf_rust_secp256k1_recover ix count
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-08 16:22:10 -06:00
nickfrosty
c7a997872b
docs: updated absolute routes to local routes
2022-08-08 16:39:58 -05:00
dependabot[bot]
555db7e416
chore: bump pickledb from 0.4.1 to 0.5.1 ( #25511 )
...
* chore: bump pickledb from 0.4.1 to 0.5.1
Bumps [pickledb](https://github.com/seladb/pickledb-rs ) from 0.4.1 to 0.5.1.
- [Release notes](https://github.com/seladb/pickledb-rs/releases )
- [Commits](https://github.com/seladb/pickledb-rs/commits/0.5.1 )
---
updated-dependencies:
- dependency-name: pickledb
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add yaml feature declaration
* Turn off default-features
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-08-08 14:42:47 -06:00
dependabot[bot]
0c82ca9293
chore: bump rustversion from 1.0.7 to 1.0.9 ( #26984 )
...
* chore: bump rustversion from 1.0.7 to 1.0.9
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.7 to 1.0.9.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.7...1.0.9 )
---
updated-dependencies:
- dependency-name: rustversion
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-08 14:40:18 -06:00
steviez
1d66ae0f66
Bail out of execute_batches() early for empty batches slice ( #26932 )
...
The caller of execute_batches() that assembles batches may call this
function with empty batches; we know we can bail early in this scenario.
2022-08-08 12:14:49 -05:00
Yueh-Hsuan Chiang
99ef2184cc
Delete files older than the lowest_cleanup_slot in LedgerCleanupService::cleanup_ledger ( #26651 )
...
#### Problem
LedgerCleanupService requires compactions to propagate & digest range-delete tombstones
to eventually reclaim disk space.
#### Summary of Changes
This PR makes LedgerCleanupService::cleanup_ledger delete any file whose slot-range is
older than the lowest_cleanup_slot. This allows us to reclaim disk space more often with
fewer IOps. Experimental results on mainnet validators show that the PR can effectively
reduce 33% to 40% ledger disk size.
2022-08-09 00:48:06 +08:00
dependabot[bot]
9b54b15016
chore: bump const_format from 0.2.25 to 0.2.26 ( #26985 )
...
Bumps [const_format](https://github.com/rodrimati1992/const_format_crates ) from 0.2.25 to 0.2.26.
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits/0.2.26 )
---
updated-dependencies:
- dependency-name: const_format
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 10:43:43 -06:00
Tyera Eulberg
46b3ecee55
Fix windows release builds ( #26986 )
...
* Don't try to build protobuf-src on windows
* Set protoc envar
2022-08-08 09:42:12 -06:00
Brooks Prumo
dc9a9238d5
Do not check accounts data size in InvokeContext ( #26773 )
2022-08-08 11:05:25 -04:00
Dmitri Makarov
09e26c7d29
Fix programs/bpf bpf_c and bpf_rust features to work independently
...
`cargo test --features="bpf_c"` fails to compile without this fix.
2022-08-08 07:13:18 -07:00
apfitzge
6e57a8f8a1
A more convenient store-tool ( #26796 )
...
* Use new_from_file_unchecked - don't sanitize input length for appendvec file
* Exit-early on completely zeroed accounts
2022-08-08 06:55:00 -07:00
Ahmad
ad0acaa6fa
added arg --rpc-max-request-payload-size to validator ( #26377 )
...
* added ability to pass --rpc-max-request-payload-size to validator
* fixed lint errors
* more lint fix
* patch
Co-authored-by: ultd <ultd>
Co-authored-by: Justin Starry <justin@solana.com>
2022-08-08 13:50:05 +01:00
Dmitri Makarov
d9f0bdf392
Switch to cargo-build-sbf for building tests in programs/bpf
2022-08-08 03:42:54 +00:00
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