dependabot[bot]
6810068e11
build(deps): bump serde_yaml from 0.9.31 to 0.9.32 ( #35231 )
...
* build(deps): bump serde_yaml from 0.9.31 to 0.9.32
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.31 to 0.9.32.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.31...0.9.32 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
2024-02-19 21:47:43 +08:00
dependabot[bot]
8397c5cd69
build(deps): bump semver from 1.0.21 to 1.0.22 ( #35232 )
...
* build(deps): bump semver from 1.0.21 to 1.0.22
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.21...1.0.22 )
---
updated-dependencies:
- dependency-name: semver
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>
2024-02-19 21:47:08 +08:00
dependabot[bot]
7f75cc3c3d
build(deps): bump anyhow from 1.0.79 to 1.0.80 ( #35230 )
...
* build(deps): bump anyhow from 1.0.79 to 1.0.80
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.80 )
---
updated-dependencies:
- dependency-name: anyhow
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>
2024-02-19 21:46:42 +08:00
dependabot[bot]
4b65cc8eef
build(deps): bump syn from 2.0.48 to 2.0.49 ( #35212 )
...
* build(deps): bump syn from 2.0.48 to 2.0.49
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.48 to 2.0.49.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.48...2.0.49 )
---
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>
2024-02-19 14:26:43 +08:00
Yueh-Hsuan Chiang
69345899f3
[TieredStorage] Make TieredStorage::write_accounts() thread-safe ( #35143 )
...
#### Problem
While accounts-db might not invoke appends_account twice
for the same AccountsFile, TieredStorage::write_accounts()
itself isn't thread-safe, and it depends on the above accounts-db
assumption.
#### Summary of Changes
This PR makes TieredStorage::write_accounts() thread-safe.
So only the first thread that successfully updates the already_written
flag can proceed and write the input accounts. All subsequent
calls to write_accounts() will be a no-op and return AttemptToUpdateReadOnly
Error.
2024-02-17 16:10:58 -08:00
sakridge
e4064023bf
Set COPYFILE_DISABLE for mac os so it doesn't generate ._ files ( #35213 )
2024-02-16 21:58:06 +01:00
Outrider
6fc8a6135d
Update README.md ( #35202 )
...
* Update README.md
grammar fixed
* Update docs/README.md
---------
Co-authored-by: Tyera <teulberg@gmail.com>
2024-02-16 13:19:14 -07:00
Joe C
78e187f220
bpf-loader-upgradeable: export `get_program_data_address` helper ( #35131 )
2024-02-16 21:00:50 +01:00
Andrew Fitzgerald
2a9ed3ee92
Remove ability to submit metrics with no fields ( #35133 )
2024-02-16 11:10:15 -08:00
Sergey Timoshin
d268139a0e
fix: correct typo in alt_bn128 function names. ( #35210 )
...
The typo in the function names convert_edianness_64 and convert_edianness_128 has been corrected to convert_endianness_64 and convert_endianness_128 respectively.
2024-02-16 19:59:15 +01:00
Tyera
9a69e3aa7a
ledger-tool: add warn log if capitalization changes during create-snapshot ( #35155 )
...
* Add warn log if capitalization changes during create-snapshot
* Add enable-capitalization-change flag
* Print capitalization message at end
2024-02-16 11:33:15 -07:00
sakridge
e21251090f
Remove spammy banking-stage retryable tx metric which is not needed ( #35207 )
...
Already covered by other metrics like the filtered retryable and the
number filtered.
2024-02-16 18:29:42 +01:00
Brooks
c5aaca43ab
Bring up to date the concurrent accounts benches ( #34815 )
2024-02-15 14:40:08 -05:00
Alexander Meißner
d472725a12
Cleanup - `disable_bpf_loader_instructions` ( #35164 )
...
* Cleans up disable_bpf_loader_instructions.
* fix test_program_sbf_disguised_as_sbf_loader
* remove bpf loader execute bench
* Revert "remove bpf loader execute bench"
This reverts commit f3042ee3e1d6e0208df7d7f80f61e14294f108a8.
* move test utility functions out of test file
* update bench to loader v3
* clippy
* fix dev-context build
* fix dev-context import
* dev-context-util
* move dev-context-util attr to module level for loader_utils
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-02-15 13:46:00 +01:00
0xF812
1c78ed6f3e
Fix: add missing required attribute to LOOKUP_TABLE_ADDRESS arg for get subcommand ( #35200 )
...
make LOOKUP_TABLE_ADDRESS arg required for address-lookup-table get subcommand
2024-02-14 17:39:39 -07:00
Alexander Meißner
1752202169
Refactor - Adds check that only loaded programs can be unloaded ( #35146 )
...
* Adds check that only loaded programs can be unloaded.
* Removes unused code.
* Adds test_unloaded().
2024-02-14 17:28:58 +01:00
Ryo Onodera
4b77ee5a1c
Report lost_insertions metrics correctly ( #35191 )
2024-02-14 21:27:52 +09:00
Alexander Meißner
716ad5441b
Refactor - `LoadedPrograms::replenish()` ( #35145 )
...
* Replace LoadedPrograms::replenish() with LoadedPrograms::assign_program().
* Removes LoadedPrograms::replenish().
* Defines replacement by having the same loaded program type.
* Implements a proper insertion sort with a two key comparison operator.
2024-02-14 12:13:53 +01:00
Justin Starry
2d09e4965e
clean feature: enable_bpf_loader_extend_program_ix ( #35194 )
2024-02-14 18:33:20 +08:00
steviez
897adb2711
Update the directory naming for incorrect shred version backup ( #35158 )
...
The directory is currently named with the expected_shred_version;
however, the backup contains shreds that do NOT match the
expected_shred_version. So, use the found (incorrect) shred version in
the name instead.
2024-02-13 09:42:05 -07:00
dependabot[bot]
bf1becb3a8
build(deps): bump indicatif from 0.17.7 to 0.17.8 ( #35178 )
...
* build(deps): bump indicatif from 0.17.7 to 0.17.8
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.7 to 0.17.8.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/commits )
---
updated-dependencies:
- dependency-name: indicatif
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>
2024-02-13 08:55:24 +00:00
dependabot[bot]
233f6d270d
build(deps): bump ahash from 0.8.7 to 0.8.8 ( #35177 )
...
* build(deps): bump ahash from 0.8.7 to 0.8.8
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.8.7 to 0.8.8.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/compare/0.8.7...v0.8.8 )
---
updated-dependencies:
- dependency-name: ahash
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>
2024-02-13 08:32:38 +00:00
dependabot[bot]
9cc1fa8d00
build(deps): bump either from 1.9.0 to 1.10.0 ( #35179 )
...
* build(deps): bump either from 1.9.0 to 1.10.0
Bumps [either](https://github.com/rayon-rs/either ) from 1.9.0 to 1.10.0.
- [Commits](https://github.com/rayon-rs/either/compare/1.9.0...1.10.0 )
---
updated-dependencies:
- dependency-name: either
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
---------
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>
2024-02-13 15:28:09 +08:00
dependabot[bot]
246a2c71be
build(deps): bump indexmap from 2.2.2 to 2.2.3 ( #35180 )
...
* build(deps): bump indexmap from 2.2.2 to 2.2.3
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.2 to 2.2.3.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.2...2.2.3 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2024-02-13 15:27:19 +08:00
dependabot[bot]
d1a0d3adb1
build(deps): bump thiserror from 1.0.56 to 1.0.57 ( #35181 )
...
* build(deps): bump thiserror from 1.0.56 to 1.0.57
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57 )
---
updated-dependencies:
- dependency-name: thiserror
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>
2024-02-13 15:26:58 +08:00
dependabot[bot]
07717c2043
build(deps): bump chrono from 0.4.33 to 0.4.34 ( #35176 )
...
* build(deps): bump chrono from 0.4.33 to 0.4.34
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.33 to 0.4.34.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.33...v0.4.34 )
---
updated-dependencies:
- dependency-name: chrono
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>
2024-02-13 15:26:33 +08:00
Yihau Chen
39b4aecc7d
chore: bump toml for programs/sbf from 0.5.8 to 0.5.11 ( #35159 )
2024-02-11 23:50:22 +08:00
dependabot[bot]
adb8c2ac86
build(deps): bump bytemuck from 1.14.2 to 1.14.3 ( #35161 )
...
* build(deps): bump bytemuck from 1.14.2 to 1.14.3
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.14.2 to 1.14.3.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.14.2...v1.14.3 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2024-02-11 23:45:05 +08:00
Bork Bork
f8d01df1db
chore(docs): proofreading ( #35172 )
...
* proofread
* proofread
2024-02-10 17:46:07 -07:00
Will Hickey
027c654772
Update SPL dependency versions for 2.0 bump ( #35156 )
...
* Update SPL dependency versions for 2.0 bump
* Update Cargo.lock
* Update token-2022 version to v2.0.1
* pin spl-instruction-padding 0.1.1 and spl-tlv-account-resolution 0.5.2
* pin programs/sbf spl-tlv-account-resolution 0.5.2
2024-02-09 20:57:15 -06:00
Yueh-Hsuan Chiang
cb61ce435e
[TieredStorage] Put commonly used test functions into test_utils.rs ( #35065 )
...
#### Problem
There're some test functions that have been used in different
mod in TieredStorage. It's better to have one same place for
all tiere-storage related test functions.
#### Summary of Changes
Created test_utils.rs under /tiered_storage and move test-related
functions into it.
#### Test Plan
Existing tests.
2024-02-09 16:35:40 -08:00
Brooks
b5e903d1d7
Refactors AccountsIndex::get() ( #35163 )
2024-02-09 18:26:51 -05:00
Nick Frostbutter
8f7fda8b9f
[docs] translation support ( #35166 )
...
* chore: update crowdin and add serve command
* feat: upload all desired files to crowdin
* fix: absolute urls for pdfs
* fix: do not import components with relative paths
* feat: updated readme
* fix: whitespace
2024-02-09 15:32:15 -05:00
Andrew Fitzgerald
1517d22ecc
Scheduler - prioritization fees/cost ( #34888 )
2024-02-09 08:51:21 -08:00
dependabot[bot]
864f29e938
build(deps): bump num-traits from 0.2.17 to 0.2.18 ( #35140 )
...
* build(deps): bump num-traits from 0.2.17 to 0.2.18
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.17 to 0.2.18.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.17...num-traits-0.2.18 )
---
updated-dependencies:
- dependency-name: num-traits
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>
2024-02-09 11:43:39 +08:00
dependabot[bot]
eec025fa10
build(deps): bump hidapi from 2.5.1 to 2.6.0 ( #35141 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/compare/v2.5.1...v2.6.0 )
---
updated-dependencies:
- dependency-name: hidapi
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>
2024-02-09 11:43:08 +08:00
dependabot[bot]
677e4c4575
build(deps): bump num-derive from 0.4.1 to 0.4.2 ( #35142 )
...
* build(deps): bump num-derive from 0.4.1 to 0.4.2
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.4.1 to 0.4.2.
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.4.1...num-derive-0.4.2 )
---
updated-dependencies:
- dependency-name: num-derive
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>
2024-02-09 11:42:11 +08:00
dependabot[bot]
90f639a89f
build(deps): bump serde_yaml from 0.9.30 to 0.9.31 ( #35034 )
...
* build(deps): bump serde_yaml from 0.9.30 to 0.9.31
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.30 to 0.9.31.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.30...0.9.31 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
2024-02-09 11:41:27 +08:00
Brooks
5df5ee5ccf
Upgrades Rust to 1.76.0 ( #35148 )
2024-02-09 03:19:56 +00:00
steviez
41f97d7d09
ledger-tool: Add additional modes for accounts subcommand ( #34925 )
...
- Add mode to output individual pubkeys
- Add mode to output program accounts
2024-02-08 20:43:11 -06:00
Dmitri Makarov
245d1c4087
SVM: Move TransactionCheckResult definition from accounts-db to SVM ( #35153 )
2024-02-08 21:13:00 -05:00
behzad nouri
0cfb06f745
adds rollout path for chained Merkle shreds ( #35076 )
...
The commit adds should_chain_merkle_shreds to incrementally roll out
chained Merkle shreds to clusters.
2024-02-08 23:06:00 +00:00
Dmitri Makarov
eeb0cf1ea8
SVM: Move nonce_info from accounts-db to Solana SDK ( #35138 )
2024-02-08 15:01:15 -05:00
Pankaj Garg
9b63ac8d7a
SVM: Remove dependency on MatchAccountOwnerError ( #35144 )
2024-02-08 15:32:19 +00:00
Pankaj Garg
28a320d815
SVM: Move `RentCollector` to sdk ( #35122 )
2024-02-07 16:38:42 -08:00
Dmitri Makarov
b9ee3b475b
SVM: Move RentDebits from accounts-db to Solana SDK ( #35135 )
2024-02-07 15:10:17 -08:00
behzad nouri
1b9dfd447e
chains Merkle shreds in broadcast duplicates ( #35058 )
...
The commit migrates
turbine/src/broadcast_stage/broadcast_duplicates_run.rs
to use chained Merkle shreds variant.
2024-02-07 22:14:31 +00:00
Joe C
3ddd2352a1
sdk: add `Immutable` and `IncorrectAuthority` to `ProgramError` ( #35113 )
2024-02-07 15:35:29 -06:00
Yihau Chen
bc735fad3e
chore: bump toml from 0.8.8 to 0.8.10 ( #35126 )
2024-02-07 19:04:16 +00:00
dependabot[bot]
7c59786f10
build(deps): bump indexmap from 2.1.0 to 2.2.2 ( #35125 )
...
* build(deps): bump indexmap from 2.1.0 to 2.2.2
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.1.0 to 2.2.2.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.1.0...2.2.2 )
---
updated-dependencies:
- dependency-name: indexmap
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
* call swap_remove_entry directly
---------
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>
Co-authored-by: yihau <yihau.chen@icloud.com>
2024-02-07 19:02:20 +00:00