steveluscher
62ff54d04e
fix: export custom transaction confirmation error classes
2022-06-17 15:57:52 +00:00
Tyera Eulberg
1c7fc2b146
Bump openssl in programs/bpf ( #26026 )
2022-06-17 09:31:06 -06:00
Tyera Eulberg
752c851070
Clean up feature preventing new rent-paying accounts ( #26000 )
...
* Clean up require_rent_exempt_accounts feature
* Fix tests in bank_client, system_instruction_processor
* Fix tests in snapshot_utils
* Fix bank tests
* Ignore rent tests
* Fix stake-accounts tests
2022-06-16 15:35:25 -06:00
Alexander Meißner
bf9ca9827e
Refactor: instruction account index ( #25825 )
...
* Adds methods based on instruction_account_index to InstructionContext.
Removes methods which are based on index_in_instruction.
* Adjusts program-runtime.
* Adjusts runtime.
* Adjusts bpf loader.
* Adjusts built-in programs.
* Adjusts program-test and bpf tests.
2022-06-16 18:46:17 +02:00
dependabot[bot]
8e3fd8a411
chore: bump tokio-stream from 0.1.8 to 0.1.9 ( #25995 )
...
* chore: bump tokio-stream from 0.1.8 to 0.1.9
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.8...tokio-stream-0.1.9 )
---
updated-dependencies:
- dependency-name: tokio-stream
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-06-16 10:27:05 -06:00
behzad nouri
31b3e0e15a
adds metric tracking wasted data buffer in shreds ( #25972 )
2022-06-16 16:14:00 +00:00
Tyera Eulberg
a9c9acfe80
Improve repair-roots help ( #26008 )
2022-06-16 10:03:27 -06:00
Justin Starry
8f51c2d985
explorer: add support for upgrade nonce ix ( #26007 )
2022-06-16 14:51:45 +00:00
behzad nouri
eacb9183d4
patches bug where the 1st coding shred is not inserted into blockstore ( #25916 )
...
StandardBroadcastRun::insert skips 1st shred with index zero because
the 1st *data* shred is inserted synchronously:
https://github.com/solana-labs/solana/blob/53695ecd2/core/src/broadcast_stage/standard_broadcast_run.rs#L239-L246
https://github.com/solana-labs/solana/blob/53695ecd2/core/src/broadcast_stage/standard_broadcast_run.rs#L334-L339
https://github.com/solana-labs/solana/pull/7481
which added this code was not inserting coding shreds into blockstore.
Starting with
https://github.com/solana-labs/solana/pull/8899
coding shreds are inserted into blockstore as well as data shreds, but
the insert logic erroneously skips first coding shred because it does
not check if shred is code or data.
2022-06-16 13:59:15 +00:00
Alexander Meißner
1315788acd
Use BorrowedAccount in CPI syscall. ( #25905 )
2022-06-16 13:28:02 +02:00
Brooks Prumo
b4b191e446
Enforce accounts data size limit per block in ReplayStage ( #25524 )
2022-06-15 20:35:33 -05:00
Dan Coombs
32a58dd9e0
Add ability to use a non-default app profile id in bigtable requests ( #25968 )
...
* Add ability to use a non-default app profile id in bigtable requests
* Only run subcommand once when getting global configs
* Remove unneded scoping on option type
2022-06-16 00:58:16 +00:00
Brooks Prumo
54675b2dd6
Add bank tests for accounts_data_size and resize transactions / rent collection ( #25884 )
2022-06-15 19:40:43 -05:00
Jeff Washington (jwash)
b02c412d5b
generate_index straight to disk and batched ( #25947 )
...
* generate_index straight to disk and batched
* renames and comments
* handle in-mem case correctly
* use mutex
2022-06-15 18:14:39 -05:00
Jeff Washington (jwash)
631ea93259
parallel rent collection avoids overlapping ranges ( #25991 )
2022-06-15 16:04:38 -05:00
Tyera Eulberg
99cf1e280e
Clean up warp-timestamp features ( #25994 )
2022-06-15 14:11:41 -06:00
dependabot[bot]
9a9d97033c
chore: bump const_format from 0.2.23 to 0.2.25 ( #25984 )
...
Bumps [const_format](https://github.com/rodrimati1992/const_format_crates ) from 0.2.23 to 0.2.25.
- [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 )
---
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-06-15 12:17:11 -06:00
Jeff Washington (jwash)
80f90d6e96
disable logging per thread on rent collection load ( #25982 )
2022-06-15 13:16:00 -05:00
apfitzge
e1efc5bebb
append_vec.rs: remove new_empty_map (unused) ( #25885 )
2022-06-15 08:59:46 -05:00
behzad nouri
fe3c1d3d49
removes erroneous uses of &Arc<...> from broadcast-stage ( #25962 )
2022-06-15 13:44:24 +00:00
dependabot[bot]
6ec98e07ec
chore: bump num-bigint from 0.4.2 to 0.4.3 ( #25866 )
...
* chore: bump num-bigint from 0.4.2 to 0.4.3
Bumps [num-bigint](https://github.com/rust-num/num-bigint ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/rust-num/num-bigint/releases )
- [Changelog](https://github.com/rust-num/num-bigint/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-bigint/compare/num-bigint-0.4.2...num-bigint-0.4.3 )
---
updated-dependencies:
- dependency-name: num-bigint
dependency-type: indirect
...
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 <you@example.com>
2022-06-15 05:05:17 +00:00
Tyera Eulberg
d4c4e28b5f
Paginate rpc query to get feature accounts ( #25978 )
2022-06-14 22:57:57 -06:00
Tyera Eulberg
f48d0b2b36
Add inputs to indicate minimum beta and stable releases that support the feature ( #25981 )
2022-06-14 22:23:07 -06:00
Brian Anderson
db9004bd0f
Fix doc warnings ( #25953 )
2022-06-14 21:55:08 -06:00
Jeff Washington (jwash)
ae37359b6b
AcctIdx: only advance age on thread 0 ( #25943 )
2022-06-14 21:43:42 -05:00
Tyera Eulberg
8a3d48b0ee
Reduce 2 iterators to one ( #25973 )
2022-06-14 22:49:58 +00:00
Alexander Meißner
4652377e5b
Removes the feature gate of reject_empty_instruction_without_program. ( #25870 )
2022-06-14 18:00:12 +02:00
Jeff Washington (jwash)
8c6455022f
remove dead code marker ( #25945 )
2022-06-14 10:47:26 -05:00
Jeff Washington (jwash)
e24cc537a4
avoid adding to 'uncleaned_roots' when generating index and caller passes accounts-db-skip-shrink ( #25936 )
2022-06-14 10:10:44 -05:00
Jeff Washington (jwash)
01f41b8c76
get rid of dead code marker ( #25944 )
2022-06-14 08:44:40 -05:00
Brooks Prumo
85e383378a
Add `Measure::as_duration()` ( #25942 )
2022-06-14 07:15:28 -05:00
steviez
86f12bc89c
Add github-actions bot to approved commit author list ( #25927 )
2022-06-14 00:10:21 -05:00
Steven Luscher
45d11f3d26
Implement `VoteInstruction::AuthorizeWithSeed` & `VoteInstruction::AuthorizeWithSeedChecked` ( #25928 )
...
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed`
* [vote_authorize_with_seed] You can now update a vote account's authority if it's a derived key for which you control the base key
* [vote_authorize_with_seed] Add test helper to create a vote account whose authorities are derived keys
* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeWithSeed`
* [vote_authorize_with_seed] Feature gate the `VoteInstruction::AuthorizeWithSeed` processor
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to transaction status parser
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to docs
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed`
* [vote_authorize_with_seed] You can now update a vote account's authority (while checking that the new authority has signed) if it's a derived
key for which you control the base key
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed` to transaction status parser
* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeCheckedWithSeed`
2022-06-13 20:36:44 -07:00
Tyera Eulberg
7b786ff331
RPC instruction parser tests are missing some cases ( #25951 )
...
* Fix num-accounts typo and extend test
* Add extra test cases to parse_system
* Add extra test cases to parse_vote
* Add extra test cases to parse_stake
* Fixup parse_bpf_loader
* Add extra test cases to parse_bpf_upgradeable_loader
* Add extra test cases to parse_associated_token
2022-06-14 00:32:40 +00:00
Brennan Watt
fc166daa17
Add minimum iterator packet count for rayon verification threads ( #25883 )
...
* Add minimum iterator packet count of 128 for rayon sig verification threads
* Add bench performance and unit verification tests
2022-06-13 15:48:13 -07:00
Jeff Washington (jwash)
306faed3a8
update comment ( #25949 )
2022-06-13 17:43:29 -05:00
Dan Albert
734015115f
Update clusters.md ( #24712 )
2022-06-13 16:31:08 -06:00
Tao Zhu
c96d9d127a
Include forwarding counters in leader slot metrics ( #25874 )
...
* To include forwarding counters in leader slot metrics
* Capture slot_end_detected time when checking leader slots, to be used in reporting later
* Simplify banking stage loop to report leader slot metrics
Co-authored-by: carllin <carl@solana.com>
2022-06-13 17:03:34 -05:00
Brooks Prumo
c419845cfe
Take `.max(1)` when computing MAX_RAYON_THREADS ( #25940 )
2022-06-13 14:16:58 -05:00
apfitzge
d56a706b20
Add static vector to get all static ids in runtime ( #25909 )
...
* Add function to get all static ids in runtime
* static_ids.rs: use a lazy_static ref instead of a function
2022-06-13 13:21:16 -05:00
steviez
825b95154f
Update RELEASE.md to reflect recent CI changes ( #25925 )
2022-06-13 13:12:12 -05:00
apfitzge
4940d530b8
Add static vector to get sdk ids ( #25907 )
...
* Add function to get all sdk program ids
* program_ids: use lazy_static instead of a function
* program_ids -> sdk_ids
2022-06-13 13:07:18 -05:00
yihau
bc3fb7cec6
chore: sync bench timeout setting
2022-06-14 01:00:04 +08:00
apfitzge
3e1fd4dad0
snapshot_utils.rs: remove unnecessary sort ( #25893 )
2022-06-13 11:12:33 -05:00
apfitzge
04969a2282
serialize snapshots dir first ( #25889 )
2022-06-13 09:33:32 -05:00
samkim-crypto
930fe8ad10
Zk token ops using curve25519 syscalls ( #25935 )
...
* zk-token-sdk: use curve25519 syscalls for ElGamal arithmetic
* zk-token-sdk: clippy
* adjust curve25519 syscall costs
* cargo fmt
2022-06-13 22:39:07 +09:00
Jeff Washington (jwash)
3eff7648ff
collect rent from multiple partitions in parallel ( #25774 )
2022-06-13 07:53:49 -05:00
Michael Vines
b4237f3f2c
Do not exclude failed simple vote transactions from consensus
2022-06-12 22:11:23 -07:00
yihau
30828609dc
chore: sync stable-bpf timeout setting
2022-06-13 11:32:38 +08:00
Arrowana
11e6e4118b
fix to show loading while tx details are being fetched
2022-06-12 16:20:08 -07:00