dependabot[bot]
f6d43f14be
Bump anyhow from 1.0.70 to 1.0.71 ( #31449 )
...
* Bump anyhow from 1.0.70 to 1.0.71
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71 )
---
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-05-02 20:20:54 +00:00
dependabot[bot]
d6f65ccc27
Bump tempfile from 3.4.0 to 3.5.0 ( #31439 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-02 11:29:23 -07:00
dependabot[bot]
9b6cadc102
Bump prost-types from 0.11.8 to 0.11.9 ( #31437 )
...
* Bump prost-types from 0.11.8 to 0.11.9
Bumps [prost-types](https://github.com/tokio-rs/prost ) from 0.11.8 to 0.11.9.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.8...v0.11.9 )
---
updated-dependencies:
- dependency-name: prost-types
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-02 15:53:07 +00:00
dependabot[bot]
66faf25559
Bump hyper from 0.14.25 to 0.14.26 ( #31438 )
...
* Bump hyper from 0.14.25 to 0.14.26
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.25 to 0.14.26.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.26/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.25...v0.14.26 )
---
updated-dependencies:
- dependency-name: hyper
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-02 09:40:03 -06:00
dependabot[bot]
bc76c69a01
Bump matches from 0.1.9 to 0.1.10 ( #31440 )
...
* Bump matches from 0.1.9 to 0.1.10
Bumps [matches](https://github.com/SimonSapin/rust-std-candidates ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/SimonSapin/rust-std-candidates/releases )
- [Commits](https://github.com/SimonSapin/rust-std-candidates/commits )
---
updated-dependencies:
- dependency-name: matches
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-02 09:39:00 -06:00
Illia Bobyr
a27ff1c65e
Bump console from 0.15.0 to 0.15.5 ( #31435 )
...
Changes:
console-rs/console@0.15.0...0.15.5
This is a re-application of this change:
commit 4e3300e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Apr 20 15:40:14 2023 -0700
Bump console from 0.15.0 to 0.15.5 (#31289 )
Bumps [console](https://github.com/console-rs/console ) from 0.15.0 to 0.15.5.
- [Release notes](https://github.com/console-rs/console/releases )
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](console-rs/console@0.15.0...0.15.5)
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
It is now safe to upgrade after
commit b790c12
Author: Illia Bobyr <illia.bobyr@solana.com>
Date: Sat Apr 29 01:23:15 2023 -0700
Cargo.toml: winapi: List used features (#31417 )
2023-05-02 00:43:56 -07:00
dependabot[bot]
3bcd0bdc6d
Bump sysctl from 0.4.4 to 0.4.6 ( #31423 )
...
Bumps [sysctl](https://github.com/johalun/sysctl-rs ) from 0.4.4 to 0.4.6.
- [Release notes](https://github.com/johalun/sysctl-rs/releases )
- [Changelog](https://github.com/johalun/sysctl-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/johalun/sysctl-rs/commits/v0.4.6 )
---
updated-dependencies:
- dependency-name: sysctl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-01 17:41:58 -07:00
dependabot[bot]
96ef87f976
Bump crossbeam-channel from 0.5.7 to 0.5.8 ( #31424 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.7...crossbeam-channel-0.5.8)
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-01 17:39:18 -07:00
dependabot[bot]
021daea9ec
Bump serde from 1.0.159 to 1.0.160 ( #31427 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.159 to 1.0.160.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](serde-rs/serde@v1.0.159...v1.0.160)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-05-01 17:37:29 -07:00
dependabot[bot]
53e9e8b8d7
Bump syn from 2.0.5 to 2.0.12 ( #31388 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.5 to 2.0.12.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](dtolnay/syn@2.0.5...2.0.12)
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-04-28 17:03:50 -07:00
Alessandro Decina
117a194b73
Account data direct mapping ( #28053 )
...
* AccountSharedData: make data_mut() private
This ensures that the inner Vec is never handed out. This is in
preparation of enforcing that the capacity of the inner vec never
shrinks, which is required for direct mapping.
* Adds the feature bpf_account_data_direct_mapping.
* Remaps EbpfError::AccessViolation into InstructionError::ReadonlyDataModified.
* WIP: Memory regions for each instruction account in create_vm().
* Fix serialization benches, run both copy and !copy variants
* rbpf-cli: fix build
* BorrowedAccount: ensure that account capacity is never reduced
Accounts can be directly mapped in address space. Their capacity can't
be reduced mid transaction as that would create holes in vm address
space that point to invalid host memory.
* bpf_load: run serialization tests for both copy and !copy account data
* bpf_loader: add Serializer::write_account
* fix lints
* BorrowedAccount: make_data_mut is host only
* Fix unused import warning
* Fix lints
* cpi: add explicit direct_mapping arg to update_(callee|caller)_account
* cpi: rename account_data_or_only_realloc_padding to serialized_data
* cpi: add CallerAccount::original_data_len comment
* cpi: add update_callee_account direct_mapping test
* cpi: add test_update_caller_account_data_direct_mapping and fix bug
We used to have a bug in zeroing data when shrinking account, where we zeroed
the spare account capacity but not the realloc padding.
* cpi: add tests for mutated readonly accounts
* cpi: update_caller_account doesn't need to change .serialized_data when direct_mapping is on
* cpi: update_caller_account: ensure that account capacity is always enough
Introduce a better way to ensure that account capacity never goes below what
might be mapped in memory regions.
* cpi: zero account capacity using the newly introduced BorrowedAccount::spare_data_capacity_mut()
Before we were using BorrowedAccount::get_data_mut() to get the base pointer to
the account data, then we were slicing the spare capacity from it. Calling
get_data_mut() doesn't work if an account has been closed tho, since the
current program doesn't own the account anymore and therefore get_data_mut()
errors out.
* bpf_loader: fix same lint for the umpteenth time
* bpf_loader: map AccessViolation to ReadonlyDataModified only for account region violations
* programs/sbf: realloc: add test for large write after realloc
Add a test that after a realloc does a large write that spans the
original account length and the realloc area. This ensures that memory
mapping works correctly across the boundary.
* programs/sbf: run test_program_sbf_realloc with both direct_mapping on and off
By default test banks test with all features on. This ensures we keep
testing the existing code until the new feature is enabled.
* bpf_loader: tweak memcmp syscall
Split the actual memcmp code in a separate function. Remove check
indexing the slices since the slices are guaranteed to have the correct
length by construction.
* bpf_loader: tweak the memset syscall
Use slice::fill, which is effectively memset.
* bpf_loader: syscalls: update mem syscalls to work with non contiguous memory
With direct mapping enabled, accounts can now span multiple memory
regions.
* fix lint, rebase mem_ops
* Implement CoW for writable accounts
* Fix CI
* Move CoW to the MemoryMapping level
* Update after rbpf API change
* Fix merge screwup
* Add create_vm macro. Fix benches.
* cpi: simplify update_caller_account
Simplify the logic to update a caller's memory region when a callee
causes an account data pointer to change (eg during CoW)
* benches/bpf_loader: move serialization out of create_vm bench
* benches/bpf_loader: don't copy accounts when direct mapping is on
* Fix review nits
* bpf_loader: mem_ops: handle u64 overflow in MemoryChunkIterator::new
When starting at u64::MAX, the chunk iterator would always return the
empty sequence (None on the first next()) call, instead of returning a
memory access violation.
Use checked instead of saturating arithmetic to detect the condition and
error out.
This commit also adds more tests around boundary conditions.
* Fix loader-v3 tests: data_mut => data_as_mut_slice
* Fix CI
* bpf_loader: fix tuner bench: account must be writable
With direct mapping on, invalid writes are caught early meaning the
tuner would fail on the first store and not consume the whole budget
like the benchmark expects.
---------
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2023-04-29 06:54:39 +10:00
dependabot[bot]
138d6bc305
Bump http from 0.2.8 to 0.2.9 ( #31389 )
...
* Bump http from 0.2.8 to 0.2.9
Bumps [http](https://github.com/hyperium/http ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.8...v0.2.9 )
---
updated-dependencies:
- dependency-name: http
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-04-28 12:54:37 -06:00
dependabot[bot]
6ac080282d
Bump semver from 1.0.16 to 1.0.17 ( #31385 )
...
* Bump semver from 1.0.16 to 1.0.17
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.16...1.0.17 )
---
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-04-28 11:36:44 -06:00
dependabot[bot]
280d70a89f
Bump prost from 0.11.8 to 0.11.9 ( #31386 )
...
* Bump prost from 0.11.8 to 0.11.9
Bumps [prost](https://github.com/tokio-rs/prost ) from 0.11.8 to 0.11.9.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.8...v0.11.9 )
---
updated-dependencies:
- dependency-name: prost
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-04-28 11:35:35 -06:00
Pankaj Garg
94dc8fed55
Check program modification slots during cold start ( #31331 )
2023-04-28 06:22:14 -07:00
dependabot[bot]
95806c3295
Bump openssl from 0.10.48 to 0.10.51 ( #31323 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.48 to 0.10.51.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](sfackler/rust-openssl@openssl-v0.10.48...openssl-v0.10.51)
---
updated-dependencies:
- dependency-name: openssl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-04-27 20:17:58 -07:00
dependabot[bot]
1bb0bb52c1
Bump rustls from 0.20.6 to 0.20.8 ( #31367 )
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.20.6 to 0.20.8.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md )
- [Commits](rustls/rustls@v/0.20.6...v/0.20.8)
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-04-27 20:09:28 -07:00
dependabot[bot]
18baafbb48
Bump tokio-stream from 0.1.9 to 0.1.12 ( #31307 )
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.9 to 0.1.12.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](tokio-rs/tokio@tokio-stream-0.1.9...tokio-stream-0.1.12)
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: illia.bobyr@solana.com
2023-04-27 19:41:40 -07:00
Kevin Heavey
7e2b1a885f
delete rpc_banks_service.rs ( #31369 )
...
* delete rpc_banks_service.rs
* remove now-unused tokio-stream dep
* run cargo-for-all-lockfiles
2023-04-27 18:26:44 +00:00
Tyera
9af7009bb4
Add new CreateVoteAccount instruction-set builders ( #31330 )
...
* Add failing test
* Add config struct for vote-account creation
* Add create-vote-account ix builders that use CreateVoteAccountConfig
* Test now passes; add case to demonstrate failure after activation
* Deprecate existing ix builders
* Use new builders in solana-cli
* Query feature status to use correct VoteState size in solana-cli
* Fix tests and clippy warnings
* Improve ugly conditional block
2023-04-27 11:14:39 -06:00
Kevin Heavey
e5223e19c7
remove unused solana-net-utils dep from solana-client ( #31372 )
2023-04-27 16:14:43 +00:00
dependabot[bot]
6b1980285b
Bump signal-hook from 0.3.14 to 0.3.15 ( #31322 )
...
* Bump signal-hook from 0.3.14 to 0.3.15
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.14...v0.3.15 )
---
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-04-26 14:24:56 -06:00
dependabot[bot]
b6e2c83177
Bump serde_json from 1.0.83 to 1.0.96 ( #31356 )
...
* Bump serde_json from 1.0.83 to 1.0.96
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.83 to 1.0.96.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.83...v1.0.96 )
---
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-04-26 13:37:28 -06:00
Alexander Meißner
c05d1d5c51
Refactor - Moves bpf_loader registration into the runtime ( #31345 )
...
* Moves the registration of bpf_loader built-ins from the ledger into the runtime.
* Removes bpf_loader built-ins registration in tests and benchmarks.
* Removes declare_builtin!() of bpf_loader built-ins.
* Removes built-ins from the SDK.
* Adjusts tests.
2023-04-26 14:44:19 +02:00
Brooks
32fb15655e
Upgrades fs_extra to v1.3.0 ( #31341 )
2023-04-25 18:29:19 -04:00
Alexander Meißner
7002c568fb
Cleanup - Removes the CLI option "no-bpf-jit" ( #31329 )
...
* Enables JIT everywhere by default.
* Removes the CLI argument "no-bpf-jit" and its plumbering through out the validator code base.
* Removes with_jit bpf_loader variants.
* Removes the to_builtin!() macro.
2023-04-25 19:04:11 +02:00
Illia Bobyr
cc6c454076
Bump syn from 1.0.109 to 2.0.5 ( #31263 )
...
Update users based on the new syn ABI.
Short API update summary can be found here:
https://github.com/dtolnay/syn/releases/tag/2.0.0
2023-04-24 22:18:51 -07:00
dependabot[bot]
d7ad0ce093
Bump libc from 0.2.140 to 0.2.142 ( #31308 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.140 to 0.2.142.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](rust-lang/libc@0.2.140...0.2.142)
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 15:51:32 -07:00
dependabot[bot]
74e02ad14e
Bump num_cpus from 1.13.1 to 1.15.0 ( #31309 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.13.1 to 1.15.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.13.1...v1.15.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>
2023-04-21 12:02:41 -07:00
dependabot[bot]
39b548153a
Bump socket2 from 0.4.7 to 0.4.9 ( #31302 )
...
* Bump socket2 from 0.4.7 to 0.4.9
Bumps [socket2](https://github.com/rust-lang/socket2 ) from 0.4.7 to 0.4.9.
- [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/v0.4.9 )
---
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-04-21 12:01:43 -06:00
dependabot[bot]
4975a1a4c8
Bump either from 1.8.0 to 1.8.1 ( #31299 )
...
* Bump either from 1.8.0 to 1.8.1
Bumps [either](https://github.com/bluss/either ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/bluss/either/releases )
- [Commits](https://github.com/bluss/either/compare/1.8.0...1.8.1 )
---
updated-dependencies:
- dependency-name: either
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-04-21 11:48:22 -06:00
dependabot[bot]
fb3684ff86
Bump serde_with from 2.2.0 to 2.3.2 ( #31300 )
...
* Bump serde_with from 2.2.0 to 2.3.2
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 2.2.0 to 2.3.2.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v2.2.0...v2.3.2 )
---
updated-dependencies:
- dependency-name: serde_with
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-04-21 11:46:15 -06:00
Alexander Meißner
e5490b8d09
Refactor - Use builtin function interface from rbpf ( #31221 )
...
* Removes test_program_entry_debug().
* Uses declare_process_instruction!() in all tests and benchmarks.
* Replaces with ProcessInstructionWithContext with solana_rbpf::BuiltInFunction.
2023-04-21 18:08:32 +02:00
Illia Bobyr
94350f0959
Revert: Bump console from 0.15.0 to 0.15.5 ( #31289 ) ( #31294 )
...
commit 4e3300e7d6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Apr 20 15:40:14 2023 -0700
Bump console from 0.15.0 to 0.15.5 (#31289 )
Bumps [console](https://github.com/console-rs/console ) from 0.15.0 to 0.15.5.
- [Release notes](https://github.com/console-rs/console/releases )
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](console-rs/console@0.15.0...0.15.5)
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Windows build is broken with the following error:
Compiling solana-genesis-utils v1.16.0 (D:\a\solana\solana\genesis-utils)
error[E0432]: unresolved import `winapi::um::winuser`
--> install\src\command.rs:385:17
|
385 | um::winuser::{
| ^^^^^^^ could not find `winuser` in `um`
For more information about this error, try `rustc --explain E0432`.
https://github.com/solana-labs/solana/actions/runs/4759519915/jobs/8458877323
2023-04-20 19:37:36 -07:00
dependabot[bot]
4e3300e7d6
Bump console from 0.15.0 to 0.15.5 ( #31289 )
...
Bumps [console](https://github.com/console-rs/console ) from 0.15.0 to 0.15.5.
- [Release notes](https://github.com/console-rs/console/releases )
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](console-rs/console@0.15.0...0.15.5)
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 15:40:14 -07:00
dependabot[bot]
32f3e1a895
Bump protobuf-src from 1.0.5+3.19.3 to 1.1.0+21.5 ( #31287 )
...
Bumps [protobuf-src](https://github.com/MaterializeInc/rust-protobuf-native ) from 1.0.5+3.19.3 to 1.1.0+21.5.
- [Release notes](https://github.com/MaterializeInc/rust-protobuf-native/releases )
- [Changelog](https://github.com/MaterializeInc/rust-protobuf-native/blob/master/release.toml )
- [Commits](https://github.com/MaterializeInc/rust-protobuf-native/compare/protobuf-src-v1.0.5+3.19.3...protobuf-src-v1.1.0 )
---
updated-dependencies:
- dependency-name: protobuf-src
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:18:19 -07:00
dependabot[bot]
e40ff3bd5d
Bump caps from 0.5.4 to 0.5.5 ( #31288 )
...
* Bump caps from 0.5.4 to 0.5.5
Bumps [caps](https://github.com/lucab/caps-rs ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/lucab/caps-rs/releases )
- [Commits](https://github.com/lucab/caps-rs/compare/v0.5.4...v0.5.5 )
---
updated-dependencies:
- dependency-name: caps
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-04-20 20:22:37 +00:00
Tyera
c37b82e01d
Bump h2 to 0.3.18 ( #31265 )
...
Changes: https://github.com/hyperium/h2/compare/v0.3.17...v0.3.18
2023-04-19 11:39:19 -07:00
Alexander Meißner
8162358b8b
Refactor - Moves the system program into its own crate ( #31244 )
...
* Moves the system program into its own crate in "programs/system".
* Moves bank tests back into the runtime to resolve cyclic dependency.
2023-04-19 12:58:08 +02:00
Illia Bobyr
edef599d02
Bump syn from 1.0.107 to 1.0.109 ( #31262 )
...
Changes: https://github.com/dtolnay/syn/compare/1.0.107...1.0.109
Update to syn 2.0.5 is pending due to API changes.
2023-04-18 23:38:28 -07:00
bji
a45710838d
Add new vote state version that replaces Lockout with LandedVote to a… ( #30831 )
...
Add new vote state version that replaces Lockout with LandedVote to allow vote latency to be tracked in a future change.
Includes a feature to be enabled which will when enabled cause the vote state to be written in the new form.
2023-04-18 20:27:38 -07:00
dependabot[bot]
2b2eccfff9
Bump num_enum from 0.5.9 to 0.6.1 ( #31122 )
...
* Bump num_enum from 0.5.9 to 0.6.0
Bumps [num_enum](https://github.com/illicitonion/num_enum ) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/illicitonion/num_enum/releases )
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.9...0.6.0 )
---
updated-dependencies:
- dependency-name: num_enum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use workspace dep for bucket_map
* Bump num_enum to v0.6.1
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2023-04-17 23:49:43 -06:00
Andrew Fitzgerald
72ad275194
remove unused hashbrown dependency ( #31207 )
2023-04-15 21:12:22 -07:00
hana
07e038bceb
clean up delegation errors ( #31202 )
...
* Make delegation errors more descriptive
* Fix tests for StakeError::InsufficientDelegation
2023-04-14 15:30:59 -07:00
dependabot[bot]
0332f5f38d
Bump quinn-proto from 0.9.2 to 0.9.3 ( #31139 )
...
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](quinn-rs/quinn@0.9.2...0.9.3)
---
updated-dependencies:
- dependency-name: quinn-proto
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 12:00:58 -07:00
dependabot[bot]
68315d7563
Bump chrono from 0.4.23 to 0.4.24 ( #31120 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.23 to 0.4.24.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](chronotope/chrono@v0.4.23...v0.4.24)
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 11:57:42 -07:00
Alexander Meißner
8eb31f6cfd
Refactor - Syscalls in RBPF CLI ( #31109 )
...
* Makes members of SyscallContext public.
Removes check_aligned and check_size from SyscallContext.
* Replaces InvokeContext::set_syscall_context() in tests with mock_create_vm!().
* Passes SyscallContext directly to InvokeContext::set_syscall_context().
* Merges TraceLogStackFrame into SyscallContext.
* Removes the create_vm!() macro.
* Moves BpfAllocator from bpf_loader into program_runtime.
* Frees BpfAllocator from Rc<RefCell<>>.
* Removes unused code from BpfAllocator.
* Consume CUs for heap before doing the allocation.
* Exposes syscalls in rbpf-cli.
* Adds debugging_features parameter to load_program_from_bytes() and load_program_from_account().
* Removes test_bpf_loader_non_terminating_program() as that is already tested in RBPF.
* Moves stack and heap allocation back onto the program runtime stack.
2023-04-14 15:20:08 +02:00
Tyera
875df9600d
Bump h2 to v0.3.17 ( #31187 )
...
h2 below v0.3.17 has a denial of service alert: https://github.com/solana-labs/solana/security/dependabot/349
2023-04-13 14:56:59 -07:00
behzad nouri
34da001cda
passes through concrete QUIC connection errors up the call stack ( #31168 )
2023-04-12 19:53:25 +00:00
Pankaj Garg
fb6e02c46c
Retain usage counter on program upgrade ( #31142 )
...
* Retain usage counter on program upgrade
* cleanup as per feedback
* fix clippy
2023-04-11 09:43:42 -07:00
Pankaj Garg
12e3e8b467
Add provisions to unload a program from the cache ( #31036 )
2023-04-10 16:42:05 -07:00
dependabot[bot]
fe8a4015ca
Bump serde from 1.0.158 to 1.0.159 ( #31119 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.158 to 1.0.159.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](serde-rs/serde@v1.0.158...v1.0.159)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 15:19:16 -07:00
Brennan
861bca87f9
Reconfigure genesis hash download and check ( #30949 )
...
* Reconfigure genesis hash download and check
* Propagate get genesis errors
2023-04-10 11:46:56 -07:00
dependabot[bot]
2630f8506a
Bump generic-array from 0.14.6 to 0.14.7 ( #31100 )
...
Bumps [generic-array](https://github.com/fizyk20/generic-array ) from 0.14.6 to 0.14.7.
- [Release notes](https://github.com/fizyk20/generic-array/releases )
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fizyk20/generic-array/commits )
---
updated-dependencies:
- dependency-name: generic-array
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:25:03 -07:00
dependabot[bot]
f105dea502
Bump indicatif from 0.17.1 to 0.17.3 ( #31101 )
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.1 to 0.17.3.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](console-rs/indicatif@0.17.1...0.17.3)
---
updated-dependencies:
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:17:30 -07:00
dependabot[bot]
76c6ded304
Bump anyhow from 1.0.58 to 1.0.70 ( #31102 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.58 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](dtolnay/anyhow@1.0.58...1.0.70)
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:14:33 -07:00
dependabot[bot]
05372274b9
Bump rustversion from 1.0.11 to 1.0.12 ( #31104 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](dtolnay/rustversion@1.0.11...1.0.12)
---
updated-dependencies:
- dependency-name: rustversion
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 16:09:36 -07:00
dependabot[bot]
6e47286e49
Bump serde_yaml from 0.9.13 to 0.9.21 ( #31103 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.13 to 0.9.21.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](dtolnay/serde-yaml@0.9.13...0.9.21)
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 15:58:27 -07:00
Alexander Meißner
0cd57addcf
Cleanup - mock_process_instruction() ( #31088 )
...
* Uses declare_process_instruction!() in all tests.
* Adds post_adjustments to mock_process_instruction().
Removes "solana_sbf_rust_external_spend" from assert_instruction_count() as it panics.
2023-04-07 12:53:19 +02:00
dependabot[bot]
bcd43d7a79
Bump rayon from 1.5.3 to 1.7.0 ( #30981 )
...
* Bump rayon from 1.5.3 to 1.7.0
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.5.3 to 1.7.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.3...rayon-core-v1.7.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-04-06 23:27:53 -06:00
dependabot[bot]
dd82157afb
Bump ouroboros from 0.15.0 to 0.15.6 ( #31090 )
...
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.15.0 to 0.15.6.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 19:11:32 -07:00
dependabot[bot]
9410e95baa
Bump crossbeam-channel from 0.5.6 to 0.5.7 ( #31091 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.6...crossbeam-channel-0.5.7)
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 19:00:49 -07:00
dependabot[bot]
6782a6fe38
Bump strum_macros from 0.24.0 to 0.24.3 ( #31092 )
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.24.0 to 0.24.3.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 18:52:16 -07:00
dependabot[bot]
0783363183
Bump blake3 from 1.3.1 to 1.3.3 ( #31089 )
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](BLAKE3-team/BLAKE3@1.3.1...1.3.3)
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 18:51:40 -07:00
dependabot[bot]
62b7de88e5
Bump chrono-humanize from 0.2.1 to 0.2.2 ( #31075 )
...
Bumps [chrono-humanize](https://gitlab.com/imp/chrono-humanize-rs ) from 0.2.1 to 0.2.2.
- [Release notes](https://gitlab.com/imp/chrono-humanize-rs/tags )
- [Commits](https://gitlab.com/imp/chrono-humanize-rs/compare/0.2.1...0.2.2 )
---
updated-dependencies:
- dependency-name: chrono-humanize
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 11:50:25 -07:00
Pankaj Garg
83e17d8e44
Add expiration slot to loaded program cache entry ( #31034 )
2023-04-05 09:26:28 -07:00
Alexander Meißner
24a87f33a8
Refactor - Cleanup error handling in program runtime ( #30693 )
...
* Moves stable_log::program_invoke(), stable_log::program_success() and stable_log::program_failure() calls from bpf_loader into InvokeContext::process_executable_chain().
* Turns result of ProcessInstructionWithContext from InstructionError into Box<dyn std::error::Error>.
* Bump to solana_rbpf v0.3.0
* Removes Result from return type of EbpfVm::new().
* Turns EbpfError into Box<dyn std::error::Error>.
* Removes BpfError.
* Removes SyscallError::InstructionError.
* Adds a type alias for Box<dyn std::error::Error> in syscalls.
2023-04-05 15:50:34 +02:00
ananas-block
c4648f5a26
bump arkworks deps to version 0.4.0 ( #30536 )
...
* bump ark-works 0.4.0
* removed obsolete commented code
* bumped deps again after rebase
* paring: merged two vectors into one
* added zero serialization test
* reverted formatting change
* updated Cargo.lock after rebase
* fixed Cargo.lock
2023-04-04 20:16:47 -06:00
Alexander Meißner
911489d373
Feature - Stop truncating strings in syscalls ( #31030 )
...
* Adds the feature gate stop_truncating_strings_in_syscalls.
* Removes the truncation of everything after the first NULL byte in translate_string_and_do().
2023-04-04 19:33:53 +02:00
Jeff Washington (jwash)
05f2a01a80
disk index: refactor OccupiedEnumTag ( #31028 )
2023-04-03 13:12:06 -07:00
Alexander Meißner
a0c7fde90e
Cleanup - mock InvokeContext ( #31007 )
...
* Turns with_mock_invoke_context() into a macro.
* Removes prepare_mock_invoke_context().
* Replaces InvokeContext::new_mock() with with_mock_invoke_context().
* Removes InvokeContext::new_mock().
* Removes Cow from InvokeContext::sysvar_cache.
* Removes override parameters from mock_process_instruction().
* cargo fmt
2023-04-03 17:23:24 +02:00
Dmitri Makarov
8c860e9894
Bump platform-tools version to v1.37 ( #31017 )
2023-04-01 12:08:03 -04:00
Pankaj Garg
a2f3a219d8
SBF test that runs with stable bank and genesis to produce deterministic hash ( #30945 )
...
* SBF test that runs with stable bank and genesis to produce deterministic hash
* fix warning
* ignore the test
2023-03-31 10:13:11 -07:00
Illia Bobyr
fe5ae7733b
ledger: confirm_slot_entries(): confirmation_elapsed metric ( #30807 )
...
Measure total time spent inside `confirm_slot_entries()`. Useful metric
in addition to `replay_elapsed` and
`poh_verify_elapsed`/`transaction_verify_elapsed`, as it shows how PoH
and transaction verification interact with the replay process.
2023-03-29 13:11:29 -07:00
Pankaj Garg
f198d7426a
Use feature gate to set effective slot of loaded programs ( #30950 )
2023-03-29 04:47:49 -07:00
Yihau Chen
2c842e9932
chore: workspace inheritance ( #30939 )
...
* client/Cargo.toml
* udp-client/Cargo.toml
* tpu-client/Cargo.toml
* thin-client/Cargo.toml
* storage-proto/Cargo.toml
* quic-client/Cargo.toml
* dos/Cargo.toml
* entry/Cargo.toml
* perf/Cargo.toml
* program-runtime/Cargo.toml
* program-test/Cargo.toml
* programs/address-lookup-table/Cargo.toml
* programs/loader-v3/Cargo.toml
* connection-cache/Cargo.toml
* programs/sbf/rust/big_mod_exp/Cargo.toml
* programs/zk-token-proof-tests/Cargo.toml
2023-03-29 03:28:56 +00:00
Tyera
932301583c
Plumb Entry notification into plugin manager ( #30910 )
...
Plumb entry notification into plugin manager
2023-03-28 14:53:27 -06:00
Jeff Washington (jwash)
6285aaee89
store data and index occupy in bitvec ( #30899 )
2023-03-28 12:17:28 -07:00
dependabot[bot]
4787b22bd6
Bump base64 from 0.13.0 to 0.13.1 ( #30931 )
...
* Bump base64 from 0.13.0 to 0.13.1
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.13.1 )
---
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-03-28 19:13:40 +00:00
Pankaj Garg
aebc191c38
Stop loading program accounts if program exists in cache ( #30703 )
...
* Stop loading program accounts if program exists in cache
* load accounts for upgradeable programs
* revert loader change to conditionally use program data account
* load instruction accounts
* generate TransactionExecutorCache from loaded programs
* cleanup account_found_and_dep_index variable
* address review comments
* handle tombstones in loader
* unify tombstone constructor
* handle multiple tombstones
2023-03-28 11:49:56 -07:00
behzad nouri
359d9c7b9f
upgrades ahash to 0.8.3 ( #30935 )
2023-03-28 18:23:33 +00:00
behzad nouri
75abfc79a6
removes unused dependencies ( #30917 )
2023-03-28 17:25:44 +00:00
dependabot[bot]
42dfb85cc1
Bump hyper from 0.14.23 to 0.14.25 ( #30930 )
...
* Bump hyper from 0.14.23 to 0.14.25
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.23 to 0.14.25.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.25/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.23...v0.14.25 )
---
updated-dependencies:
- dependency-name: hyper
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-03-28 10:16:33 -06:00
dependabot[bot]
b53656b517
Bump wasm-bindgen from 0.2.82 to 0.2.84 ( #30887 )
...
* Bump wasm-bindgen from 0.2.82 to 0.2.84
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.82 to 0.2.84.
- [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.82...0.2.84 )
---
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-03-27 12:07:18 -06:00
dependabot[bot]
956d849c93
Bump nix from 0.25.0 to 0.25.1 ( #30889 )
...
* Bump nix from 0.25.0 to 0.25.1
Bumps [nix](https://github.com/nix-rust/nix ) from 0.25.0 to 0.25.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/v0.25.1/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.25.1 )
---
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-03-27 12:05:01 -06:00
dependabot[bot]
9a681b8461
Bump prost-types from 0.11.6 to 0.11.8 ( #30888 )
...
* Bump prost-types from 0.11.6 to 0.11.8
Bumps [prost-types](https://github.com/tokio-rs/prost ) from 0.11.6 to 0.11.8.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.6...v0.11.8 )
---
updated-dependencies:
- dependency-name: prost-types
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-03-27 12:03:52 -06:00
Pankaj Garg
cbf70430a5
Fix deployment slot for upgraded programs ( #30902 )
2023-03-27 06:48:26 -07:00
Pankaj Garg
0df28f6d51
Increment usage count for loaded programs and call eviction ( #30900 )
2023-03-27 06:48:05 -07:00
Alexander Meißner
fb7d303995
Refactor - mock_process_instruction() ( #30893 )
...
* Uses InvokeContext::process_instruction() in mock_process_instruction().
* Uses InvokeContext::process_instruction() in tests of loader-v3.
* Only throw InstructionError::BuiltinProgramsMustConsumeComputeUnits if result.is_ok().
* Adds CU cost to loader-v3.
2023-03-24 22:45:03 +01:00
Tao Zhu
3e500d9e92
Feature gate builtin consumes static units during processing instruction ( #30702 )
...
* add feature gate
* builtins consume statically defined units at beginning of process_instruction()
* Add new instructionError; return error if builtin did not consume units to enforce builtin to consume units;
* updated related tests
* updated ProgramTest with deactivated native_programs_consume_cu feature to continue support existing mock/test programs that do not consume units
2023-03-24 11:31:01 -05:00
Illia Bobyr
08f0fada7e
Cargo.lock: Update `openssl`, as suggested by `cargo audit` ( #30886 )
...
Just ran
cargo update --package openssl
in the root and in `programs/sbf`.
2023-03-23 21:06:27 -07:00
Tyera
193a6d90fc
Remove unused dependency ( #30881 )
2023-03-24 02:34:10 +00:00
dependabot[bot]
db1e721f48
Bump memmap2 from 0.5.8 to 0.5.10 ( #30867 )
...
* Bump memmap2 from 0.5.8 to 0.5.10
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs ) from 0.5.8 to 0.5.10.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.8...v0.5.10 )
---
updated-dependencies:
- dependency-name: memmap2
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-03-23 11:16:43 -06:00
Alexander Meißner
c10f337f85
Feature - Loader built-in program v3 ( #30464 )
...
* Adds loader-v3 in SDK.
* Adds loader-v3 built-in program.
* Adds tests.
2023-03-23 18:13:47 +01:00
Ryo Onodera
6c444df9e0
Add --block-{verification,production}-method flags (noop atm) ( #30746 )
...
* Add --{replaying,banking}-backend flags (noop atm)
* Greatly simplify enums with strum
* Update programs/sbf/Cargo.lock...
* Rely on Display, removing Debug
* constify cli_names()
* Don't allow omitting bankend value
* Rename to --block-{verification,production}-method
* Use more specific name
* Actually support missing value....
* Remove strictly-unnecessary flags
* Use lazy_static! instead of abusing DefaultArgs...
2023-03-23 12:57:28 +09:00
dependabot[bot]
9adb321bed
Bump prost from 0.11.6 to 0.11.8 ( #30844 )
...
* Bump prost from 0.11.6 to 0.11.8
Bumps [prost](https://github.com/tokio-rs/prost ) from 0.11.6 to 0.11.8.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.6...v0.11.8 )
---
updated-dependencies:
- dependency-name: prost
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-03-22 12:03:13 -06:00
dependabot[bot]
027bd5f8a5
Bump serde from 1.0.152 to 1.0.158 ( #30845 )
...
* Bump serde from 1.0.152 to 1.0.158
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.152 to 1.0.158.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.158 )
---
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-03-22 11:53:39 -06:00
Dmitri Makarov
81ef2a0d75
Update references to platform-tools ( #30764 )
2023-03-22 07:41:40 -07:00
Tao Zhu
21c287a64f
include loaded accounts data size limit in transaction fee calculation ( #30659 )
...
* include loaded accounts data size limit in transaction base fee calculation
* citing compute_budget for heap cost;
* update sbf tests
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2023-03-21 18:41:41 -05:00
Alexander Meißner
473534f308
Adds test for programs which read from a program account ( #30803 )
...
Adds test_program_reads_from_program_account().
2023-03-21 18:12:19 +01:00
dependabot[bot]
4aac7ead50
Bump arrayref from 0.3.6 to 0.3.7 ( #30814 )
...
* Bump arrayref from 0.3.6 to 0.3.7
Bumps [arrayref](https://github.com/droundy/arrayref ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/droundy/arrayref/releases )
- [Commits](https://github.com/droundy/arrayref/commits )
---
updated-dependencies:
- dependency-name: arrayref
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-03-21 09:42:27 -06:00
dependabot[bot]
6fcbd77bbb
Bump indexmap from 1.9.1 to 1.9.2 ( #30815 )
...
* Bump indexmap from 1.9.1 to 1.9.2
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.9.1...1.9.2 )
---
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-03-21 09:42:07 -06:00
steviez
5344a789d7
Revert "Add new vote state version that replaces Lockout with LandedV… ( #30817 )
...
Revert "Add new vote state version that replaces Lockout with LandedVote to a… (#29524 )"
This reverts commit d77f0a22c7
.
2023-03-21 22:54:13 +08:00
Alexander Meißner
66da71fa7a
Fix - Revert and feature gate incorrect error message in BPF loader ( #30748 )
...
* Revert to old behavior.
* Adds feature gate.
2023-03-21 11:08:41 +01:00
bji
d77f0a22c7
Add new vote state version that replaces Lockout with LandedVote to a… ( #29524 )
...
* Add new vote state version that replaces Lockout with LandedVote to allow vote latency to be tracked in a future change. Includes a feature to be enabled which will when enabled cause the vote state to be written in the new form.
* Update feature set key to one owned by ashwin
---------
Co-authored-by: Ashwin Sekar <ashwin@solana.com>
2023-03-20 08:31:46 -06:00
cavemanloverboy
10f49d4e26
Geyser Runtime Reload ( #30352 )
...
Support dynamic geyser plugin load, unload, and listing through admin RPC.
2023-03-16 17:03:00 -07:00
Tao Zhu
17ba051e1f
Revert "add default_cost as mandatory field for Builtin ( #30639 )" ( #30749 )
...
This reverts commit 7b95c8e698
.
2023-03-16 11:21:06 -05:00
ryleung-solana
0ed9f62602
Quic server batching ( #30330 )
2023-03-16 21:50:57 +08:00
behzad nouri
3cc74a6087
updates tempfile to 3.4.0 ( #30727 )
...
Patching below rustsec advisory:
Crate: remove_dir_all
Version: 0.5.3
Title: Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)
Date: 2023-02-24
ID: RUSTSEC-2023-0018
URL: https://rustsec.org/advisories/RUSTSEC-2023-0018
Solution: Upgrade to >=0.8.0
2023-03-15 18:25:35 -06:00
samkim-crypto
2d58bb287d
[zk-token-sdk] Add option to create proof context state in the proof verification program ( #29996 )
...
* extend verifiable trait
* add PodBool
* implement ZkProofData trait
* add proof context program to zk-token-proof program
* update tests for close account
* add close account instruction
* reorganize tests
* complete tests
* clean up and add docs
* clean up pod
* add proof program state
* update tests
* move proof program tests as separate module
* clippy
* cargo sort
* cargo fmt
* re-organize visibility
* add context state description
* update maintainer reference
* change `VerifyProofData` and `ProofContextState` to pod
* add tests for mixing proof types
* add tests for self owned context state accounts
* cargo fmt
* remove unnecessary scoping and add comments on scopes
* re-organize proof instructions
* clippy
* update zk-token-proof-test to 1.16.0
* upgrade spl-token-2022 to 0.6.1
* reoganize proof type
* cargo lock
* remove ZkProofContext trait
2023-03-16 07:35:20 +09:00
Tao Zhu
a4ad0c75fc
fix heap cost calculation rounding error ( #30673 )
...
* add test for refaction heap size, fix size truncating by div op
* add feature gate
* checked result of consume_checked() if feature is activated
2023-03-15 12:03:04 -05:00
Ryo Onodera
7f58345dad
ci: test-checks.sh all sbf code & use nightly only ( #30602 )
2023-03-13 14:28:34 +09:00
Tao Zhu
7b95c8e698
add default_cost as mandatory field for Builtin ( #30639 )
...
* add default_cost as mandatory field for Builtin
* updated tests
* set zkp program default to VerifyTransfer CUs
---------
Co-authored-by: Jon Cinque <joncinque@pm.me>
2023-03-10 14:02:24 -06:00
Alessandro Decina
0335ea7249
Bump solana_rbpf to v0.2.40 ( #30668 )
...
Update to solana_rbpf v0.2.40
2023-03-10 19:05:29 +01:00
samkim-crypto
4a94eeee5e
Upgrade to token-2022 0.6.0 ( #30353 )
...
* upgrade spl-token-2022 to 0.6.0
* Add spl_token_2022-0.6.0.so to program-test
* cargo lock
* update account decoder tests to use Pubkey::new_from_array instead of Pubkey::new
* update rpc tests to use Pubkey::new_from_array instead of Pubkey::new
* update token-2022 .so file
* cargo lock
* increase the threshold for allowable rebuilds in ci
* update spl ATA to v1.1.3
* decrement back the threshold for allowable rebuilds
* cargo lock
* increment ci rebuild threshold
2023-03-10 10:32:19 +09:00
Alexander Meißner
d2fc2e5f62
Refactor - Remove `first_instruction_account` in `bpf_loader` ( #30614 )
...
* Removes first_instruction_account from process_loader_upgradeable_instruction(), process_loader_instruction() and write_program_data().
* Removes first_instruction_account from process_instruction_common().
* Removes get_index_in_transaction() and try_borrow_account().
2023-03-08 16:54:19 +01:00
kirill lykov
5631685d30
replaced chunks with tuples in validator ( #30499 )
...
* replaced chunks with tuples in test validator
* update Cargo.lock
* replaced chunks with tuples in genesis
* Update Cargo.lock
2023-03-07 14:32:42 +01:00
Alexander Meißner
38e74325e3
Refactor - Remove `process_instruction` parameter `first_instruction_account` ( #30579 )
...
* Stops using first_instruction_account parameter in bpf_loader.
* Removes first_instruction_account parameter from process_instruction().
2023-03-06 17:37:37 +01:00
Alexander Meißner
31bd695b83
Feature - `switch_to_new_elf_parser` ( #30498 )
...
Adds feature gate "switch_to_new_elf_parser".
2023-03-01 09:13:00 +01:00
K-anon
3ed63de656
Revert "Revert "Add test for executor cache runtime feature upgrades.… ( #30428 )
2023-02-24 10:04:51 -07:00
dependabot[bot]
5da9e52e1c
Bump rpassword from 7.0.0 to 7.2.0 ( #30493 )
...
* Bump rpassword from 7.0.0 to 7.2.0
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/compare/v7.0.0...v7.2.0 )
---
updated-dependencies:
- dependency-name: rpassword
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-02-24 08:53:07 -07:00
Tao Zhu
66ea750182
add compute budget instruction to set loaded accounts data size limit ( #30377 )
...
* add compute budget instruction to set accounts data size limit
* changes names to explicitly for loaded accounts data size
2023-02-24 09:27:49 -06:00
dependabot[bot]
509bf2fd79
Bump flate2 from 1.0.24 to 1.0.25 ( #30388 )
...
* Bump flate2 from 1.0.24 to 1.0.25
Bumps [flate2](https://github.com/rust-lang/flate2-rs ) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.24...1.0.25 )
---
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-02-23 14:51:16 -07:00
Tyera
fbd8ef5bab
Add solana-test-validator --upgradeable-program ( #30412 )
...
* Add TestValidator handling for upgradeable programs
* Plumb --upgradeable-program for solana-test-validator
2023-02-23 18:25:14 +00:00
Yihau Chen
df3ef111f7
chore: workspace inheritance ( #29893 )
...
* introduce workspace.package
* introduce workspace.dependencies
* read version from root cargo.toml
* pass check when version = { workspace = true }
* don't bump version when version = { workspace = true }
* including workspace Cargo.toml when bump version
* programs/sbf use workspace inheritance
* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-02-23 22:01:54 +08:00
Michael Vines
5136ed3448
Update homepage value for all crates ( #30444 )
2023-02-23 02:20:18 +00:00
K-anon
2e4b8ea8bb
Revert "Add test for executor cache runtime feature upgrades. ( #30382 )" ( #30424 )
...
This reverts commit c5a24e11ba
.
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2023-02-21 15:47:39 -07:00
Pankaj Garg
b1f5b0d790
Find and load missing programs in LoadedPrograms cache ( #30275 )
...
* Find and load missing programs in LoadedPrograms cache
- filter program accounts in a transaction batch
- filter the accounts that are missing in LoadedPrograms cache
- load the programs before processing the transactions
- unit tests
* address review comments
* fix clippy
* address review comments
* fix test
* fix more tests
2023-02-21 12:53:35 -08:00
K-anon
c5a24e11ba
Add test for executor cache runtime feature upgrades. ( #30382 )
...
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2023-02-21 12:25:29 -07:00
Jeff Washington (jwash)
568a4b1ca0
move AccountInfo bits from size to offset ( #30408 )
...
* move AccountInfo bits from size to offset
* feedback
2023-02-21 10:08:37 -08:00
Alexander Meißner
4bfcbf75eb
Bump solana_rbpf to v0.2.39 ( #30398 )
...
* Bump solana_rbpf to v0.2.39
* Adds MemoryRegion::vm_addr_end.
2023-02-21 18:43:34 +01:00
Pankaj Garg
3a4ba72daf
Remove executors trait and replace with LoadedProgram ( #30348 )
...
* Remove executors trait and replace with LoadedProgram
* fill in deployment slot
* address review comments
* fix clippy warnings
* address review comments
* fix failures caught by sbf tests
2023-02-17 12:47:45 +01:00
dependabot[bot]
4639919c9b
Bump serde_bytes from 0.11.8 to 0.11.9 ( #30362 )
...
* Bump serde_bytes from 0.11.8 to 0.11.9
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.8 to 0.11.9.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.8...0.11.9 )
---
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-02-16 10:08:32 -07:00
Brooks
0c36e4c82d
Adds stable layout types to pass to the runtime ( #30192 )
2023-02-16 08:16:25 -05:00
Brennan
ba43883cce
Add timeout for getting bootstrap RPC peers ( #30277 )
...
* Add timeout for getting bootstrap RPC peers
* Get RPC return errors when no peers found
* Add config guidance
2023-02-15 14:24:42 -08:00
Pankaj Garg
a9ad0f2b5a
Code to load a program from its account ( #30282 )
2023-02-15 09:05:26 -08:00
dependabot[bot]
57337058d3
Bump quote from 1.0.18 to 1.0.23 ( #30239 )
...
* Bump quote from 1.0.18 to 1.0.23
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.18 to 1.0.23.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.18...1.0.23 )
---
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-02-14 20:40:23 -07:00
Alexander Meißner
6558c8fdc9
Refactor - Delay visibility of program un-/re-/deployment ( #29654 )
...
* Use three separate HashMaps instead of the enum TxBankExecutorCacheDiff.
* Replaces all places which deploy programs by a macro.
* Adds a feature gate.
* Adjust tests.
* Makes undeployment visible immediately.
2023-02-11 11:18:25 +01:00
dependabot[bot]
66dd9432f5
Bump futures-util from 0.3.25 to 0.3.26 ( #30240 )
...
* Bump futures-util from 0.3.25 to 0.3.26
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures-util
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-02-10 13:46:16 -07:00
Denis K
c078ffd9ee
Added support of consumed BPF units tracing ( #30042 )
...
* Added support of consumed BPF units tracing
* Fixed "Inconsistent trace log stack" when logging units before first instruction trace
* Rewrote the solution in order to reuse `trace_log_stack` and check whether tracing is enabled
* Instruction tracing is disabled by default
2023-02-10 16:17:44 +01:00
dependabot[bot]
57dced05f0
Bump sha2 from 0.10.5 to 0.10.6 ( #30215 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.5 to
0.10.6.
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-02-09 12:18:09 -07:00
dependabot[bot]
2b4a6a4dd9
Bump libloading from 0.7.3 to 0.7.4 ( #30216 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.7.3
to 0.7.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6e284984ae
"><code>6e28498</code></a>
Fix CI</li>
<li><a
href="95a0f62e8f
"><code>95a0f62</code></a>
Placate clippy</li>
<li><a
href="224a3def35
"><code>224a3de</code></a>
Release 0.7.4</li>
<li><a
href="bd17713dcc
"><code>bd17713</code></a>
Support AIX dyld constants</li>
<li><a
href="6e07929736
"><code>6e07929</code></a>
fix typo</li>
<li><a
href="6b33651a90
"><code>6b33651</code></a>
Construct a PathBuf</li>
<li><a
href="964dd8b4c0
"><code>964dd8b</code></a>
Simplify lib_path</li>
<li><a
href="8009f51a9f
"><code>8009f51</code></a>
Honor Cargo's target directory when building LIBPATH</li>
<li><a
href="842e377ae4
"><code>842e377</code></a>
Fix a typo in the CI scripts</li>
<li>See full diff in <a
href="https://github.com/nagisa/rust_libloading/compare/0.7.3...0.7.4 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=libloading&package-manager=cargo&previous-version=0.7.3&new-version=0.7.4 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
---------
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-02-09 10:53:18 -07:00
Alexander Meißner
f7dfe8337a
Moves `if use_jit` outside of `#[cfg()]`. ( #30202 )
2023-02-09 09:14:26 +01:00
dependabot[bot]
4d599a8362
Bump rand_core from 0.6.3 to 0.6.4 ( #30114 )
...
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-02-08 21:27:26 -07:00
dependabot[bot]
46293ec43f
Bump openssl from 0.10.41 to 0.10.45 ( #30115 )
...
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-02-08 21:26:43 -07:00
Trent Nelson
5494146413
ci: update openssl-src to 111.25 as per RUSTSEC-2023-0007 ( #30173 )
2023-02-07 15:22:48 -07:00
Alexander Meißner
d387f15587
Refactor - Remove redundant `use_jit` flag from `BpfExecutor` ( #30116 )
2023-02-07 10:05:54 +01:00
Tao Zhu
4293f11cf1
feature gate to enable compute_budget::request_heap_frame on mainnetBeta ( #30077 )
2023-02-03 09:21:57 -06:00
dependabot[bot]
5520d0bf7b
Bump cc from 1.0.78 to 1.0.79 ( #30080 )
...
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-02-02 11:30:18 -07:00
dependabot[bot]
d0b850f137
Bump rustversion from 1.0.9 to 1.0.11 ( #30079 )
...
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-02-02 11:25:29 -07:00