Jeff Washington (jwash)
d6a54e0f4d
add partitioned_rewards.rs ( #31794 )
2023-05-24 09:59:38 -07:00
Alexander Meißner
a85548cf34
Cleanup - spl_token_v3_4_0 and spl_associated_token_account_v1_1_0 ( #31764 )
...
* spl_token_v3_4_0
* spl_associated_token_account_v1_1_0
* Marks replace_program_account() as dead code.
2023-05-24 18:45:37 +02:00
Pankaj Garg
595eb31277
Set deployment slot for non-upgradeable programs ( #31792 )
...
* Set deployment slot for non-upgradeable programs
* fix sbf programs test
2023-05-24 16:15:47 +00:00
Alexander Meißner
691b12c693
Cleanup - merge_nonce_error_into_system_error ( #31773 )
...
* merge_nonce_error_into_system_error
* more cleanup
---------
Co-authored-by: Trent Nelson <trent@solana.com>
2023-05-24 18:05:07 +02:00
dependabot[bot]
4d19f1d019
Bump proptest from 1.1.0 to 1.2.0 ( #31783 )
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 09:10:16 -06:00
Raza
5077d58b73
docs: Add Windows installation instructions ( #31774 )
2023-05-24 08:42:13 -05:00
Alexander Meißner
69ca9d4617
Cleanup - limit_secp256k1_recovery_id ( #31772 )
...
limit_secp256k1_recovery_id
2023-05-24 09:22:57 +02:00
Alexander Meißner
5823ef1959
Cleanup - check_syscall_outputs_do_not_overlap ( #31771 )
...
check_syscall_outputs_do_not_overlap
2023-05-24 09:22:42 +02:00
Yihau Chen
239a7ba759
ci: refactor local cluster tests ( #31730 )
...
* ci: separate local cluster tests by nextest
* parallelism => 6
* Revert "parallelism => 6"
This reverts commit 5c271357fee8aa8ae812ee67e285d72ebb9bec10.
2023-05-24 15:07:33 +08:00
steviez
03e0a9e106
Fixed typo: worskapce ==> workspace ( #31790 )
2023-05-24 05:27:46 +00:00
Jeff Washington (jwash)
e396a10312
change StartBlockHeightAndRewards from parent to current ( #31781 )
2023-05-23 20:10:51 -07:00
Jeff Washington (jwash)
ae12079139
add debug to VoteReward ( #31782 )
2023-05-23 20:10:20 -07:00
Tyera
4c4f7905b1
Send messages to EntryNotifierService from blockstore_processor ( #31305 )
...
* Rename variable to disabiguate tx indexes from entry indexes
* Send entry notifications from blockstore_processor
* Escalate log for send failure to WARN
2023-05-23 19:48:41 -06:00
samkim-crypto
fa4c6aa015
[zk-token-sdk] Update random `AeKey` generation to use `OsRng` internally ( #31786 )
...
update random `AeKey` generation to use `OsRng` internally
2023-05-24 09:53:22 +09:00
samkim-crypto
19a202873b
[zk-token-sdk] Generalize encryption key derivation from signers ( #31784 )
...
* generalize ElGamal keypair derivation from signer
* generalize AeKey derivation from signer
* add `tiny-bip39` as a dev dependency for tests
2023-05-24 09:52:59 +09:00
Jeff Washington (jwash)
8e8b2f1671
reformat comments ( #31780 )
2023-05-23 17:04:47 -07:00
Andrew Fitzgerald
f52ded35f4
async delete contents but leave directory ( #31737 )
...
* async delete contents but leave directory
* Clarified comment
2023-05-23 15:33:09 -07:00
samkim-crypto
daebea0f33
[zk-keygen] Add `pubkey` and `recover` commands ( #31740 )
...
* add `pubkey` command
* add `recover` command
* add simple sanity tests for `pubkey` command
* remove short opt for `force`
* implement `FromStr` for `KeyType`
* increase scope for keypair name
* remove `--outfile` option for `pubkey` command
* make `--type` opt into a positional argument
* cargo sort
2023-05-24 07:22:53 +09:00
Brooks
05c932f92d
Moves transient accounts hash cache files into their own dir ( #31778 )
2023-05-23 22:14:30 +00:00
Yueh-Hsuan Chiang
174951478f
Add new error type -- TieredStorageError ( #31633 )
...
#### Summary of Changes
This PR adds a new error type for the tiered storage.
2023-05-23 15:06:55 -07:00
Brooks
a474cb24b9
Creates temporary accounts hash cache files inside accounts hash cache dir ( #31776 )
2023-05-23 17:09:16 -04:00
carllin
a3fc622550
Update consensus docs ( #31588 )
2023-05-23 16:32:21 -04:00
Alexander Meißner
f6ebd8218d
Cleanup - reject_vote_account_close_unless_zero_credit_epoch ( #31761 )
...
reject_vote_account_close_unless_zero_credit_epoch
2023-05-23 20:16:13 +02:00
Andrew Fitzgerald
91a57039d0
Remove unneccssary code ( #31734 )
2023-05-23 10:35:22 -07:00
Brooks
61afb07dbd
Purges old bank snapshots at startup ( #31656 )
...
Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2023-05-23 13:18:05 -04:00
Andrew Fitzgerald
5448d0b1e8
Remove redundant clones ( #31685 )
...
* broadcast_stage remove redundant clone
* broadcast_fake_shreds_run remove redundant clone
* wallet remove redundant clone
* cluster_query remove redundant clone
* accounts remove redundant clones
2023-05-23 09:42:05 -07:00
Andrew Fitzgerald
02ac8a46d6
set_bank takes owned Arc<Bank> ( #31717 )
2023-05-23 09:41:27 -07:00
Alexander Meißner
1e8e024ec5
Cleanup - disable_fee_calculator ( #31766 )
...
disable_fee_calculator
2023-05-23 18:20:38 +02:00
Alexander Meißner
28738c3730
Cleanup - vote_withdraw_authority_may_change_authorized_voter ( #31758 )
...
vote_withdraw_authority_may_change_authorized_voter
2023-05-23 09:20:29 -07:00
dependabot[bot]
996ddf602b
Bump ctrlc from 3.3.0 to 3.3.1 ( #31757 )
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/commits )
---
updated-dependencies:
- dependency-name: ctrlc
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>
2023-05-23 10:19:23 -06:00
Alexander Meißner
e9d99973ca
Cleanup - bank_transaction_count_fix ( #31768 )
...
bank_transaction_count_fix
2023-05-23 18:18:15 +02:00
Brooks
8da91d8670
Test must flush accounts cache before calculating accounts hash from storages ( #31752 )
2023-05-23 09:39:20 -04:00
Alexander Meißner
d866fce3d8
Cleanup - include_account_index_in_rent_error ( #31770 )
...
include_account_index_in_rent_error
2023-05-23 15:02:55 +02:00
Alexander Meißner
183e7fd60f
Cleanup - instructions_sysvar_owned_by_sysvar ( #31769 )
...
instructions_sysvar_owned_by_sysvar
2023-05-23 15:02:35 +02:00
Sean Young
7ad43f5653
Update Solang Solidity compiler to v0.3.0 ( #31756 )
2023-05-23 12:58:02 +01:00
Yueh-Hsuan Chiang
d9d2120d32
Make reconstruct_single_storage() returns SnapshotError ( #31748 )
...
#### Problem
The return error type -- io::Error used in reconstruct_single_storage()
isn't suitable to describe all possible errors inside the function such as
AccountsFileError.
#### Summary of Changes
This PR makes it return SnapshotError which can better handle
both AccountsFileError and io::Error.
2023-05-23 02:18:23 -07:00
dependabot[bot]
7ef4b776ea
Bump regex from 1.8.1 to 1.8.2 ( #31754 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](rust-lang/regex@1.8.1...1.8.2)
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-23 00:32:59 -07:00
dependabot[bot]
558447f825
Bump ctrlc from 3.2.5 to 3.3.0 ( #31739 )
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.2.5 to 3.3.0.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](Detegr/rust-ctrlc@3.2.5...3.3.0)
---
updated-dependencies:
- dependency-name: ctrlc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-22 22:04:47 -07:00
dependabot[bot]
6cb2505dc8
Bump digest from 0.10.6 to 0.10.7 ( #31733 )
...
Bumps [digest](https://github.com/RustCrypto/traits ) from 0.10.6 to 0.10.7.
- [Commits](RustCrypto/traits@digest-v0.10.6...digest-v0.10.7)
---
updated-dependencies:
- dependency-name: digest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-22 20:45:05 -07:00
Yueh-Hsuan Chiang
586fd407bf
Refactor SnapshotError related code ( #31632 )
...
#### Problem
Part of the snapshot-related code uses io::Error while other parts use SnapshotError.
#### Summary of Changes
As SnapshotError can be created from io::Error, this PR makes snapshot-related
code to use SnapshotError instead.
2023-05-22 15:33:11 -07:00
Yueh-Hsuan Chiang
c79a6e74e2
Add new error type AccountsFileError ( #31631 )
...
#### Problem
AccountsFile- and AppendVec-related code uses io::Error for their main error type. However, there're many errors under AccountsFile that don't belong to io::Error.
#### Summary of Changes
This PR introduces AccountsFileError and makes minimum changes to keep the PR small.
Subsequent changes related to this will be in separate PRs.
2023-05-22 14:09:09 -07:00
vadorovsky
bea062b1e6
Add alt_bn128 syscall tests (and fix related issues) ( #31436 )
...
* Fix C headers (the name of the syscall was incorrect).
* Add C SBF tests using the alt_bn128 syscall.
* Fix the Rust SBF program:
* Do not use serde and array-bytes, provide test cases as byte arrays
directly.
* Use the `custom_heap_default` macro.
* Replace `bpf` with `sbf` in the crate name.
* Execute both previously existing Rust tests and new C tests in
`programs/sbf/tests`, so they are actually tested on CI.
2023-05-22 14:05:10 -07:00
Steven Luscher
bc4d53c7ff
fix: `addressTableLookups` no longer serialized unless version set ( #31729 )
2023-05-22 10:29:18 -07:00
Lijun Wang
917f3d2586
Use unwrap_or_else for efficiency ( #31747 )
...
Use unwrap_or_else for efficiency.
2023-05-22 09:58:24 -07:00
dependabot[bot]
2549bff59c
Bump base64 from 0.21.0 to 0.21.1 ( #31744 )
...
* Bump base64 from 0.21.0 to 0.21.1
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.0 to 0.21.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/commits )
---
updated-dependencies:
- dependency-name: base64
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>
2023-05-22 10:33:21 -06:00
dependabot[bot]
3b876ea816
Bump hidapi from 2.3.2 to 2.3.3 ( #31742 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
---
updated-dependencies:
- dependency-name: hidapi
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>
2023-05-22 10:17:28 -06:00
dependabot[bot]
f4b8975ac7
Bump console from 0.15.6 to 0.15.7 ( #31745 )
...
* Bump console from 0.15.6 to 0.15.7
Bumps [console](https://github.com/console-rs/console ) from 0.15.6 to 0.15.7.
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/console-rs/console/compare/0.15.6...0.15.7 )
---
updated-dependencies:
- dependency-name: console
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>
2023-05-22 10:16:20 -06:00
Pankaj Garg
29904bb06b
More metrics for LoadedPrograms cache ( #31735 )
2023-05-22 07:53:54 -07:00
ripatel-jump
adbabe2c34
rbpf-cli: fix deprecation notice ( #31743 )
...
Co-authored-by: Richard Patel <ripatel@jumptrading.com>
2023-05-22 04:47:05 -05:00
samkim-crypto
065a81e560
[zk-keygen] import `SeedDerivable` trait ( #31738 )
...
import `SeedDerivable` trait
2023-05-21 21:33:23 +09:00