Tyera
031125cfcf
changelog: add getSignaturesForAddress ordering ( #34510 )
...
Add getSignaturesForAddress ordering to changelog
2023-12-18 13:23:32 -07:00
dependabot[bot]
65e10ae232
build(deps): bump libc from 0.2.150 to 0.2.151 ( #34398 )
...
* build(deps): bump libc from 0.2.150 to 0.2.151
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.150 to 0.2.151.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.150...0.2.151 )
---
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>
2023-12-18 18:45:59 +00:00
HaoranYi
1ac017c409
rekey stake limit feature ( #34503 )
...
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-12-18 11:11:17 -06:00
dependabot[bot]
5ecabfa3b4
build(deps): bump crossbeam-channel from 0.5.8 to 0.5.9 ( #34458 )
...
* build(deps): bump crossbeam-channel from 0.5.8 to 0.5.9
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.8 to 0.5.9.
- [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.8...crossbeam-channel-0.5.9 )
---
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>
2023-12-18 09:58:02 -07:00
dependabot[bot]
9f2b658495
build(deps): bump stream-cancel from 0.8.1 to 0.8.2 ( #34500 )
...
* build(deps): bump stream-cancel from 0.8.1 to 0.8.2
Bumps [stream-cancel](https://github.com/jonhoo/stream-cancel ) from 0.8.1 to 0.8.2.
- [Commits](https://github.com/jonhoo/stream-cancel/compare/v0.8.1...v0.8.2 )
---
updated-dependencies:
- dependency-name: stream-cancel
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-12-18 09:57:06 -07:00
dependabot[bot]
a1032ef42e
build(deps): bump zerocopy from 0.7.15 to 0.7.31 ( #34477 )
...
* build(deps): bump zerocopy from 0.7.15 to 0.7.31
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.15 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.15...v0.7.31 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
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-12-18 09:45:33 -07:00
Alexander Meißner
22bfcd92e0
Feature - Cooperative Program Loading ( #34407 )
...
* Disables verification-less reloading.
* Refactors LoadedPrograms::extract() to use a mutable parameter instead of returning the list of missing entries.
* Refactors LoadedPrograms::extract() to use a mutable parameter instead of returning a LoadedProgramsForTxBatch.
* Adds explicit SecondLevel structure to LoadedPrograms.
* Adds cooperative_loading_task.
* Implements cooperative loading in the bank.
* Fixes fork graph in tests.
* Adds LoadingTaskWaiter.
* Environment mismatch needs to just skip the entry.
2023-12-18 16:24:50 +01:00
Brooks
4181ea4677
Removes unnecessary AccountsDb::new_with_config_for_benches() ( #34484 )
2023-12-18 06:52:41 -05:00
Brooks
cbe8a02029
Removes unnecessary AccountsDb::new_with_config_for_tests() ( #34485 )
2023-12-18 00:46:46 -05:00
dependabot[bot]
1015488c00
build(deps): bump syn from 2.0.40 to 2.0.41 ( #34480 )
...
* build(deps): bump syn from 2.0.40 to 2.0.41
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.40 to 2.0.41.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.40...2.0.41 )
---
updated-dependencies:
- dependency-name: syn
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-12-18 10:49:56 +08:00
Joe C
171c58c5c0
RPC: Add inner instructions to simulate transaction response ( #34313 )
...
* rpc: add optional `innerInstructions: bool` arg to `simulateTransaction`
* bank: enable cpi recording in simulate
* sdk: move `InnerInstructions` into SDK from accounts DB
* bank: return inner instructions from simulate tx
* rpc: return inner instructions from simulate tx
* rpc: simulate tx: add `jsonParsed` support for inner instructions
* accounts db: add deprecated attribute to re-exported inner instructions
* rpc: de-dupe inner instruction mapping
* update deprecated comment
Co-authored-by: Tyera <teulberg@gmail.com>
---------
Co-authored-by: Tyera <teulberg@gmail.com>
2023-12-16 12:49:22 +00:00
Illia Bobyr
1f2b72b6e3
[docs] Remove trailing whitespace ( #34493 )
...
Our sanity CI check is unhappy about it.
These were added in
commit 676e80c80a
Author: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
Date: Mon Dec 11 15:17:13 2023 -0500
[docs] docs migration (https://github.com/solana-labs/solana/pull/34096 )
Seems like CI marked the original change as having an issue, but it was
still submitted.
2023-12-16 00:34:05 -08:00
Tao Zhu
310c7a4f9d
add requested limits to static meta ( #34361 )
...
* add requested limits to static meta
* rebase to catch up on compue_budget_processor no longer needs feature_set; update requested limits as flat fields of static meta without expiry
2023-12-15 18:39:19 -06:00
Tao Zhu
86c88d7ff6
Remove feature set from compute budget processor ( #34472 )
...
remove feature_set from compute_budget_processor
2023-12-15 15:01:02 -06:00
Tao Zhu
7360f48eb5
remove unnecessary wrapper function ( #34428 )
...
* remove unnecessary wrapper function
* add test to FeeStructure
2023-12-15 14:56:19 -06:00
Tao Zhu
f214a8220f
cleanup feature code after mainnet-beta activation ( #34208 )
...
* cleanup feature code after mainnet-beta activation
* rebase then cleanup references to activated feature
2023-12-15 13:14:51 -06:00
Tyera
74d02acafd
ledger-tool: Use OutputFormat printer in program subcommand ( #34475 )
...
Use OutputFormat printer
2023-12-15 10:38:44 -07:00
steviez
eaec42280a
ledger-tool: Disable os memory reporting on verify command by default ( #34469 )
...
Negate the name of the arg and change the meaning such that it is now
set-to-enable instead of set-to-disable
2023-12-15 09:52:38 -06:00
Tyera
a58e462403
Remove ledger-tool-specific output format enum ( #34473 )
2023-12-14 23:23:37 -07:00
Brooks
45eaa4c1a6
Removes unnecessary Accounts constructors ( #34471 )
2023-12-14 22:50:15 -05:00
samkim-crypto
aaccbdd0ae
[zk-token-sdk] Fix range proof transcript seed typo ( #34468 )
...
fix range proof transcript seed typo
2023-12-14 13:37:12 -08:00
Brooks
e79c09bdc4
Refactors Accounts constructors ( #34466 )
2023-12-14 16:36:47 -05:00
Tyera
36c1bbfe12
Fix ledger-tool bigtable compare blocks ( #34373 )
...
* Return early if reference set is empty
* Remove unreachable case
* Update reference_last_block
* Limit reference set by last_block_checked
* Return superflous-block data too
* Sort missing/superfluous blocks
* Fix tests
* Move last_block_checked calculation into missing_blocks()
* Prevent missing_slots panic
* Fix test
2023-12-14 14:32:17 -07:00
HaoranYi
e472400d6e
fix typo in variable name and error messages ( #34463 )
...
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-12-14 15:29:02 -06:00
Tyera
b0c54d3d61
Clean up prevent_rent_paying_rent_recipients feature ( #34418 )
...
Clean up Fab5 feature
2023-12-14 13:12:57 -07:00
Ashwin Sekar
4f1116164c
local-cluster: fix flaky test_rpc_block_subscribe ( #34421 )
...
* local-cluster: fix flaky test_rpc_block_subscribe
* reenable test
* pr feedback: add comment linking pr
2023-12-14 14:50:48 -05:00
Brooks
c7a57672d7
Adds read/write/get_pod() fns to tiered storage ( #34415 )
2023-12-14 13:25:25 -05:00
Yihau Chen
5b1aa63184
remove unused imports ( #34467 )
2023-12-15 02:12:03 +08:00
Brooks
d1cfd26abb
Refactors AccountsDb constructors ( #34456 )
2023-12-14 12:34:15 -05:00
Tao Zhu
69706be3d5
cleanup feature code after activated everywhere ( #34359 )
2023-12-14 11:26:33 -06:00
Tyera
e6e191f843
CI: add check for explicit spl-token-cli version ( #34430 )
...
* Add script to specify spl-token-cli version
* Add check for spl-token-cli version to CI
* Add minor release branch cleanup instruction to unblock CI on the new stable branch
---------
Co-authored-by: Will Hickey <will.hickey@solana.com>
2023-12-14 10:18:34 -07:00
steviez
ae6a4c0995
Only allow BankForks creation with single bank ( #34449 )
...
BankForks has two constructors; one that takes a single Bank (the root)
and one that can take an arbitrary number of Banks plus the root slot.
However, the constructor that accepts multiple banks is unnecessary; it
isn't used in production and is only used in several tests.
So, remove the multi-bank constructor and update unit tests.
2023-12-14 10:53:11 -06:00
joao
0a3a0165ad
Documentation Improvements: Typos and Grammar Fixes ( #34461 )
...
* fix typo: Change 'store it the recipient address' to 'store it in the recipient address'
* fix grammar in documentation: Remove 'of' from 'Both of docker images' and add 'is' to 'This image manually maintained'
* fix duplicate word in 'Voting Algorithm' section
2023-12-14 16:44:30 +00:00
norwnd
0be3b6e3ba
cli: program upgrade with offline signing (--sign-only mode) ( #33860 )
...
* cli: program upgrade with offline signing (--sign-only mode)
* ditch universal NullSigner approach as overly complex
* rearrange some code to make it more coherent, fix typos
* apply clippy suggestions to simplify code
* review pass
* adjust brokens (due to rebase onto refactored structures) doc links
* fix linter complaint in doc formatting
* remove rebase artifacts
---------
Co-authored-by: norwnd <norwnd>
2023-12-14 15:21:17 +01:00
Pankaj Garg
47dab26857
Set root slot/epoch in cache constructor ( #34447 )
2023-12-14 11:49:36 +01:00
steviez
fe7970ce46
Remove redundant code from Bank::wrap_with_bank_forks_for_tests() ( #34448 )
...
The same initialization occurs when the Bank is inserted into a new
BankForks, so no need to duplicate the logic in this test function
2023-12-13 19:43:02 -06:00
Jon Cinque
d36b211120
bank: Add errored compute units during simulation ( #34450 )
2023-12-14 01:35:55 +01:00
Andrew Fitzgerald
88b25854e6
Unhide --block-production-method ( #34416 )
2023-12-13 13:10:58 -08:00
steviez
2a67fa8d13
ledger-tool: Condense repeated error handling ( #34439 )
...
Several commands call load_and_process_ledger() which can fail in a
number of ways. These callers currently all handle the result in the
same way by matching the return Result:
- The Ok(_) case uses the returned types as normal
- The Err(_) case prints an error message and exits
This error handling is redundant, and a helper could remove the
duplicate code. So, this PR adds a wrapper around that checks the
result and unwraps OR prints error messages and exits.
2023-12-13 14:50:20 -06:00
Brooks
0b6d939e21
Removes epoch_accounts_hash featurization ( #34417 )
2023-12-13 15:30:39 -05:00
Tao Zhu
2dfcdce630
cleanup feature code after mainnet-beta activation of DdLwVYuvDz26JohmgSbA7mjpJFgX5zP2dkp8qsF2C33V ( #34089 )
...
cleanup feature code after mainnet-beta activation
2023-12-13 13:07:51 -06:00
Brooks
501458a7da
changelog: Adds --use-snapshot-archives-at-startup to v1.17.0 ( #34401 )
2023-12-13 10:39:48 -05:00
steviez
48046b61fb
ledger-tool: Bubble up error enum instead of eprintln!() and exit() ( #34426 )
...
load_and_process_ledger() performs many checks and sub-operations that
can fail. The current error handling prints an error message and exits
immediately. The long error/help messages written inline add clutter
to the functions actual implementation.
This PR creates a new error enum for all of these previous error
conditions, and bubbles up the error to let the caller decide what to
do instead of exiting immediately.
2023-12-13 09:33:54 -06:00
Tao Zhu
d836cf175e
cleanup feature code after activated everywhere ( #34408 )
2023-12-13 09:15:29 -06:00
dependabot[bot]
a04ab94dac
build(deps): bump aquamarine from 0.3.2 to 0.3.3 ( #34437 )
...
* build(deps): bump aquamarine from 0.3.2 to 0.3.3
Bumps [aquamarine](https://github.com/mersinvald/aquamarine ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/mersinvald/aquamarine/releases )
- [Changelog](https://github.com/mersinvald/aquamarine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mersinvald/aquamarine/commits )
---
updated-dependencies:
- dependency-name: aquamarine
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-12-13 11:40:23 +00:00
dependabot[bot]
ca02ad7ef2
build(deps): bump rustls from 0.21.9 to 0.21.10 ( #34400 )
...
* build(deps): bump rustls from 0.21.9 to 0.21.10
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.9 to 0.21.10.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.9...v/0.21.10 )
---
updated-dependencies:
- dependency-name: rustls
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-12-13 19:34:24 +08:00
dependabot[bot]
347228253b
build(deps): bump syn from 2.0.39 to 2.0.40 ( #34399 )
...
* build(deps): bump syn from 2.0.39 to 2.0.40
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.39 to 2.0.40.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.39...2.0.40 )
---
updated-dependencies:
- dependency-name: syn
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-12-13 19:34:00 +08:00
Tyera
aaa48ec8db
Patch tokio to vendored version ( #34240 )
...
* Patch tokio to vendored version
* Fix typo
2023-12-13 00:16:10 -07:00
behzad nouri
750023530c
makes last erasure batch size >= 64 shreds ( #34330 )
2023-12-13 06:48:00 +00:00
steviez
70cab76495
Remove deletion of TransactionStatusIndex entries ( #34023 )
...
These entries are legacy code at this point; however, older release
branches require these entries to be present. Also, while it would be
nice to clean up these entries immediately, they only occupy a small
amount of space so having them linger a little longer isn't a big deal.
2023-12-12 22:53:51 -06:00