dependabot[bot]
abb1f2301d
build(deps): bump sha2 from 0.10.7 to 0.10.8 ( #33422 )
...
* build(deps): bump sha2 from 0.10.7 to 0.10.8
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.7 to 0.10.8.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.7...sha2-v0.10.8 )
---
updated-dependencies:
- dependency-name: sha2
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-10-05 14:05:26 +00:00
dependabot[bot]
feeff68fd6
build(deps): bump rayon from 1.7.0 to 1.8.0 ( #33346 )
...
* build(deps): bump rayon from 1.7.0 to 1.8.0
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.7.0 to 1.8.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0 )
---
updated-dependencies:
- dependency-name: rayon
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>
2023-10-05 12:55:05 +00:00
Brooks
daaeb7410e
Adds solana-nohash-hasher ( #33521 )
2023-10-04 15:56:39 +00:00
Ashwin Sekar
d4941cc420
initialize with new VoteState for tests ( #33518 )
2023-10-04 08:47:47 -07:00
Yihau Chen
c9d04bcfe6
chore(solana-frozen-abi): remove unused deps ( #33436 )
...
* chore: remove unused deps
* ci: increase regression of build redundancy
2023-10-04 12:00:25 +08:00
Will Hickey
c6ee69e0dc
Update version to v1.18.0 ( #33487 )
2023-10-03 10:20:24 -05:00
dependabot[bot]
3508b7d84e
build(deps): bump regex from 1.9.5 to 1.9.6 ( #33481 )
...
* build(deps): bump regex from 1.9.5 to 1.9.6
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.5 to 1.9.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.5...1.9.6 )
---
updated-dependencies:
- dependency-name: regex
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-10-02 10:47:51 +00:00
Jon Cinque
de38b05ad1
spl: Bump token-2022 and friends ( #33453 )
...
* token: Update to 4.0.0
* token-2022: Bump and support new account and instruction types
* Update token-2022 in fetch_spl / program-test
* Fixup downstream uses
* Mint and destination were flipped in 0.9.0
* Don't use `convert_pubkey`
* Bump spl dependencies to versions which avoid recompilations
2023-09-29 19:12:06 +02:00
dependabot[bot]
fa168e3cd1
build(deps): bump indexmap from 2.0.0 to 2.0.1 ( #33439 )
...
* build(deps): bump indexmap from 2.0.0 to 2.0.1
Bumps [indexmap](https://github.com/bluss/indexmap ) from 2.0.0 to 2.0.1.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/commits )
---
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>
2023-09-28 09:13:52 +00:00
Yihau Chen
3608378097
chore(solana-accounts-db): remove unused deps ( #33429 )
2023-09-27 16:27:40 +00:00
Yihau Chen
ca92e9c387
chore(solana-accounts-db): remove unused deps ( #33420 )
2023-09-27 11:02:05 +00:00
dependabot[bot]
634eede841
build(deps): bump thiserror from 1.0.48 to 1.0.49 ( #33423 )
...
* build(deps): bump thiserror from 1.0.48 to 1.0.49
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
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>
2023-09-27 09:45:14 +00:00
dependabot[bot]
177fd08707
build(deps): bump blake3 from 1.4.1 to 1.5.0 ( #33368 )
...
* build(deps): bump blake3 from 1.4.1 to 1.5.0
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.4.1...1.5.0 )
---
updated-dependencies:
- dependency-name: blake3
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>
2023-09-26 19:52:49 -06:00
Alexander Meißner
01c71e7555
Reloads deployments with `environments.program_runtime_v1` ( #33412 )
...
Reloads deployments with environments.program_runtime_v1.
2023-09-26 20:43:41 +02:00
Pankaj Garg
4488cc241f
Cleanup cargo deps in vote crate ( #33407 )
2023-09-26 08:26:51 -07:00
dependabot[bot]
426a47dba2
build(deps): bump tokio-tungstenite from 0.20.0 to 0.20.1 ( #33410 )
...
* build(deps): bump tokio-tungstenite from 0.20.0 to 0.20.1
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite ) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tokio-tungstenite/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: tokio-tungstenite
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-09-26 09:12:33 +00:00
dependabot[bot]
b5c466d2c8
build(deps): bump indicatif from 0.17.6 to 0.17.7 ( #33369 )
...
* build(deps): bump indicatif from 0.17.6 to 0.17.7
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.6 to 0.17.7.
- [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>
2023-09-26 03:12:39 +00:00
dependabot[bot]
7c03958ba1
build(deps): bump tungstenite from 0.20.0 to 0.20.1 ( #33405 )
...
* build(deps): bump tungstenite from 0.20.0 to 0.20.1
Bumps [tungstenite](https://github.com/snapview/tungstenite-rs ) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tungstenite-rs/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: tungstenite
dependency-type: direct:production
...
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-09-26 03:11:18 +00:00
Lijun Wang
344e466e12
Async connection creation in connection cache ( #33302 )
...
If there is a connection in the cache available, use it and create the additional connection asynchronously.
2023-09-25 18:17:47 -07:00
HaoranYi
d25d53e979
Fix bug of same-epoch stake deactivation after stake redelegation ( #32606 )
...
* fix stake deactivation in the same epoch after redelegation bug
add tests
refactor common code into fn
avoid early return
add feature gate for the new stake redelegate behavior
move stake tests out of cli
add stake-program-test crate
reimplemnt stake test with program-test
remove stake-program-test crate
reviews
add setup.rs
remove clippy
reveiws
* reviews
* review comments
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-09-25 16:35:40 -05:00
Tao Zhu
57e78a16dc
heap_size type to be consistent with request instruction ( #33354 )
...
* heap_size type to be consistent with request instruction
* update tests
2023-09-25 13:11:26 -05:00
dependabot[bot]
d9a113baa2
build(deps): bump semver from 1.0.18 to 1.0.19 ( #33389 )
...
* build(deps): bump semver from 1.0.18 to 1.0.19
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.18...1.0.19 )
---
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>
2023-09-25 16:15:21 +00:00
Alexander Meißner
7ff797bcef
Refactor - Remove parameter `feature_set` from `load_program_from_bytes()` ( #33395 )
...
Replaces parameter feature_set with delay_visibility_of_program_deployment in load_program_from_bytes().
2023-09-25 17:16:31 +02:00
Alexander Meißner
def8b8fc62
Bump solana_rbpf to v0.7.2 ( #33394 )
2023-09-25 17:03:45 +02:00
ananas-block
997aa0a3f8
Feat(syscall): add altbn128 g1 & g2 compression ( #32870 )
...
* solana-program - altbn128: add g1 & g2 compression
still fixing tests for point of infinity
feat: proof compression syscall working
add rust test to ci
remove prints
added c test
added sycall pricing
* fixed ci checks
* refactored altbn128 and compression
2023-09-25 05:43:34 -07:00
Jeff Washington (jwash)
d2464d9d7c
use bytemuck for disk bucket restart ( #33371 )
2023-09-22 10:17:04 -07:00
dependabot[bot]
cd9b2cc20b
build(deps): bump quinn-proto from 0.10.4 to 0.10.5 ( #33345 )
...
* build(deps): bump quinn-proto from 0.10.4 to 0.10.5
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/commits )
---
updated-dependencies:
- dependency-name: quinn-proto
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-09-21 23:17:58 +08:00
Tao Zhu
a2ad820309
compute_budget heap_size does not have to be optional ( #33313 )
2023-09-21 09:24:47 -05:00
Tyera
bca41edf20
Make active stake consistent in split ( #33295 )
...
* Add feature gate
* Add helper fn
* Require split destination to be rent-exempt if it is active
* Update cli to prefund split accounts
* cli: require rent param with sign-only
* Update tokens to prefund split accounts
* Update split tests with sysvar accounts
* Fix test_split_to_account_with_rent_exempt_reserve
* Fix test_staked_split_destination_minimum_balance
* Fix test_split_more_than_staked
* Fix test_split_minimum_stake_delegation and remove misleading StakeState::Initialized case
* Fix test_split_from_larger_sized_account
* Add test for pre-/post-activation behavior splitting some or all of stake account
* Assert active stake
* Fix runtime test
* Ignore stake-pool downstream
* Review comments
* Feature gate sysvar reads
2023-09-20 06:00:51 +00:00
Pankaj Garg
f50342a790
Split vote related code from runtime to its own crate ( #32882 )
...
* Move vote related code to its own crate
* Update imports in code and tests
* update programs/sbf/Cargo.lock
* fix check errors
* update abi_digest
* rebase fixes
* fixes after rebase
2023-09-19 10:46:37 -07:00
Kevin Heavey
92ab3827fd
program: move array-bytes to dev-dependencies ( #33277 )
...
* program: move array-bytes to dev-dependencies
* run cargo-for-all-lock-files.sh tree
2023-09-19 09:07:35 -07:00
Tao Zhu
8b8a21a52f
cleanup feature: enable request heap frame instruction #30076 ( #33243 )
...
* cleanup feature: enable request heap frame instruction #30076
* update sbf tests
* removed out dated comments and test
2023-09-18 16:06:24 -05:00
dependabot[bot]
f20466d278
build(deps): bump syn from 2.0.33 to 2.0.37 ( #33286 )
...
* build(deps): bump syn from 2.0.33 to 2.0.37
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.33 to 2.0.37.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.33...2.0.37 )
---
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-09-18 12:55:15 +00:00
dependabot[bot]
694e7b9456
build(deps): bump chrono from 0.4.30 to 0.4.31 ( #33284 )
...
* build(deps): bump chrono from 0.4.30 to 0.4.31
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.30 to 0.4.31.
- [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.30...v0.4.31 )
---
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>
2023-09-18 12:54:52 +00:00
Pankaj Garg
6db57f81db
Fix lamport calculation and transfer for loader-v4 program upgrade ( #33279 )
2023-09-16 13:12:27 -07:00
Pankaj Garg
6300a43f5c
Set loader-v4 program deployment slot at actual deployment ( #33278 )
2023-09-16 13:11:47 -07:00
dependabot[bot]
0df6749550
build(deps): bump syn from 2.0.32 to 2.0.33 ( #33264 )
...
* build(deps): bump syn from 2.0.32 to 2.0.33
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.32 to 2.0.33.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.32...2.0.33 )
---
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-09-15 13:30:53 +00:00
behzad nouri
c1090d3959
moves new_warmup_cooldown_rate_epoch outside iterators and for loops ( #33259 )
...
Recalculating new_warmup_cooldown_rate_epoch for each item is redundant
and wasteful and instead can be done only once outside the iterators and
for loops.
Also NewWarmupCooldownRateEpoch is unnecessary and verbose and is
removed in this commit.
2023-09-15 00:06:34 +00:00
dependabot[bot]
432cacdb0e
build(deps): bump proc-macro2 from 1.0.66 to 1.0.67 ( #33250 )
...
* build(deps): bump proc-macro2 from 1.0.66 to 1.0.67
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.66...1.0.67 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-09-14 16:15:22 +00:00
dependabot[bot]
a13fb1d220
build(deps): bump libc from 0.2.147 to 0.2.148 ( #33249 )
...
* build(deps): bump libc from 0.2.147 to 0.2.148
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.147 to 0.2.148.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.147...0.2.148 )
---
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-09-14 16:14:36 +00:00
Tyera
1e1e296414
Remove unused test code ( #33247 )
2023-09-14 08:58:46 -06:00
dependabot[bot]
5d29ed196f
build(deps): bump serde_json from 1.0.106 to 1.0.107 ( #33248 )
...
* build(deps): bump serde_json from 1.0.106 to 1.0.107
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.106 to 1.0.107.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107 )
---
updated-dependencies:
- dependency-name: serde_json
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-09-14 12:48:34 +00:00
Christian Kamm
525e59f01a
sdk, programs/bpf_loader: add sol_remaining_compute_units syscall ( #31640 )
...
bpf_loader: add sol_remaining_compute_units syscall
Co-authored-by: jonch <9093549+jon-chuang@users.noreply.github.com>
2023-09-13 08:57:08 -06:00
Pankaj Garg
5562f79cc5
Do not unnecessarily re-verify unloaded program ( #32722 )
...
* Do not unnecessarily re-verify unloaded program
* clippy fixes
* new unit test for extract
* fixes after rebase
* fixes after rebase
* address review comments
* fix clippy
2023-09-13 06:25:56 -07:00
bji
bdf7207eec
Implement timely vote credits feature. ( #32957 )
2023-09-12 10:40:04 -07:00
dependabot[bot]
d34a881b12
build(deps): bump serde_json from 1.0.105 to 1.0.106 ( #33200 )
...
* build(deps): bump serde_json from 1.0.105 to 1.0.106
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106 )
---
updated-dependencies:
- dependency-name: serde_json
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-09-12 14:11:39 +00:00
dependabot[bot]
2b1a30d81f
build(deps): bump syn from 2.0.31 to 2.0.32 ( #33201 )
...
* build(deps): bump syn from 2.0.31 to 2.0.32
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.31 to 2.0.32.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.31...2.0.32 )
---
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-09-12 14:11:13 +00:00
dependabot[bot]
212f1b4735
build(deps): bump base64 from 0.21.3 to 0.21.4 ( #33202 )
...
* build(deps): bump base64 from 0.21.3 to 0.21.4
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.3 to 0.21.4.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.3...v0.21.4 )
---
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-09-12 14:10:49 +00:00
dependabot[bot]
5f4f593acd
build(deps): bump socket2 from 0.5.3 to 0.5.4 ( #33218 )
...
* build(deps): bump socket2 from 0.5.3 to 0.5.4
Bumps [socket2](https://github.com/rust-lang/socket2 ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/rust-lang/socket2/releases )
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/socket2/commits )
---
updated-dependencies:
- dependency-name: socket2
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-09-12 14:10:09 +00:00
Alexander Meißner
bbb57be0a5
Refactor - Move interfaces of address-lookup-table into the program SDK ( #33165 )
...
* Adds a module `address_lookup_table` to the SDK.
* Adds a module `address_lookup_table::instruction` to the SDK.
* Adds a module `address_lookup_table::error` to the SDK.
* Adds a module `address_lookup_table::state` to the SDK.
* Moves AddressLookupTable into SDK as well.
* Moves AddressLookupTableAccount into address_lookup_table.
* Adds deprecation messages.
* Disentangles dependencies across cargo files.
2023-09-11 21:10:40 +02:00
dependabot[bot]
b588bebce0
build(deps): bump chrono from 0.4.29 to 0.4.30 ( #33191 )
...
* build(deps): bump chrono from 0.4.29 to 0.4.30
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.29 to 0.4.30.
- [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.29...v0.4.30 )
---
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>
2023-09-08 12:25:44 +00:00
dependabot[bot]
70f17ceb9f
build(deps): bump bytes from 1.4.0 to 1.5.0 ( #33190 )
...
* build(deps): bump bytes from 1.4.0 to 1.5.0
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: bytes
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>
2023-09-08 12:25:25 +00:00
samkim-crypto
ece376fdec
[zk-token-proof] Add public compute unit variables for instructions ( #33129 )
...
add public compute unit variables
2023-09-07 20:55:56 -07:00
behzad nouri
9ff0b35f29
adds QUIC endpoint for repair service ( #33057 )
...
Working towards using QUIC protocol for repair, the commit adds a QUIC
endpoint for repair service.
Outgoing local requests are sent as
struct LocalRequest {
remote_address: SocketAddr,
bytes: Vec<u8>,
num_expected_responses: usize,
response_sender: Sender<(SocketAddr, Vec<u8>)>,
}
to the client-side of the endpoint. The client opens a bidirectional
stream with the LocalRequest.remote_address and once received the
response, sends it down the LocalRequest.response_sender channel.
Incoming requests from remote nodes are received from bidirectional
streams and sent as
struct RemoteRequest {
remote_pubkey: Option<Pubkey>,
remote_address: SocketAddr,
bytes: Vec<u8>,
response_sender: Option<OneShotSender<Vec<Vec<u8>>>>,
}
to the repair-service. The response is received from the receiver end of
RemoteRequest.response_sender channel and send back to the remote node
using the send side of the bidirectional stream.
2023-09-07 18:00:25 +00:00
behzad nouri
528a03f32a
removes outdated matches crate from dependencies ( #33172 )
...
removes outdated matches crate from the dependencies
std::matches has been stable since rust 1.42.0.
Other use-cases are covered by assert_matches crate.
2023-09-07 12:52:57 +00:00
Yihau Chen
5d15380132
Bump solana_rbpf to v0.7.1 ( #33168 )
...
bump solana_rbpf to 0.7.1
2023-09-07 02:47:36 +08:00
Brooks
a80819b029
PrunedBanksRequestHandler::handle_request() is only pub with dcou ( #33155 )
2023-09-06 17:02:52 +00:00
behzad nouri
88ee8f5820
replaces once_cell::sync::OnceCell with std::sync::OnceLock ( #33140 )
...
std::sync::OnceLock has become stable since rust 1.70.0 and there is no
longer a need for an external crate dependency.
2023-09-06 16:46:51 +00:00
dependabot[bot]
865276f0ed
build(deps): bump bytemuck from 1.13.1 to 1.14.0 ( #33161 )
...
* build(deps): bump bytemuck from 1.13.1 to 1.14.0
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.13.1 to 1.14.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.13.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: bytemuck
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>
2023-09-06 12:33:55 +00:00
dependabot[bot]
47d828cd71
build(deps): bump chrono from 0.4.28 to 0.4.29 ( #33160 )
...
* build(deps): bump chrono from 0.4.28 to 0.4.29
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.28 to 0.4.29.
- [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.28...v0.4.29 )
---
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>
2023-09-06 12:33:00 +00:00
Alexander Meißner
424666e341
Bump solana_rbpf to v0.7.0 ( #33104 )
...
* Upgrades RBPF in Cargo.toml
* Adjustments to updated interfaces.
2023-09-06 10:54:15 +02:00
Alexander Meißner
05622c17da
Refactor - Minor fixes in the error handling of executing tombstones ( #33145 )
...
Minor fixes in the error handling of executing tombstones.
2023-09-05 23:57:25 +02:00
Alessandro Decina
25d3db0c18
Fix CI ( #33139 )
...
* programs/sbf: fix invalid_reference_casting errors in tests
* programs/sbf: enable dev-context-only-utils on solana-sdk
* programs/sbf: switch to clippy::arithmetic_side_effects
* solana-program: fix formatting
2023-09-05 18:01:20 +00:00
dependabot[bot]
9ab5c34543
build(deps): bump thiserror from 1.0.47 to 1.0.48 ( #33134 )
...
* build(deps): bump thiserror from 1.0.47 to 1.0.48
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
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>
2023-09-05 12:44:50 +00:00
dependabot[bot]
170ad08cc8
build(deps): bump regex from 1.9.4 to 1.9.5 ( #33133 )
...
* build(deps): bump regex from 1.9.4 to 1.9.5
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.4...1.9.5 )
---
updated-dependencies:
- dependency-name: regex
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-09-05 12:28:00 +00:00
dependabot[bot]
552dc83511
build(deps): bump syn from 2.0.29 to 2.0.31 ( #33135 )
...
* build(deps): bump syn from 2.0.29 to 2.0.31
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.29 to 2.0.31.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.29...2.0.31 )
---
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-09-05 12:25:39 +00:00
Alessandro Decina
6679153ca1
CPI: improve test coverage ( #31986 )
...
* programs/sbf: add TEST_[FORBID|ALLOW]_WRITE_AFTER_OWNERSHIP_CHANGE*
* programs/sbf: add tests for the AccessViolation -> InstructionError mapping
* cpi: add more tests
* programs/sbf: add tests for immutable AccountInfo pointers
* programs/sbf: add tests for verification of SolAccountInfo pointers too
* programs/sbf: add tests for ref_to_len_in_vm handling in CPI
Add TEST_FORBID_LEN_UPDATE_AFTER_OWNERSHIP_CHANGE_MOVING_DATA_POINTER
and TEST_FORBID_LEN_UPDATE_AFTER_OWNERSHIP_CHANGE that exercise the new
logic.
* cpi: tweak tests
Remove some copy pasta and rename two tests to better describe what they're doing
* cpi: add tests that check that CPI updates all accounts at once
* direct mapping: test that writes to executable accounts trigger ExecutableDataModified
* programs/sbf: add explicit tests for when an account's data allocation changes
2023-09-05 14:27:26 +07:00
Alessandro Decina
16ea141402
sdk: put AccountSharedData::set_data() behind feature="dev-context-only-utils" ( #33086 )
...
set_data() is deprecated in favor of set_data_from_slice().
2023-09-01 21:02:14 +07:00
Alexander Meißner
9e703f85de
Upgrades Rust to 1.72.0 & nightly-2023-08-25 ( #32961 )
...
* allow pedantic invalid cast lint
* allow lint with false-positive triggered by `test-case` crate
* nightly `fmt` correction
* adapt to rust layout changes
* remove dubious test
* Use transmute instead of pointer cast and de/ref when check_aligned is false.
* Renames clippy::integer_arithmetic to clippy::arithmetic_side_effects.
* bump rust nightly to 2023-08-25
* Upgrades Rust to 1.72.0
---------
Co-authored-by: Trent Nelson <trent@solana.com>
2023-09-01 07:26:13 +00:00
dependabot[bot]
d14605666c
build(deps): bump chrono from 0.4.26 to 0.4.28 ( #33094 )
...
* build(deps): bump chrono from 0.4.26 to 0.4.28
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.26 to 0.4.28.
- [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.26...v0.4.28 )
---
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
* Switch from deprecated chrono api
---------
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: Tyera Eulberg <tyera@solana.com>
2023-08-31 16:58:06 -06:00
Ashwin Sekar
025651e0d4
ff cleanup: allow_votes_to_directly_update_vote_state and compact_vot… ( #32967 )
...
ff cleanup: allow_votes_to_directly_update_vote_state and compact_vote_state_updates
2023-08-30 17:00:19 -07:00
Alexander Meißner
ef16b5e27d
Refactor - Loader-v4 grows accounts with "truncate" not "write" ( #33054 )
...
* Moves initialization and growth of program accounts
from "write" to "truncate" instruction in loader-v4.
* Removes the parameter payer account from the truncate instruction.
2023-08-31 00:44:58 +02:00
Ashwin Sekar
e88d6c6130
ff cleanup: vote_state_update_credit_per_deque ( #32966 )
2023-08-30 15:42:18 -07:00
Trent Nelson
b13589b588
round two preliminaries for bumping nightly to 2023-08-25 ( #33064 )
...
* work around nightly ICE
seems to be something related to `const ref`s in generic contexts...
* allow lint false-positive on ignored trait bounds
2023-08-30 21:46:20 +02:00
samkim-crypto
79c02c8fd6
[zk-token-proof] Add CUs to close account instruction ( #33042 )
...
add compute units for close context state account
2023-08-30 11:16:09 -07:00
behzad nouri
4ec5ea6f7b
replaces assert!(matches!(...)) with assert_matches!(...) ( #33068 )
...
assert_matches!(...) provides more informative error message when it
fails and it is part of nightly rust:
https://doc.rust-lang.org/std/assert_matches/macro.assert_matches.html
2023-08-30 13:48:27 -04:00
vadorovsky
e6dc3dac45
feat(sbf): Add Poseidon syscall ( #32680 )
...
Computing Poseidon[0] hashes is too expensive to be done in a Solana
program in one transaction. Poseidon is a zero-knowlege proof friendly
hash function, used by the majority of ZK-based projects, including the
ones built on top of Solana.
This change introduces the `sol_poseidon` syscall which takes 2D byte
slice as an input and then calculates a Poseidon hash using a BN254
curve and the following Poseidon parameters:
* x^5 S-boxes
* width - 2 ≤ t ≤ 13
* inputs - 1 ≤ n ≤ 12
* 8 full rounds and partial rounds depending on t: [56, 57, 56, 60, 60,
63, 64, 63, 60, 66, 60, 65]
Computation of Poseidon hashes is done with the light-poseidon[1]
crate, which is audited[2] and compatible with Circom[3] (BN254 curve,
the same parameters and constants).
Proposed compute costs depend on number of inputs and are based on
light-poseidon benchmarks[4].
[0] https://www.poseidon-hash.info/
[1] https://crates.io/crates/light-poseidon
[2] https://github.com/Lightprotocol/light-poseidon/blob/main/assets/audit.pdf
[3] https://docs.circom.io/
[4] https://github.com/Lightprotocol/light-poseidon/tree/main#performance
2023-08-30 09:43:31 -07:00
samkim-crypto
01dbe4970c
[zk-token-proof] Enable proof program to be invoked as an inner call ( #33045 )
...
enable close context state account instruction to be invoked as an inner call
2023-08-30 08:18:22 -07:00
Alessandro Decina
0f41719918
direct mapping: misc fixes ( #32649 )
...
* transaction_context: update make_data_mut comment
* bpf_loader: cpi: pass SerializeAccountMetadata to CallerAccount::from*
We now have a way to provide CallerAccount with trusted values coming
from our internal serialization code and not from untrusted vm space
* bpf_loader: direct_mapping: enforce account info pointers to be immutable
When direct mapping is enabled, we might need to update account data
memory regions across CPI calls. Since the only way we have to retrieve
the regions is based on their vm addresses, we enforce vm addresses to
be stable. Accounts can still be mutated and resized of course, but it
must be done in place.
This also locks all other AccountInfo pointers, since there's no legitimate
reason to make them point to anything else.
* bpf_loader: cpi: access ref_to_len_in_vm through VmValue
Direct mapping needs to translate vm values at each access since
permissions of the underlying memory might have changed.
* direct mapping: improve memory permission tracking across CPI calls
Ensure that the data and realloc regions of an account always track the
account's permissions. In order to do this, we also need to split
realloc regions in their own self contained regions, where before we
had:
[account fields][account data][account realloc + more account fields + next account fields][next account data][...]
we now have:
[account fields][account data][account realloc][more account fields + next account fields][next account data][...]
Tested in TEST_[FORBID|ALLOW]_WRITE_AFTER_OWNERSHIP_CHANGE*
Additionally when direct mapping is on, we must update all perms at once before
doing account data updates. Otherwise, updating an account might write into
another account whose perms we haven't updated yet. Tested in
TEST_FORBID_LEN_UPDATE_AFTER_OWNERSHIP_CHANGE.
* bpf_loader: serialization: address review comment don't return vm_addr from push_account_region
* bpf_loader: rename push_account_region to push_account_data_region
* cpi: fix slow edge case zeroing extra account capacity after shrinking an account
When returning from CPI we need to zero all the account memory up to the
original length only if we know we're potentially dealing with uninitialized
memory.
When we know that the spare capacity has deterministic content, we only need to
zero new_len..prev_len.
This fixes a slow edge case that was triggerable by the following scenario:
- load a large account (say 10MB) into the vm
- shrink to 10 bytes - would memset 10..10MB
- shrink to 9 bytes - would memset 9..10MB
- shrink to 8 bytes - would memset 8..10MB
- ...
Now instead in the scenario above the following will happen:
- load a large account (say 10MB) into the vm
- shrink to 10 bytes - memsets 10..10MB
- shrink to 9 bytes - memsets 9..10
- shrink to 8 bytes - memset 8..9
- ...
* bpf_loader: add account_data_region_memory_state helper
Shared between serialization and CPI to figure out the MemoryState of an
account.
* cpi: direct_mapping: error out if ref_to_len_in_vm points to account memory
If ref_to_len_in_vm is allowed to be in account memory, calles could mutate it,
essentially letting callees directly mutate callers memory.
* bpf_loader: direct_mapping: map AccessViolation -> InstructionError
Return the proper ReadonlyDataModified / ExecutableDataModified /
ExternalAccountDataModified depending on where the violation occurs
* bpf_loader: cpi: remove unnecessary infallible slice::get call
2023-08-30 16:57:24 +07:00
Trent Nelson
b8dc5daedb
preliminaries for bumping nightly to 2023-08-25 ( #33047 )
...
* remove unnecessary hashes around raw string literals
* remove unncessary literal `unwrap()`s
* remove panicking `unwrap()`
* remove unnecessary `unwrap()`
* use `[]` instead of `vec![]` where applicable
* remove (more) unnecessary explicit `into_iter()` calls
* remove redundant pattern matching
* don't cast to same type and constness
* do not `cfg(any(...` a single item
* remove needless pass by `&mut`
* prefer `or_default()` to `or_insert_with(T::default())`
* `filter_map()` better written as `filter()`
* incorrect `PartialOrd` impl on `Ord` type
* replace "slow zero-filled `Vec` initializations"
* remove redundant local bindings
* add required lifetime to associated constant
2023-08-29 23:05:35 +00:00
Alexander Meißner
150a798d32
Fix - Upcoming `arithmetic_side_effects` lints ( #33000 )
...
* dereplicode address alignment check
* Uses `checked_div` and `checked_rem` in built-in loaders.
* Uses `checked_div` and `checked_rem`.
* sdk: replace sub() with saturating_sub()
* eliminate `String` "arithmetic"
* allow arithmetic side-effects in tests and benches and on types we don't control
---------
Co-authored-by: Trent Nelson <trent@solana.com>
2023-08-29 20:58:53 +02:00
dependabot[bot]
1c5c783765
build(deps): bump url from 2.4.0 to 2.4.1 ( #33052 )
...
* build(deps): bump url from 2.4.0 to 2.4.1
Bumps [url](https://github.com/servo/rust-url ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: url
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-08-29 13:15:18 +00:00
dependabot[bot]
542fcaef38
build(deps): bump regex from 1.9.3 to 1.9.4 ( #33051 )
...
* build(deps): bump regex from 1.9.3 to 1.9.4
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.3...1.9.4 )
---
updated-dependencies:
- dependency-name: regex
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-08-29 13:14:57 +00:00
dependabot[bot]
b7cdfb7a09
build(deps): bump rustls from 0.21.6 to 0.21.7 ( #33050 )
...
* build(deps): bump rustls from 0.21.6 to 0.21.7
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.6 to 0.21.7.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.6...v/0.21.7 )
---
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-08-29 13:14:34 +00:00
dependabot[bot]
0726a7119a
build(deps): bump nix from 0.26.3 to 0.26.4 ( #33049 )
...
* build(deps): bump nix from 0.26.3 to 0.26.4
Bumps [nix](https://github.com/nix-rust/nix ) from 0.26.3 to 0.26.4.
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.4/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.3...v0.26.4 )
---
updated-dependencies:
- dependency-name: nix
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-08-29 13:14:08 +00:00
Alexander Meißner
1238e53c9f
Refactor - Loader v4 deployment status ( #33024 )
...
Refactors "is_deployed: bool" and "authority_address: Option<Pubkey>".
Replaces them with "status: LoaderV4Status" and "authority_address: Pubkey".
2023-08-28 20:14:01 +02:00
dependabot[bot]
5de27d9a0d
build(deps): bump serde from 1.0.186 to 1.0.188 ( #33023 )
...
* build(deps): bump serde from 1.0.186 to 1.0.188
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.186 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.188 )
---
updated-dependencies:
- dependency-name: serde
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-08-28 13:40:25 +00:00
dependabot[bot]
cf4bd0c6d6
build(deps): bump base64 from 0.21.2 to 0.21.3 ( #33022 )
...
* build(deps): bump base64 from 0.21.2 to 0.21.3
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.2 to 0.21.3.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.2...v0.21.3 )
---
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-08-28 13:40:06 +00:00
dependabot[bot]
272db84e61
build(deps): bump nix from 0.26.2 to 0.26.3 ( #33021 )
...
* build(deps): bump nix from 0.26.2 to 0.26.3
Bumps [nix](https://github.com/nix-rust/nix ) from 0.26.2 to 0.26.3.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.2...v0.26.3 )
---
updated-dependencies:
- dependency-name: nix
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-08-28 13:39:24 +00:00
dependabot[bot]
e98cc10d1f
build(deps): bump openssl from 0.10.56 to 0.10.57 ( #33020 )
...
* build(deps): bump openssl from 0.10.56 to 0.10.57
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.56 to 0.10.57.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.56...openssl-v0.10.57 )
---
updated-dependencies:
- dependency-name: openssl
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-08-28 13:38:48 +00:00
Yihau Chen
25317f7ed6
fix cargo lock ( #33018 )
2023-08-28 04:28:28 +00:00
Yihau Chen
8940dd01fe
ci: bump tungstenite and tokio-tungstenite to 0.20.0 ( #32996 )
...
* ci: bump tungstenite and tokio-tungstenite to 0.20.0
* replace deprecated functions, read_message => read
* replace deprecated functions, write_message => send
2023-08-28 11:20:00 +08:00
Alexander Meißner
29bbda0c11
General cleanup (Part 2) ( #32998 )
...
* bucket-map: remove unused `mut`
* remove unnecessary explicit `into_iter()` calls
* don't default-construct unit-structs
* prefer `or_default()` to `or_insert_with(T::default())`
* replace "slow zero-filled vec initialization"
---------
Co-authored-by: Trent Nelson <trent@solana.com>
2023-08-25 19:07:38 +02:00
dependabot[bot]
9070d780a3
build(deps): bump tonic from 0.8.3 to 0.9.2 ( #32994 )
...
* build(deps): bump tonic from 0.8.3 to 0.9.2
Bumps [tonic](https://github.com/hyperium/tonic ) from 0.8.3 to 0.9.2.
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.8.3...v0.9.2 )
---
updated-dependencies:
- dependency-name: tonic
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>
2023-08-25 13:49:46 +00:00
dependabot[bot]
b31e0c3fc4
build(deps): bump reqwest from 0.11.19 to 0.11.20 ( #32995 )
...
* build(deps): bump reqwest from 0.11.19 to 0.11.20
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.19 to 0.11.20.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.19...v0.11.20 )
---
updated-dependencies:
- dependency-name: reqwest
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-08-25 13:02:56 +00:00
dependabot[bot]
8c49a0ceb2
build(deps): bump tonic-build from 0.8.4 to 0.9.2 ( #32993 )
...
* build(deps): bump tonic-build from 0.8.4 to 0.9.2
Bumps [tonic-build](https://github.com/hyperium/tonic ) from 0.8.4 to 0.9.2.
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.8.4...v0.9.2 )
---
updated-dependencies:
- dependency-name: tonic-build
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>
2023-08-25 12:39:19 +00:00
Alexander Meißner
67d6d688cc
Refactor - Demotes `Arc` to `Rc`. ( #32982 )
...
Demotes `Arc` to `Rc`.
2023-08-25 00:54:06 +02:00
Alexander Meißner
a8be70fa7a
General cleanup ( #32980 )
...
* Fixes `cargo::` in build.rs
* Fixes overshadowing reexports.
* Removes unnecessary `as *const u8`.
* Removes unnecessary `.into_iter()`.
* cargo clippy
2023-08-24 21:44:19 +02:00
Trent Nelson
d91b22c421
bump etcd-client to 0.11.1 ( #32947 )
2023-08-24 13:09:49 -06:00
dependabot[bot]
0122ea4bca
build(deps): bump serde from 1.0.185 to 1.0.186 ( #32971 )
...
* build(deps): bump serde from 1.0.185 to 1.0.186
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.185 to 1.0.186.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186 )
---
updated-dependencies:
- dependency-name: serde
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-08-24 12:24:34 +00:00
dependabot[bot]
a92e0ee7c1
build(deps): bump siphasher from 0.3.10 to 0.3.11 ( #32968 )
...
* build(deps): bump siphasher from 0.3.10 to 0.3.11
Bumps [siphasher](https://github.com/jedisct1/rust-siphash ) from 0.3.10 to 0.3.11.
- [Commits](https://github.com/jedisct1/rust-siphash/compare/0.3.10...0.3.11 )
---
updated-dependencies:
- dependency-name: siphasher
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-08-24 12:22:41 +00:00
dependabot[bot]
4fd3b3851e
build(deps): bump quinn-proto from 0.10.3 to 0.10.4 ( #32969 )
...
* build(deps): bump quinn-proto from 0.10.3 to 0.10.4
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/compare/0.10.3...0.10.4 )
---
updated-dependencies:
- dependency-name: quinn-proto
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-08-24 12:22:08 +00:00
Ashwin Sekar
329c6f131b
tower: when syncing from vote state, update last_vote ( #32944 )
...
* tower: when syncing from vote state, update last_vote
* pr: bubble error through unchecked
2023-08-23 13:15:57 -07:00
dependabot[bot]
8970a3751a
build(deps): bump num-bigint from 0.4.3 to 0.4.4 ( #32951 )
...
* build(deps): bump num-bigint from 0.4.3 to 0.4.4
Bumps [num-bigint](https://github.com/rust-num/num-bigint ) from 0.4.3 to 0.4.4.
- [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.3...num-bigint-0.4.4 )
---
updated-dependencies:
- dependency-name: num-bigint
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-08-23 13:03:28 +00:00
dependabot[bot]
608c544b6c
build(deps): bump reqwest from 0.11.18 to 0.11.19 ( #32950 )
...
* build(deps): bump reqwest from 0.11.18 to 0.11.19
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.18 to 0.11.19.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.19 )
---
updated-dependencies:
- dependency-name: reqwest
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-08-23 13:02:49 +00:00
Yihau Chen
e4a2d14c4e
ci: fix audit ( #32932 )
...
* ci: bump rustls-webpki to 0.101.4
* ci: ignore RUSTSEC-2023-0052
2023-08-23 01:23:18 +08:00
dependabot[bot]
92de9e6581
Bump serde from 1.0.183 to 1.0.185 ( #32914 )
...
* Bump serde from 1.0.183 to 1.0.185
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.183 to 1.0.185.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
---
updated-dependencies:
- dependency-name: serde
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-08-22 14:04:24 +00:00
dependabot[bot]
ee07af3a72
Bump cc from 1.0.82 to 1.0.83 ( #32915 )
...
* Bump cc from 1.0.82 to 1.0.83
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.82...1.0.83 )
---
updated-dependencies:
- dependency-name: cc
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-08-22 14:04:10 +00:00
dependabot[bot]
172a592efe
Bump tempfile from 3.7.1 to 3.8.0 ( #32917 )
...
* Bump tempfile from 3.7.1 to 3.8.0
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.7.1 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
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>
2023-08-22 14:03:55 +00:00
dependabot[bot]
09c37d8178
Bump quinn-proto from 0.10.2 to 0.10.3 ( #32916 )
...
* Bump quinn-proto from 0.10.2 to 0.10.3
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/commits )
---
updated-dependencies:
- dependency-name: quinn-proto
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-08-22 14:03:34 +00:00
Jon Cinque
0fe902ced7
Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 ( #32871 )
...
* sdk: Add concurrent support for rand 0.7 and 0.8
* Update rand, rand_chacha, and getrandom versions
* Run command to replace `gen_range`
Run `git grep -l gen_range | xargs sed -i'' -e 's/gen_range(\(\S*\), /gen_range(\1../'
* sdk: Fix users of older `gen_range`
* Replace `hash::new_rand` with `hash::new_with_thread_rng`
Run:
```
git grep -l hash::new_rand | xargs sed -i'' -e 's/hash::new_rand([^)]*/hash::new_with_thread_rng(/'
```
* perf: Use `Keypair::new()` instead of `generate`
* Use older rand version in zk-token-sdk
* program-runtime: Inline random key generation
* bloom: Fix clippy warnings in tests
* streamer: Scope rng usage correctly
* perf: Fix clippy warning
* accounts-db: Map to char to generate a random string
* Remove `from_secret_key_bytes`, it's just `keypair_from_seed`
* ledger: Generate keypairs by hand
* ed25519-tests: Use new rand
* runtime: Use new rand in all tests
* gossip: Clean up clippy and inline keypair generators
* core: Inline keypair generation for tests
* Push sbf lockfile change
* sdk: Sort dependencies correctly
* Remove `hash::new_with_thread_rng`, use `Hash::new_unique()`
* Use Keypair::new where chacha isn't used
* sdk: Fix build by marking rand 0.7 optional
* Hardcode secret key length, add static assertion
* Unify `getrandom` crate usage to fix linking errors
* bloom: Fix tests that require a random hash
* Remove some dependencies, try to unify others
* Remove unnecessary uses of rand and rand_core
* Update lockfiles
* Add back some dependencies to reduce rebuilds
* Increase max rebuilds from 14 to 15
* frozen-abi: Remove `getrandom`
* Bump rebuilds to 17
* Remove getrandom from zk-token-proof
2023-08-21 19:11:21 +02:00
HaoranYi
910b0f5d12
fix sbf sysvar test ( #32803 )
...
* fix sbf sysvar test
* typo
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-08-21 09:49:48 -06:00
steviez
a4c8cc3ce0
Remove improper uses of &Arc<Bank> ( #32802 )
...
In most cases, either a &Bank or an Arc<Bank> is more proper.
- &Bank is used if the function only needs a momentary reference
- Arc<Bank> is used if the function needs its' own copy
This PR leaves several instances of &Arc<Bank> around; these instances
are situations where a clone may only happen conditionally.
2023-08-18 16:46:34 -05:00
steviez
427b8b1332
Revert "Implement timely vote credits feature ( #31291 )" ( #32890 )
...
This reverts commit 35ec7bf804
.
2023-08-18 17:04:20 +00:00
dependabot[bot]
89e4812647
Bump syn from 2.0.28 to 2.0.29 ( #32881 )
...
* Bump syn from 2.0.28 to 2.0.29
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.28 to 2.0.29.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.28...2.0.29 )
---
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-08-18 13:38:56 +00:00
dependabot[bot]
fea546010e
Bump quote from 1.0.32 to 1.0.33 ( #32869 )
...
* Bump quote from 1.0.32 to 1.0.33
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.32...1.0.33 )
---
updated-dependencies:
- dependency-name: quote
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-08-17 12:25:31 +00:00
dependabot[bot]
538acd970d
Bump thiserror from 1.0.45 to 1.0.47 ( #32868 )
...
* Bump thiserror from 1.0.45 to 1.0.47
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.45 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.47 )
---
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>
2023-08-17 12:25:11 +00:00
dependabot[bot]
cc89a67e84
Bump serde_json from 1.0.104 to 1.0.105 ( #32867 )
...
* Bump serde_json from 1.0.104 to 1.0.105
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
updated-dependencies:
- dependency-name: serde_json
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-08-17 12:24:49 +00:00
dependabot[bot]
45f3aa1280
Bump anyhow from 1.0.74 to 1.0.75 ( #32866 )
...
* Bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75 )
---
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>
2023-08-17 12:24:13 +00:00
Pankaj Garg
c17b938204
Integrate program loader-v4 with bank ( #32832 )
...
* Integrate program loader-v4 with bank
* fix tests
* new struct for ProgramRuntimeEnvironments
* remove environment from program_runtime_environment_v
* move find_program_in_cache() to invoke_context
* cleanup
2023-08-16 10:50:23 -07:00
hana
5e5b6f7d33
remove clean_up_delegation_errors feature ( #32848 )
2023-08-16 09:15:43 -07:00
dependabot[bot]
aad3390372
Bump anyhow from 1.0.73 to 1.0.74 ( #32853 )
...
* Bump anyhow from 1.0.73 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.73...1.0.74 )
---
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>
2023-08-16 13:10:18 +00:00
Ryo Onodera
e700dde617
dcou: Update qualifier_attr to 0.2.2 ( #32838 )
...
Update qualifier_attr to 0.2.2
2023-08-15 13:10:47 +00:00
dependabot[bot]
84b0fd840c
Bump flate2 from 1.0.26 to 1.0.27 ( #32841 )
...
* Bump flate2 from 1.0.26 to 1.0.27
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.26...1.0.27 )
---
updated-dependencies:
- dependency-name: flate2
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-08-15 12:36:50 +00:00
dependabot[bot]
169227ad95
Bump thiserror from 1.0.44 to 1.0.45 ( #32840 )
...
* Bump thiserror from 1.0.44 to 1.0.45
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.45 )
---
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>
2023-08-15 12:36:16 +00:00
dependabot[bot]
36663529af
Bump anyhow from 1.0.72 to 1.0.73 ( #32839 )
...
* Bump anyhow from 1.0.72 to 1.0.73
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.73 )
---
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>
2023-08-15 12:35:57 +00:00
steviez
6bbf514e78
Add ability to output components that go into Bank hash ( #32632 )
...
When a consensus divergance occurs, the current workflow involves a
handful of manual steps to hone in on the offending slot and
transaction. This process isn't overly difficult to execute; however, it
is tedious and currently involves creating and parsing logs.
This change introduces functionality to output a debug file that
contains the components go into the bank hash. The file can be generated
in two ways:
- Via solana-validator when the node realizes it has diverged
- Via solana-ledger-tool verify by passing a flag
When a divergance occurs now, the steps to debug would be:
- Grab the file from the node that diverged
- Generate a file for the same slot with ledger-tool with a known good
version
- Diff the files, they are pretty-printed json
2023-08-15 00:12:05 -05:00
dependabot[bot]
e0de0685cb
Bump log from 0.4.19 to 0.4.20 ( #32824 )
...
* Bump log from 0.4.19 to 0.4.20
Bumps [log](https://github.com/rust-lang/log ) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: log
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-08-14 13:16:14 +00:00
dependabot[bot]
74617c8b4d
Bump async-trait from 0.1.72 to 0.1.73 ( #32825 )
...
* Bump async-trait from 0.1.72 to 0.1.73
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.72 to 0.1.73.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73 )
---
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
---------
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-08-14 12:44:27 +00:00
Ryo Onodera
ce63640d6d
dcou: make internal function `pub` conditionally ( #32822 )
...
dcou: make internal function pub conditionally
2023-08-13 14:12:20 +09:00
Jeff Biseda
58cca78067
sanity check metrics configuration ( #32799 )
2023-08-11 14:38:33 -07:00
Pankaj Garg
a1a0829a8b
Initialize and store PRv2 environment in cache ( #32812 )
...
* Initialize and store PRv2 environment in cache
* address review comments
2023-08-11 18:58:22 +00:00
Jon Cinque
c73a56faf8
stake: Rename `StakeStateWithFlags` -> `StakeStateV2` ( #32795 )
2023-08-11 01:07:21 +02:00
bji
35ec7bf804
Implement timely vote credits feature ( #31291 )
2023-08-10 14:07:51 -07:00
Pankaj Garg
f4287d70bb
Move accounts-db code to its own crate ( #32766 )
2023-08-09 13:03:36 -07:00
Jon Cinque
8e4a9a94ed
sdk: Add new version of `StakeState` to avoid breaking downstream users ( #32736 )
...
* sdk: Rename `StakeState` -> `StakeStateWithFlags`
* Add back `StakeFlags` with a deprecation warning
2023-08-09 00:05:40 +02:00
dependabot[bot]
e2843d3fd0
Bump tar from 0.4.39 to 0.4.40 ( #32759 )
...
* Bump tar from 0.4.39 to 0.4.40
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.39 to 0.4.40.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.39...0.4.40 )
---
updated-dependencies:
- dependency-name: tar
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-08-08 12:28:23 +00:00
Ashwin Sekar
fa3506631a
stake: deprecate on chain warmup/cooldown rate and config ( #32723 )
...
* stake: deprecate on chain warmup/cooldown rate and config
* Pr feedback: Deprecate since 1.16.7
Co-authored-by: Jon Cinque <me@jonc.dev>
---------
Co-authored-by: Jon Cinque <me@jonc.dev>
2023-08-07 13:23:24 -07:00
dependabot[bot]
2444e09183
Bump tempfile from 3.7.0 to 3.7.1 ( #32734 )
...
* Bump tempfile from 3.7.0 to 3.7.1
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.7.0 to 3.7.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.0...v3.7.1 )
---
updated-dependencies:
- dependency-name: tempfile
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-08-07 12:44:11 +00:00
dependabot[bot]
f650261f63
Bump cc from 1.0.81 to 1.0.82 ( #32733 )
...
* Bump cc from 1.0.81 to 1.0.82
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: cc
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-08-07 12:43:30 +00:00
dependabot[bot]
d8849cdf7e
Bump regex from 1.9.1 to 1.9.3 ( #32732 )
...
* Bump regex from 1.9.1 to 1.9.3
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.1 to 1.9.3.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.1...1.9.3 )
---
updated-dependencies:
- dependency-name: regex
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-08-07 12:42:56 +00:00
dependabot[bot]
3912afb4c1
Bump openssl from 0.10.55 to 0.10.56 ( #32731 )
...
* Bump openssl from 0.10.55 to 0.10.56
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.55 to 0.10.56.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.55...openssl-v0.10.56 )
---
updated-dependencies:
- dependency-name: openssl
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-08-07 12:41:40 +00:00
dependabot[bot]
0171114e9a
Bump serde from 1.0.181 to 1.0.183 ( #32730 )
...
* Bump serde from 1.0.181 to 1.0.183
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.181 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.183 )
---
updated-dependencies:
- dependency-name: serde
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-08-07 12:40:56 +00:00
dependabot[bot]
7ca45ae159
Bump serde from 1.0.180 to 1.0.181 ( #32710 )
...
* Bump serde from 1.0.180 to 1.0.181
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181 )
---
updated-dependencies:
- dependency-name: serde
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-08-04 12:36:46 +00:00
HaoranYi
8076b0fd4f
fix typo ( #32706 )
...
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-08-03 12:59:00 -05:00
Alexander Meißner
33c33f5f79
Fix - Adds missing feature pubkeys to the `FEATURES_AFFECTING_RBPF` list ( #32703 )
...
Adds missing feature pubkeys to the FEATURES_AFFECTING_RBPF list.
2023-08-03 17:45:30 +02:00
Alexander Meißner
b5a80a72f0
Fix - Adds missing "Executable account not owned by the BPF loader" error to `remove_bpf_loader_incorrect_program_id` ( #32695 )
...
Adds missing "Executable account not owned by the BPF loader" error.
2023-08-03 15:26:02 +02:00
dependabot[bot]
2225aecfa9
Bump cc from 1.0.80 to 1.0.81 ( #32691 )
...
* Bump cc from 1.0.80 to 1.0.81
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.80...1.0.81 )
---
updated-dependencies:
- dependency-name: cc
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-08-03 15:42:15 +08:00
Jon Cinque
8c14886891
sdk: Limited Borsh 0.9 support (Pubkey and helpers) ( #32511 )
...
* sdk: Implement Borsh 0.9 traits on Pubkey
* Alphabetize cargo.toml
* Add backwards-compatible borsh file
* Add borsh0_10.rs for more clarity
* Deprecate `borsh` utils, use borsh0_10 everywhere
* Mark borsh 0.9 helpers as deprecated
* Add macros for deriving helper impls
* Add borsh 0.9 tests
* Refactor tests into macro
2023-08-02 23:15:24 +02:00
dependabot[bot]
1552a07f5b
Bump indicatif from 0.17.5 to 0.17.6 ( #32690 )
...
* Bump indicatif from 0.17.5 to 0.17.6
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.5 to 0.17.6.
- [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>
2023-08-02 18:11:20 +00:00
dependabot[bot]
67b2f891f7
Bump rustls from 0.21.5 to 0.21.6 ( #32685 )
...
* Bump rustls from 0.21.5 to 0.21.6
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.5 to 0.21.6.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.5...v/0.21.6 )
---
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-08-02 14:09:14 +00:00
dependabot[bot]
ae4d17e11a
Bump cc from 1.0.79 to 1.0.80 ( #32681 )
...
* Bump cc from 1.0.79 to 1.0.80
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.79...1.0.80 )
---
updated-dependencies:
- dependency-name: cc
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-08-02 12:54:54 +00:00
dependabot[bot]
be1ba04282
Bump quinn from 0.10.1 to 0.10.2 ( #32683 )
...
* Bump quinn from 0.10.1 to 0.10.2
Bumps [quinn](https://github.com/quinn-rs/quinn ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/commits )
---
updated-dependencies:
- dependency-name: quinn
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-08-02 12:53:25 +00:00
dependabot[bot]
7afefd9e1b
Bump serde from 1.0.177 to 1.0.180 ( #32672 )
...
* Bump serde from 1.0.177 to 1.0.180
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.177 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.180 )
---
updated-dependencies:
- dependency-name: serde
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-08-01 13:19:49 +00:00
dependabot[bot]
58882e33ef
Bump syn from 2.0.27 to 2.0.28 ( #32666 )
...
* Bump syn from 2.0.27 to 2.0.28
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.27 to 2.0.28.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.27...2.0.28 )
---
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-07-31 12:18:02 +00:00
dependabot[bot]
7f062624eb
Bump serde from 1.0.176 to 1.0.177 ( #32647 )
...
* Bump serde from 1.0.176 to 1.0.177
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177 )
---
updated-dependencies:
- dependency-name: serde
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-07-28 14:01:54 +00:00
Alessandro Decina
e3f253d559
introduce SerializedAccountMetadata ( #32644 )
...
* bpf_loader: move computing original account lengths inside serialize_paramters_(aligned|unaligned)
This is in preparation of returning more than just the original length
* bpf_loader: deserialize*: take original lens as an iterator instead of a slice
This is in preparation of extracting account lenghts from a larger
context
* bpf_loader: introduce SerializedAccountMetadata
Instead of passing original_account_lengths around as Vec<usize>,
introduce an explicit type that includes the length and soon more.
2023-07-28 18:34:27 +07:00
Alessandro Decina
6f88587652
cpi: change unnecessary &mut MemoryMapping to &MemoryMapping ( #32643 )
2023-07-28 14:11:17 +07:00
behzad nouri
0b52b8a46e
switches from dlopen to dlopen2 ( #32640 )
...
dlopen is unmaintained:
https://github.com/szymonwieloch/rust-dlopen/issues/47
2023-07-27 16:30:22 +00:00
dependabot[bot]
d45bbb413c
Bump serde_json from 1.0.103 to 1.0.104 ( #32637 )
...
* Bump serde_json from 1.0.103 to 1.0.104
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104 )
---
updated-dependencies:
- dependency-name: serde_json
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-07-27 15:00:46 +00:00
dependabot[bot]
14f11cb712
Bump serde from 1.0.175 to 1.0.176 ( #32636 )
...
* Bump serde from 1.0.175 to 1.0.176
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.175 to 1.0.176.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176 )
---
updated-dependencies:
- dependency-name: serde
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-07-27 15:00:19 +00:00
dependabot[bot]
c561657395
Bump scopeguard from 1.1.0 to 1.2.0 ( #32630 )
...
* Bump scopeguard from 1.1.0 to 1.2.0
Bumps [scopeguard](https://github.com/bluss/scopeguard ) from 1.1.0 to 1.2.0.
- [Commits](https://github.com/bluss/scopeguard/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: scopeguard
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>
2023-07-27 14:59:45 +00:00
dependabot[bot]
70677ae8f7
Bump chrono-humanize from 0.2.2 to 0.2.3 ( #32629 )
...
* Bump chrono-humanize from 0.2.2 to 0.2.3
Bumps [chrono-humanize](https://gitlab.com/imp/chrono-humanize-rs ) from 0.2.2 to 0.2.3.
- [Changelog](https://gitlab.com/imp/chrono-humanize-rs/blob/master/release.toml )
- [Commits](https://gitlab.com/imp/chrono-humanize-rs/compare/0.2.2...0.2.3 )
---
updated-dependencies:
- dependency-name: chrono-humanize
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-07-27 14:58:40 +00:00
dependabot[bot]
618d63c07c
Bump either from 1.8.1 to 1.9.0 ( #32628 )
...
* Bump either from 1.8.1 to 1.9.0
Bumps [either](https://github.com/bluss/either ) from 1.8.1 to 1.9.0.
- [Commits](https://github.com/bluss/either/compare/1.8.1...1.9.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>
2023-07-27 14:57:49 +00:00
galactus
dbac50dcc8
New method to send large number of transactions to the cluster ( #32388 )
...
* Adding a method which sends and confirm a large number of transactions in parallel and using it to deploy programs
* Using the new method to deploy programs
* Minor changes, break when transaction map is empty
* Updating cargo for all lock files
* Sorting dependencies
* Changes after tnelson's comment
* confirm recently expired transactions and improve tracking of transaction sending
* Minor changes
* more changes after tnelson's comments
* Adding serialized transaction in TransactionData
* Update client/src/send_and_confirm_transactions_in_parallel.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update client/src/send_and_confirm_transactions_in_parallel.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* nit changes from trent
* Fixing kirills comments, adding some unit tests
* fixing ci, and minor change
* addressing Kirills nit comments
---------
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2023-07-25 12:08:01 -06:00
ripatel-fd
70a7bae53e
fix type param in translate_and_check_program_address_inputs ( #32359 )
...
Co-authored-by: Richard Patel <ripatel@jumptrading.com>
2023-07-25 17:05:12 +02:00
dependabot[bot]
49d95b55f9
Bump semver from 1.0.17 to 1.0.18 ( #32619 )
...
* Bump semver from 1.0.17 to 1.0.18
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.17...1.0.18 )
---
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>
2023-07-25 14:38:18 +00:00
dependabot[bot]
028e22fa23
Bump etcd-client from 0.8.2 to 0.8.4 ( #32620 )
...
* Bump etcd-client from 0.8.2 to 0.8.4
Bumps [etcd-client](https://github.com/etcdv3/etcd-client ) from 0.8.2 to 0.8.4.
- [Release notes](https://github.com/etcdv3/etcd-client/releases )
- [Commits](https://github.com/etcdv3/etcd-client/compare/0.8.2...v0.8.4 )
---
updated-dependencies:
- dependency-name: etcd-client
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-07-25 13:17:13 +00:00
dependabot[bot]
9a11525a9a
Bump thiserror from 1.0.43 to 1.0.44 ( #32618 )
...
* Bump thiserror from 1.0.43 to 1.0.44
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
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>
2023-07-25 13:14:42 +00:00
dependabot[bot]
2dda56a507
Bump serde from 1.0.174 to 1.0.175 ( #32617 )
...
* Bump serde from 1.0.174 to 1.0.175
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.174 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175 )
---
updated-dependencies:
- dependency-name: serde
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-07-25 13:14:18 +00:00
dependabot[bot]
cb2d828e09
Bump rustversion from 1.0.13 to 1.0.14 ( #32616 )
...
* Bump rustversion from 1.0.13 to 1.0.14
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.13...1.0.14 )
---
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
---------
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-07-25 13:12:30 +00:00
dependabot[bot]
470196250c
Bump num-traits from 0.2.15 to 0.2.16 ( #32615 )
...
* Bump num-traits from 0.2.15 to 0.2.16
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.15 to 0.2.16.
- [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.15...num-traits-0.2.16 )
---
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>
2023-07-25 13:11:57 +00:00
HaoranYi
17af3ab10a
Add stake_flags to stake state ( #32524 )
...
add stake_flags to stake state
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-07-24 09:09:40 -05:00
dependabot[bot]
8e5805797e
Bump tempfile from 3.6.0 to 3.7.0 ( #32599 )
...
* Bump tempfile from 3.6.0 to 3.7.0
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.6.0 to 3.7.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: tempfile
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>
2023-07-24 13:44:06 +00:00
dependabot[bot]
b1104df135
Bump async-trait from 0.1.71 to 0.1.72 ( #32602 )
...
* Bump async-trait from 0.1.71 to 0.1.72
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.71 to 0.1.72.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.71...0.1.72 )
---
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
---------
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-07-24 13:03:11 +00:00
dependabot[bot]
a9f9040404
Bump serde_bytes from 0.11.11 to 0.11.12 ( #32600 )
...
* Bump serde_bytes from 0.11.11 to 0.11.12
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.11 to 0.11.12.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.11...0.11.12 )
---
updated-dependencies:
- dependency-name: serde_bytes
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-07-24 12:59:16 +00:00
dependabot[bot]
d6dc68a1bd
Bump quote from 1.0.29 to 1.0.32 ( #32598 )
...
* Bump quote from 1.0.29 to 1.0.32
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.29 to 1.0.32.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.29...1.0.32 )
---
updated-dependencies:
- dependency-name: quote
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-07-24 12:58:34 +00:00
dependabot[bot]
c2d605b884
Bump bitflags from 1.3.2 to 2.3.3 ( #32438 )
...
* Bump bitflags from 1.3.2 to 2.3.3
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 1.3.2 to 2.3.3.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.3.3 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* updates programs/sbf/Cargo.lock
* derives necessary traits
* replaces from_bits_unchecked with from_bits_retain
* patches test
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2023-07-24 12:56:55 +00:00
Pankaj Garg
fc35b13365
Cleanup load_program() in bank.rs ( #32146 )
2023-07-21 13:43:46 -07:00
dependabot[bot]
5752505548
Bump serde from 1.0.171 to 1.0.174 ( #32575 )
...
* Bump serde from 1.0.171 to 1.0.174
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.171 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.174 )
---
updated-dependencies:
- dependency-name: serde
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-07-21 13:46:21 +00:00
dependabot[bot]
9553302052
Bump serde_yaml from 0.9.22 to 0.9.25 ( #32576 )
...
* Bump serde_yaml from 0.9.22 to 0.9.25
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.22 to 0.9.25.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.22...0.9.25 )
---
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>
2023-07-21 13:45:43 +00:00
dependabot[bot]
1e8fc573ce
Bump syn from 2.0.25 to 2.0.27 ( #32577 )
...
* Bump syn from 2.0.25 to 2.0.27
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.25 to 2.0.27.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.25...2.0.27 )
---
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-07-21 13:45:09 +00:00
dependabot[bot]
9020c77c33
Bump signal-hook from 0.3.15 to 0.3.17 ( #32578 )
...
* Bump signal-hook from 0.3.15 to 0.3.17
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.3.15 to 0.3.17.
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.15...v0.3.17 )
---
updated-dependencies:
- dependency-name: signal-hook
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-07-21 13:44:26 +00:00
dependabot[bot]
11e77d17eb
Bump anyhow from 1.0.71 to 1.0.72 ( #32574 )
...
* Bump anyhow from 1.0.71 to 1.0.72
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72 )
---
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>
2023-07-21 13:43:43 +00:00
dependabot[bot]
0ef6944717
Bump reqwest from 0.11.17 to 0.11.18 ( #32484 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.17 to 0.11.18.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](seanmonstar/reqwest@v0.11.17...v0.11.18)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-20 22:38:39 -07:00
dependabot[bot]
124b5b0996
Bump tokio-stream from 0.1.12 to 0.1.14 ( #32486 )
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.12 to 0.1.14.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.14/CHANGELOG.md )
- [Commits](tokio-rs/tokio@46f974d8cfcb56c251d80cf1dc4a6bcf9fd1d7a0...398dfda56d3ee4b0d4d9e86abe15039e86979d83)
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-20 22:36:57 -07:00
dependabot[bot]
15f948b47c
Bump proc-macro2 from 1.0.64 to 1.0.66 ( #32530 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](dtolnay/proc-macro2@1.0.64...1.0.66)
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-20 16:26:43 -07:00
dependabot[bot]
dd049f56b4
Bump socket2 from 0.4.9 to 0.5.3 ( #32531 )
...
Bumps [socket2](https://github.com/rust-lang/socket2 ) from 0.4.9 to 0.5.3.
- [Release notes](https://github.com/rust-lang/socket2/releases )
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md )
- [Commits](rust-lang/socket2@v0.4.9...v0.5.3)
---
updated-dependencies:
- dependency-name: socket2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-20 16:24:39 -07:00
dependabot[bot]
be10168674
Bump serde_json from 1.0.102 to 1.0.103 ( #32529 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](serde-rs/json@v1.0.102...v1.0.103)
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-20 12:11:15 -07:00
dependabot[bot]
3b8bcb4f7e
Bump tar from 0.4.38 to 0.4.39 ( #32485 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.38 to 0.4.39.
- [Commits](alexcrichton/tar-rs@0.4.38...0.4.39)
---
updated-dependencies:
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-19 02:10:52 -07:00
dependabot[bot]
275e227516
Bump serde_json from 1.0.100 to 1.0.102 ( #32472 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.100 to 1.0.102.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](serde-rs/json@v1.0.100...v1.0.102)
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-18 18:21:44 -07:00
dependabot[bot]
9e22595857
Bump serde from 1.0.168 to 1.0.171 ( #32456 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.168 to 1.0.171.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](serde-rs/serde@v1.0.168...v1.0.171)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-18 18:15:57 -07:00
samkim-crypto
5d9c1d8e36
big_mod_exp syscall: exclude inputs of numbers larger than 4096-bits ( #32520 )
...
* limit inputs length
* fix clippy
* add test_syscall_big_mod_exp test
* cargo fmt
* add SBPFVersion
---------
Co-authored-by: valiksinev <valiksinev@yahoo.com>
Co-authored-by: derrek <derrek.haxx@yahoo.com>
2023-07-19 04:29:09 +09:00
Pankaj Garg
2a86420777
Move calculate_fee() out of bank.rs ( #32409 )
...
* Move calculate_fee() to fee.rs
* fixup code for compilation
2023-07-14 20:17:38 -07:00
Pankaj Garg
7177dd9809
Remove calculate_fee()'s dependency on ComputeBudget ( #32487 )
2023-07-14 12:25:04 -07:00
behzad nouri
868e086d75
upgrades quinn and rustls crates ( #32499 )
2023-07-14 17:30:57 +00:00
Brooks
93d56c8eb2
Removes unnecessary borrows ( #32498 )
2023-07-14 11:45:40 -04:00
Ryo Onodera
5cc654cd33
Really remove ntapi patching except spl-token-cli's one ( #32491 )
2023-07-14 14:26:08 +09:00
Ryo Onodera
a5aa4064fb
Restore ntapi patching ( #32488 )
2023-07-14 11:57:54 +09:00
Tyera
c02021173d
Bump and unpin tokio ( #32430 )
...
* Bump tokio to current, and unpin
* Remove patch since ntapi is not longer in tree
2023-07-13 13:53:48 -06:00
Ryo Onodera
d80745cfaf
dcou: BorrowedAccount::set_data() ( #32424 )
...
* dcou: BorrowedAccount::set_data()
* Properly depend on dev-context-only-utils
2023-07-13 22:44:08 +09:00
behzad nouri
a3ada9c5ea
separates out turbine QUIC from TPU implementation ( #32368 )
...
* separates out turbine QUIC from TPU implementation
Turbine being tied to QUIC implementation for TPU hinders development
and makes it hard to optimize QUIC specifically for turbine.
The commit separates out turbine QUIC from TPU implementation.
* Update core/src/validator.rs
Co-authored-by: Jon Cinque <me@jonc.dev>
* Update turbine/src/retransmit_stage.rs
Co-authored-by: Jon Cinque <me@jonc.dev>
---------
Co-authored-by: Jon Cinque <me@jonc.dev>
2023-07-12 14:15:28 +00:00
dependabot[bot]
cec6b861cf
Bump regex from 1.9.0 to 1.9.1 ( #32455 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.0 to 1.9.1.
- [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.9.0...1.9.1)
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-11 14:09:18 -07:00
dependabot[bot]
752c1bf0a4
Bump proc-macro2 from 1.0.63 to 1.0.64 ( #32439 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](dtolnay/proc-macro2@1.0.63...1.0.64)
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-11 14:06:35 -07:00
dependabot[bot]
dd75d09a1d
Bump serde from 1.0.166 to 1.0.168 ( #32436 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.166 to 1.0.168.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](serde-rs/serde@v1.0.166...v1.0.168)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-10 21:37:18 -07:00
dependabot[bot]
bcb9fb748e
Bump syn from 2.0.23 to 2.0.25 ( #32437 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.23 to 2.0.25.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](dtolnay/syn@2.0.23...2.0.25)
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-10 21:33:50 -07:00
dependabot[bot]
607583f1e4
Bump async-channel from 1.8.0 to 1.9.0 ( #32435 )
...
Bumps [async-channel](https://github.com/smol-rs/async-channel ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/smol-rs/async-channel/releases )
- [Changelog](https://github.com/smol-rs/async-channel/blob/master/CHANGELOG.md )
- [Commits](smol-rs/async-channel@v1.8.0...v1.9.0)
---
updated-dependencies:
- dependency-name: async-channel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-10 21:13:27 -07:00
behzad nouri
d54b6204be
removes instances of clippy::manual_let_else ( #32417 )
2023-07-09 21:41:36 +00:00
dependabot[bot]
70f8ced277
Bump serde_json from 1.0.99 to 1.0.100 ( #32412 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](serde-rs/json@v1.0.99...v1.0.100)
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-07 19:17:18 -07:00
dependabot[bot]
8a635ba41b
Bump serde_bytes from 0.11.9 to 0.11.11 ( #32413 )
...
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.9 to 0.11.11.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](serde-rs/bytes@0.11.9...0.11.11)
---
updated-dependencies:
- dependency-name: serde_bytes
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@soalan.com>
2023-07-07 13:37:48 -07:00
dependabot[bot]
afcb48a82a
Bump regex from 1.8.4 to 1.9.0 ( #32414 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.4 to 1.9.0.
- [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.4...1.9.0)
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-07 13:35:50 -07:00
dependabot[bot]
9c89967401
Bump blake3 from 1.4.0 to 1.4.1 ( #32410 )
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](BLAKE3-team/BLAKE3@1.4.0...1.4.1)
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-07 13:33:05 -07:00
dependabot[bot]
e0b47b6962
Bump thiserror from 1.0.40 to 1.0.43 ( #32411 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](dtolnay/thiserror@1.0.40...1.0.43)
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-07 13:30:55 -07:00
dependabot[bot]
61f092d27c
Bump indexmap from 1.9.3 to 2.0.0 ( #32328 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.3 to 2.0.0.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](bluss/indexmap@1.9.3...2.0.0)
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-07 13:29:09 -07:00
Justin Starry
b3d9c87612
feature flag cleanup: stake_split_uses_rent_sysvar ( #32407 )
2023-07-07 09:01:39 -05:00
dependabot[bot]
158253c2b0
Bump async-trait from 0.1.68 to 0.1.71 ( #32392 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.68 to 0.1.71.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](dtolnay/async-trait@0.1.68...0.1.71)
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-06 18:53:29 -07:00
dependabot[bot]
c222665141
Bump fd-lock from 3.0.12 to 3.0.13 ( #32394 )
...
* Bump fd-lock from 3.0.12 to 3.0.13
Bumps [fd-lock](https://github.com/yoshuawuyts/fd-lock ) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/yoshuawuyts/fd-lock/releases )
- [Commits](https://github.com/yoshuawuyts/fd-lock/compare/v3.0.12...v3.0.13 )
---
updated-dependencies:
- dependency-name: fd-lock
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-07-06 19:32:50 +00:00
dependabot[bot]
2534f71f6f
Bump serde from 1.0.164 to 1.0.166 ( #32396 )
...
* Bump serde from 1.0.164 to 1.0.166
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166 )
---
updated-dependencies:
- dependency-name: serde
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-07-06 19:23:15 +00:00
dependabot[bot]
10a54df6bb
Bump quote from 1.0.28 to 1.0.29 ( #32393 )
...
* Bump quote from 1.0.28 to 1.0.29
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.28...1.0.29 )
---
updated-dependencies:
- dependency-name: quote
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-07-06 13:03:36 -06:00
dependabot[bot]
d0ad507856
Bump rustversion from 1.0.12 to 1.0.13 ( #32395 )
...
* Bump rustversion from 1.0.12 to 1.0.13
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.12...1.0.13 )
---
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
---------
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-07-06 13:02:04 -06:00
Pankaj Garg
4674b0099f
Move CostModel and CostTracker to its own crate ( #32354 )
...
* Move CostModel and CostTracker to its own crate
* compile new crate and update imports
* update sbf Cargo.lock
* fix AbiExample
* fix cargo sort
* Fix AbiExample
2023-07-06 10:08:18 -07:00
Pankaj Garg
b060f62004
Move transaction results data structures out of bank.rs ( #32386 )
...
* Move transaction results data structures out of bank.rs
* Fix CI check failures
2023-07-06 09:45:01 -07:00
dependabot[bot]
63baab57fc
Bump proc-macro2 from 1.0.61 to 1.0.63 ( #32327 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.61 to 1.0.63.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](dtolnay/proc-macro2@1.0.61...1.0.63)
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-05 17:27:03 -07:00
dependabot[bot]
39841cc35a
Bump syn from 2.0.18 to 2.0.21 ( #32324 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.18 to 2.0.21.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](dtolnay/syn@2.0.18...2.0.21)
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-05 14:24:31 -07:00
dependabot[bot]
e1061e83ec
Bump num_cpus from 1.15.0 to 1.16.0 ( #32341 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](seanmonstar/num_cpus@v1.15.0...v1.16.0)
---
updated-dependencies:
- dependency-name: num_cpus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-05 13:53:04 -07:00
dependabot[bot]
24f366ad0c
Bump hyper from 0.14.26 to 0.14.27 ( #32280 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.26 to 0.14.27.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.27/CHANGELOG.md )
- [Commits](hyperium/hyper@v0.14.26...v0.14.27)
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-05 13:51:08 -07:00
dependabot[bot]
2b68629c53
Bump libc from 0.2.146 to 0.2.147 ( #32275 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.146 to 0.2.147.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](rust-lang/libc@0.2.146...0.2.147)
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Illia Bobyr <illia.bobyr@solana.com>
2023-07-05 13:47:25 -07:00
Alexander Meißner
9731331be4
Bump solana_rbpf to v0.6.0 ( #32313 )
2023-07-05 19:46:21 +02:00
behzad nouri
5a80dc0d73
adds QUIC endpoint specific for turbine connections ( #32294 )
...
Working towards separating out turbine QUIC from TPU.
2023-07-03 18:57:18 +00:00
sakridge
7ff5e463e9
Move is_niceness logic out of clap utils to reduce dependencies ( #32331 )
...
Move is_niceness logic out of clap utils to reduce dependencies..
..for solana-keygen
2023-06-29 14:03:36 +02:00
Ashwin Sekar
cbb5381a98
feature flag cleanup: vote_state_update_root_fix ( #32321 )
2023-06-28 21:26:58 -07:00
dependabot[bot]
c0d8891d36
Bump serde_yaml from 0.9.21 to 0.9.22 ( #32264 )
...
* Bump serde_yaml from 0.9.21 to 0.9.22
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.21...0.9.22 )
---
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>
2023-06-29 04:19:21 +00:00
dependabot[bot]
d6a0406d54
Bump proc-macro2 from 1.0.60 to 1.0.61 ( #32271 )
...
* Bump proc-macro2 from 1.0.60 to 1.0.61
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.60...1.0.61 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-06-28 21:25:58 -06:00
dependabot[bot]
169307d405
Bump serde_json from 1.0.97 to 1.0.99 ( #32263 )
...
* Bump serde_json from 1.0.97 to 1.0.99
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.97 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.97...v1.0.99 )
---
updated-dependencies:
- dependency-name: serde_json
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-06-28 21:21:16 -06:00
samkim-crypto
4bc8f90182
[zk-token-sdk] Add fee sigma proof verification instruction ( #32291 )
...
* add fee sigma proof verification instruction
* update proof program processor for fee sigma proof
* update bench for fee sigma proof
* cargo fmt
* clippy
* fix target arch
* add comments to describe fee, delta, and claimed instruction data field
2023-06-28 09:49:56 +09:00
HaoranYi
b12180b863
Add epoch_rewards syscalls ( #32159 )
...
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-06-27 09:14:43 -05:00
Brooks
95fae285a4
Introduces fs_err to snapshot_utils ( #32266 )
2023-06-26 13:14:27 -04:00
Tyera
02eaaae513
Clean up credits_auto_rewind feature ( #32211 )
...
* Remove credits_auto_rewind feature logic from stake program
* Obey clean-up orders
* Clippy prefers this match
* Remove credits_auto_rewind feature helpers from Bank
* Comment nit for language, and shrink to fit on one line
2023-06-24 10:26:27 -06:00
Brooks
64ecfaf769
Renames --boot-from-local-state to --use-snapshot-archives-at-startup ( #32217 )
2023-06-23 18:34:18 -04:00
Jon Cinque
383063eeb2
stake: Remove `stake_allow_zero_undelegated_amount` usage ( #32210 )
2023-06-23 13:57:18 -07:00
behzad nouri
f6e039b0b3
moves turbine to a separate crate out of solana/core ( #32226 )
2023-06-22 16:22:11 +00:00
samkim-crypto
1452ed7044
[zk-token-sdk] Make `ElGamalKeypair` fields private ( #32190 )
...
* make `ElGamalKeypair` fields private
* update the rest of `zk-token-sdk` for the visibility update
* update `zk-token-proof-tests` for the visibility update
* update `zk-keygen` for the visibility update
* update `zk-token-proof` benches for the updated visibility
* cargo fmt
* rename `ElGamalKeypair::new` to `ElGamalKeypair::new_for_tests`
2023-06-22 10:28:13 +09:00
Ashwin Sekar
c142ba1e61
vote_processor: Add tests for CompactVoteStateUpdate ( #32229 )
2023-06-21 20:25:40 +00:00
dependabot[bot]
6fdac22c66
Bump openssl from 0.10.54 to 0.10.55 ( #32215 )
...
* Bump openssl from 0.10.54 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.54 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.54...openssl-v0.10.55 )
---
updated-dependencies:
- dependency-name: openssl
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-06-21 03:36:07 +00:00
samkim-crypto
1bc101252c
[zk-token-sdk] Use `TryFrom<&[T]>` for `&[T]` instead of `arrayref` ( #31959 )
...
* remove `arrayref` from `auth_encryption`
* remove `arrayref` from `sigma_proofs`
* refactor `canonical_scalar_from_slice`
* remove `arrayref` from `Cargo.toml`
* cargo lock
2023-06-21 06:14:18 +09:00
dependabot[bot]
5c679e458b
Bump serde from 1.0.163 to 1.0.164 ( #32028 )
...
* Bump serde from 1.0.163 to 1.0.164
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164 )
---
updated-dependencies:
- dependency-name: serde
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-06-20 19:43:23 +00:00
dependabot[bot]
ad96860a7f
Bump sha2 from 0.10.6 to 0.10.7 ( #32202 )
...
* Bump sha2 from 0.10.6 to 0.10.7
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.6 to 0.10.7.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.6...sha2-v0.10.7 )
---
updated-dependencies:
- dependency-name: sha2
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-06-20 12:53:14 -06:00
dependabot[bot]
fcac1c06e8
Bump serde_json from 1.0.96 to 1.0.97 ( #32203 )
...
* Bump serde_json from 1.0.96 to 1.0.97
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97 )
---
updated-dependencies:
- dependency-name: serde_json
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-06-20 12:50:27 -06:00
dependabot[bot]
5326b0db5b
Bump blake3 from 1.3.3 to 1.4.0 ( #32041 )
...
* Bump blake3 from 1.3.3 to 1.4.0
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.3.3...1.4.0 )
---
updated-dependencies:
- dependency-name: blake3
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>
2023-06-19 12:53:51 -06:00
dependabot[bot]
eb380bead9
Bump js-sys from 0.3.63 to 0.3.64 ( #32089 )
...
* Bump js-sys from 0.3.63 to 0.3.64
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.63 to 0.3.64.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
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-06-19 12:52:37 -06:00
dependabot[bot]
7cd3c1e8a6
Bump wasm-bindgen from 0.2.86 to 0.2.87 ( #32120 )
...
* Bump wasm-bindgen from 0.2.86 to 0.2.87
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.86 to 0.2.87.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.86...0.2.87 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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-06-19 12:52:25 -06:00
dependabot[bot]
66040df0fa
Bump proc-macro2 from 1.0.59 to 1.0.60 ( #32027 )
...
* Bump proc-macro2 from 1.0.59 to 1.0.60
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.59...1.0.60 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-06-19 12:51:06 -06:00
dependabot[bot]
96319dbc94
Bump log from 0.4.18 to 0.4.19 ( #32070 )
...
* Bump log from 0.4.18 to 0.4.19
Bumps [log](https://github.com/rust-lang/log ) from 0.4.18 to 0.4.19.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.18...0.4.19 )
---
updated-dependencies:
- dependency-name: log
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-06-19 12:10:57 -06:00
Alessandro Decina
8757f8df73
programs/sbf: c/float: work on stack values ( #32192 )
...
Before this change the program was writing into the realloc region.
Direct mapping is going to enforce permissions on the realloc region,
and the program doesn't have permissions to write, so move to working on
the stack to avoid access violation errors.
2023-06-19 18:04:19 +02:00
samkim-crypto
875b95a07b
[zk-token-proof] Add benches for proof instructions ( #32071 )
...
* add bench test for `VerifyPubkeyValidity`
* add bench test for `VerifyRangeProofU64`
* add bench test for `VerifyWithdraw`
* add bench test for `VerifyZeroBalance`
* add bench test for `VerifyGroupedCiphertextValidity`
* add bench test for `VerifyCiphertextCommitmentEquality`
* add bench test for `VerifyCiphertextCiphertextEquality`
* add bench test for `VerifyBatchedGroupedCiphertextValidity`
* add bench test for `VerifyBatchedRangeProofu64`, `VerifyBatchedRangeProofU128`, `VerifyBatchedRangeProofU256`
* add bench test for `VerifyTransfer` and `VerifyTransferWithFee`
* use add `criterion` to workspace cargo
* add bench to ci
2023-06-18 07:52:20 +09:00
galactus
2ceabd9368
Simd 47 syscall sysvar last restart slot ( #31957 )
...
* add sysvar and logic for last restart slot
* cleanup
* add test for getting last restart slot from account
* format code
* add some basic rustdoc
* copy+paste error
* feature flag for last_restart_slot
* add to sysvars.md
* updated wording in sysvars.md
* rename sol_get_last_restart_slot_sysvar > sol_get_last_restart_slot
* create sbf C header for sol_get_last_restart_slot
* cleanup imports
* reverted hardened_unpack workaround
* cleanup imports
* cleanup logs + blank lines
* Implementing ui changes for last restart slot, nit
* Some more nit change and implementing the UI for sysvar
* fixing the CI
* Minor clippy fix
* format changes
* changes suggested by mvines and lichtso
* increase timeout in local_cluster test
* fix code format
* use keypair for feature flag from mvines
* delete test.json file
* Revert "increase timeout in local_cluster test"
This reverts commit a67465ae22
.
* last restart slot should be always less than or equal to current slot
* fixing bug
* changes after steviez comments
* format issue fixed
* fixing the comment on premature application of future hardfork
* nit change in test
Co-authored-by: steviez <steven@solana.com>
* reverting sysvar_cache.rs because change was not necessary
---------
Co-authored-by: steve-gg <grooviegermanikus@gmail.com>
Co-authored-by: steviez <steven@solana.com>
2023-06-16 20:14:02 +00:00
Jon Cinque
bd4196b084
Revert "Bump borsh from 0.10.3 to 0.11.0 ( #31964 )" ( #32145 )
...
This reverts commit 902d8b73fe
.
2023-06-15 02:36:37 +02:00
Brooks
ae65b35d9b
Removes StakeInstruction::GetMinimumDelegation featurization ( #32121 )
2023-06-14 19:01:17 -04:00
Alexander Meißner
3b0b0ba07d
Cleanup - filter_votes_outside_slot_hashes ( #31760 )
...
filter_votes_outside_slot_hashes
2023-06-14 01:31:27 +02:00
dependabot[bot]
902d8b73fe
Bump borsh from 0.10.3 to 0.11.0 ( #31964 )
...
* Bump borsh from 0.10.3 to 0.11.0
Bumps [borsh](https://github.com/near/borsh-rs ) from 0.10.3 to 0.11.0.
- [Release notes](https://github.com/near/borsh-rs/releases )
- [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/near/borsh-rs/compare/borsh-v0.10.3...borsh-v0.11.0 )
---
updated-dependencies:
- dependency-name: borsh
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
* Add allow line
* Move warning line
---------
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: Jon Cinque <joncinque@pm.me>
2023-06-13 21:45:45 +02:00
behzad nouri
ec0001ef85
adds code-path broadcasting shreds using QUIC ( #31610 )
...
adds quic connection cache to turbine
Working towards migrating turbine to QUIC.
2023-06-12 22:58:27 +00:00
mvines
129b457c99
Remove StakeInstruction::DeactivateDelinquent featurization ( #32045 )
2023-06-09 22:56:13 -04:00
Jeff Washington (jwash)
4ebec905c5
add hash_rewards_into_partitions ( #31795 )
...
* add sort_and_shuffle_partitioned_rewards
* break stake accounts into partitions by hashing
* fmt
* Update runtime/src/epoch_rewards_hasher.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/src/bank/tests.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/src/bank/tests.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/src/bank.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* fix build
* more build fixes
* use spihasher13 for reward partition
* update comments
* revert calc reward struct change to avoid abi changes for now
* cippy
* sort deps
* saturating math
* use copy traits on hasher
use parent block hash to seed rewards partition
* fmt
* use concurrent map to speed up reward partition
* clippy
* Update runtime/src/epoch_rewards_hasher.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/Cargo.toml
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update runtime/src/bank.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* rename
* address review comments
* cargo.lock
* Update runtime/src/bank.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* update test
* clippy
* comments
* move hash_address_to_partition to epoch_rewards_hasher.rs
* tests to nail down width of partitions
* rename parameter to match with comments
* hash_address takes &self
* clippy
* EpochRewardHasher -> EpochRewardsHasher
* revert "hash_address takes &self" and refactor
* stake_rewards takes by value
---------
Co-authored-by: HaoranYi <haoran.yi@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-06-09 11:55:01 -07:00
dependabot[bot]
74a9fc9641
Bump libc from 0.2.145 to 0.2.146 ( #32010 )
...
* Bump libc from 0.2.145 to 0.2.146
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.145 to 0.2.146.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.145...0.2.146 )
---
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-06-07 12:18:40 -06:00
dependabot[bot]
68b843860d
Bump tempfile from 3.5.0 to 3.6.0 ( #32009 )
...
* Bump tempfile from 3.5.0 to 3.6.0
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: tempfile
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>
2023-06-07 10:39:30 -06:00
dependabot[bot]
7d8289ba87
Bump regex from 1.8.3 to 1.8.4 ( #32008 )
...
* Bump regex from 1.8.3 to 1.8.4
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.8.3...1.8.4 )
---
updated-dependencies:
- dependency-name: regex
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-06-07 10:38:37 -06:00
Pankaj Garg
c86e160438
Add runtime environment to FailedVerification tombstones ( #31991 )
...
* Add runtime environment to FailedVerification tombstones
* modify default variant
* prune update
* add DelayVisibility in prune_feature_set_transition
2023-06-06 22:24:39 +00:00
dependabot[bot]
031032b39f
Bump openssl from 0.10.53 to 0.10.54 ( #31937 )
...
* Bump openssl from 0.10.53 to 0.10.54
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.53 to 0.10.54.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.53...openssl-v0.10.54 )
---
updated-dependencies:
- dependency-name: openssl
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-06-06 12:38:34 -06:00
dependabot[bot]
7a85e38bf7
Bump url from 2.3.1 to 2.4.0 ( #31969 )
...
* Bump url from 2.3.1 to 2.4.0
Bumps [url](https://github.com/servo/rust-url ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: url
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>
2023-06-06 12:38:02 -06:00
dependabot[bot]
99af39d8d0
Bump libc from 0.2.144 to 0.2.145 ( #31966 )
...
* Bump libc from 0.2.144 to 0.2.145
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.144 to 0.2.145.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.144...0.2.145 )
---
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-06-06 12:36:40 -06:00
dependabot[bot]
f0154edc59
Bump indicatif from 0.17.4 to 0.17.5 ( #31965 )
...
* Bump indicatif from 0.17.4 to 0.17.5
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.4 to 0.17.5.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.4...0.17.5 )
---
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>
2023-06-06 12:36:06 -06:00
dependabot[bot]
aeafe51be8
Bump once_cell from 1.17.2 to 1.18.0 ( #31967 )
...
* Bump once_cell from 1.17.2 to 1.18.0
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2023-06-06 12:35:41 -06:00
Alexander Meißner
89207a3fe5
Feature - Prune on feature set transition ( #31945 )
...
* Call create_program_runtime_environment() in Bank::apply_builtin_program_feature_transitions().
* Adds LoadedPrograms::prune_feature_set_transition().
2023-06-06 17:49:02 +02:00
Ryo Onodera
4227d0ee35
Bump patched ntapi from v0.3.6 to v0.3.7 ( #31981 )
2023-06-06 13:33:57 +09:00
Ryo Onodera
c1d68d3bc8
Patch ntapi more thoroughly ( #31970 )
...
* Patch spl-token-cli build as well...
* Patch sbf/Cargo.toml for consistency
2023-06-05 21:22:59 +09:00
Pankaj Garg
1b30de4f32
Retain runtime environment config for unloaded programs ( #31953 )
...
* Retain runtime environment config for unloaded programs
2023-06-03 09:38:11 +02:00
Pankaj Garg
37ebb709e6
Evict program cache using transaction usage counter ( #31927 )
...
* Evict program cache using tx usage counter
* address review feedback
* address review feedback
2023-06-02 11:26:56 -07:00
Yihau Chen
2394e96bce
chore: bump zeroize_derive to 1.4.2 ( #31940 )
2023-06-02 15:38:27 +00:00
Yihau Chen
c91f40b865
chore: bump cpufeatures to 0.2.7 ( #31938 )
2023-06-02 15:38:06 +00:00
Tao Zhu
10995f66c0
use one definition of builtin program cost in runtime and banking stage ( #31930 )
...
* use one definition of builtin program cost in runtime and banking stage
* add loader_v4
2023-06-02 10:22:22 -05:00
Yihau Chen
e587df1285
ci: update cargo.toml ( #31934 )
...
* ci: add missing description and documentation to zk-token-sdk/Cargo.toml
* ci: add missing description back to programs/bpf_loader/Cargo.toml
* ci: add missing description back to banks-client/Cargo.toml
2023-06-02 15:08:07 +00:00
Alexander Meißner
3792204598
Bump solana_rbpf to v0.5.0 ( #31943 )
...
* Renames RBPF BuiltIn to Builtin.
* Bump solana_rbpf to v0.5.0
2023-06-02 16:34:01 +02:00
Yihau Chen
857f7f9aaa
ci: make loader v4 program publish = true ( #31932 )
...
* update description
* publish solana-loader-v4-program
2023-06-02 07:24:17 +00:00
Pankaj Garg
449f92e32c
Reverify programs that are extended using ExtendProgram ( #31886 )
2023-06-01 06:17:42 -07:00
samkim-crypto
0495051a67
[zk-token-sdk] Add `VerifyGroupedCiphertext2HandlesValidity` and `VerifyBatchedGroupedCiphertext2HandlesValidity` proof instructions ( #31816 )
...
* add grouped ciphertext validity proof data
* add batched grouped ciphertext validity proof data
* rename proof contexts and data for consistency
* add grouped ciphertext validity proof instructions
* Update zk-token-sdk/src/instruction/batched_grouped_ciphertext_validity.rs
Co-authored-by: Tyera <teulberg@gmail.com>
---------
Co-authored-by: Tyera <teulberg@gmail.com>
2023-06-01 15:58:36 +09:00
dependabot[bot]
1af1d42b9a
Bump chrono from 0.4.24 to 0.4.26 ( #31884 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.24 to 0.4.26.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](chronotope/chrono@v0.4.24...v0.4.26)
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-30 16:36:28 -07:00
dependabot[bot]
2410b34743
Bump openssl from 0.10.52 to 0.10.53 ( #31865 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.52 to 0.10.53.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](sfackler/rust-openssl@openssl-v0.10.52...openssl-v0.10.53)
---
updated-dependencies:
- dependency-name: openssl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-30 15:48:38 -07:00
dependabot[bot]
8b3f0c47e6
Bump once_cell from 1.17.1 to 1.17.2 ( #31868 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](matklad/once_cell@v1.17.1...v1.17.2)
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-30 15:44:05 -07:00
dependabot[bot]
bd1a109036
Bump log from 0.4.17 to 0.4.18 ( #31856 )
...
* Bump log from 0.4.17 to 0.4.18
Bumps [log](https://github.com/rust-lang/log ) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.17...0.4.18 )
---
updated-dependencies:
- dependency-name: log
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-30 16:05:16 -06:00
Kevin Ji
8c73a2cae9
Bump borsh to 0.10.3 ( #30975 )
...
* Bump borsh to 0.10.3
transaction-status relies on SPL which still requires borsh 0.9, so
until SPL also gets updated that package alone will use an older version of
borsh.
* ci: Temporarily disable spl and openbook-dex builds
2023-05-30 23:33:21 +02:00
Will Hickey
b799b8632c
Bump version to 1.17 ( #31806 )
2023-05-30 15:04:47 -05:00
dependabot[bot]
8203c6e85a
Bump indicatif from 0.17.3 to 0.17.4 ( #31857 )
...
* Bump indicatif from 0.17.3 to 0.17.4
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.3...0.17.4 )
---
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>
2023-05-30 10:34:01 -06:00
samkim-crypto
2ebf38efd0
[zk-token-sdk] Add ciphertext-commitment equality proof instruction ( #31808 )
...
* add ciphertext-commitment proof data
* add ciphertext-commitment proof instruction
* update proof program processor for ciphertext-commitment equality proof
* cargo fmt
* update compute units
* rename submodule `ctxt_comm_equality` to `ciphertext_commitment_equality`
* update import statements
* fix mixed conflict
* remove `native_programs_consume_cu`
2023-05-27 11:25:29 +09:00
dependabot[bot]
e58ad81b64
Bump syn from 2.0.16 to 2.0.18 ( #31843 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.16 to 2.0.18.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](dtolnay/syn@2.0.16...2.0.18)
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-26 15:24:58 -07:00
dependabot[bot]
90c8a3f909
Bump proc-macro2 from 1.0.58 to 1.0.59 ( #31839 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](dtolnay/proc-macro2@1.0.58...1.0.59)
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-26 14:15:08 -07:00
samkim-crypto
ad4d1e5ff2
[zk-token-sdk] Add aggregate range proof instructions ( #31793 )
...
* add aggregate range proof instructions data
* add aggregate range proof instruction
* update proof program processor for aggregate range proof instructions
* cargo fmt
* Update zk-token-sdk/src/instruction/aggregate_range_proof/aggregate_range_proof_256.rs
Co-authored-by: mvines <mvines@gmail.com>
* add remark in instruction description that context state account must be pre-allocated
* use `u64::BITS` and `u128::BITS`
* add proof description in `zk_token_proof_instruction.rs`
* rename instruction names to `VerifyBatchedRangeProofU{N}`
* rename module names from `aggregate` to `batched`
* add `tokio::test` that was lost in rebase
---------
Co-authored-by: mvines <mvines@gmail.com>
2023-05-27 05:46:11 +09:00
dependabot[bot]
d4baddf8e8
Bump base64 from 0.21.1 to 0.21.2 ( #31838 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.1 to 0.21.2.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](marshallpierce/rust-base64@v0.21.1...v0.21.2)
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-26 12:21:22 -07:00
dependabot[bot]
8214dc375f
Bump regex from 1.8.2 to 1.8.3 ( #31837 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.2 to 1.8.3.
- [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.2...1.8.3)
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-26 12:19:51 -07:00
dependabot[bot]
3af150d100
Bump quote from 1.0.27 to 1.0.28 ( #31836 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.27 to 1.0.28.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](dtolnay/quote@1.0.27...1.0.28)
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-26 12:17:05 -07:00
samkim-crypto
ef7ca5ee8b
[zk-token-sdk] add range-proof proof instruction ( #31788 )
...
* add `VerifyRangeProof` instruction
* update proof program processor for `VerifyRangeProof64`
* specify target arch for `RANGEPROOF64_BIT_LENGTH
* rename `transcript_new` to `new_transcript`
* add constructor for `VerifyRangeProof64`
* add remark in the instruction description that context state account must be pre-allocated
* add proof description in `zk_token_proof_instruction.rs`
* rename `VerifyRangeProof64` to `VerifyRangeProofU64`
* use `u64::BITS`
* Update zk-token-sdk/src/zk_token_proof_instruction.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Apply suggestions from code review
Co-authored-by: Tyera <teulberg@gmail.com>
* fix range proof test
---------
Co-authored-by: Tyera <teulberg@gmail.com>
2023-05-26 15:42:01 +09:00