Skip to content

Commit 688bc34

Browse files
Bump version to 23.0.0 (#1582)
### What Bump version to 23.0.0, creating release branch. ### Why Triggered by @sisuresh in https://github.com/stellar/rs-soroban-env/actions/runs/16816319373. ### What is next See the release instructions for a full rundown on the release process: https://github.com/stellar/actions/blob/main/README-rust-release.md Commit any changes to the `release/v23.0.0` branch that are needed in this release. If this is a regular release releasing from `main`, merge this PR when ready, and after merging, create a release for this version by going to this link: https://github.com/stellar/rs-soroban-env/releases/new?tag=v23.0.0&title=23.0.0 If this is a backport or patch release of a past version, see the release instructions. When ready to release this branch create a release by going to this link: https://github.com/stellar/rs-soroban-env/releases/new?tag=v23.0.0&title=23.0.0&target=release/v23.0.0 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Siddharth Suresh <siddharth@stellar.org>
1 parent e35bb74 commit 688bc34

File tree

7 files changed

+28
-26
lines changed

7 files changed

+28
-26
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363
steps:
6464
- uses: actions/checkout@v3
6565
- run: rustup update
66-
- uses: stellar/binaries@v38
66+
- uses: stellar/binaries@v40
6767
with:
6868
name: cargo-semver-checks
69-
version: 0.41.0
69+
version: 0.42.0
7070
- run: cargo semver-checks --exclude soroban-simulation
7171

7272
build-and-test:
@@ -110,7 +110,7 @@ jobs:
110110
- run: rustup update
111111
- run: cargo version
112112
- run: rustup target add ${{ matrix.sys.target }}
113-
- uses: stellar/binaries@v37
113+
- uses: stellar/binaries@v40
114114
with:
115115
name: cargo-hack
116116
version: 0.6.35

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ exclude = ["soroban-test-wasms/wasm-workspace"]
2020
# NB: When bumping the major version make sure to clean up the
2121
# code guarded by `unstable-*` features to make it enabled
2222
# unconditionally.
23-
version = "23.0.0-rc.3"
23+
version = "23.0.0"
2424
rust-version = "1.84.0"
2525

2626
[workspace.dependencies]
27-
soroban-env-common = { version = "=23.0.0-rc.3", path = "soroban-env-common", default-features = false }
28-
soroban-env-guest = { version = "=23.0.0-rc.3", path = "soroban-env-guest" }
29-
soroban-env-host = { version = "=23.0.0-rc.3", path = "soroban-env-host" }
30-
soroban-env-macros = { version = "=23.0.0-rc.3", path = "soroban-env-macros" }
31-
soroban-builtin-sdk-macros = { version = "=23.0.0-rc.3", path = "soroban-builtin-sdk-macros" }
27+
soroban-env-common = { version = "=23.0.0", path = "soroban-env-common", default-features = false }
28+
soroban-env-guest = { version = "=23.0.0", path = "soroban-env-guest" }
29+
soroban-env-host = { version = "=23.0.0", path = "soroban-env-host" }
30+
soroban-env-macros = { version = "=23.0.0", path = "soroban-env-macros" }
31+
soroban-builtin-sdk-macros = { version = "=23.0.0", path = "soroban-builtin-sdk-macros" }
3232
# NB: this must match the wasmparser version wasmi is using
3333
wasmparser = "=0.116.1"
3434

3535
# NB: When updating, also update the version in rs-soroban-env dev-dependencies
3636
[workspace.dependencies.stellar-xdr]
37-
version = "=23.0.0-rc.3"
37+
version = "=23.0.0"
3838
# git = "https://github.com/stellar/rs-stellar-xdr"
3939
# rev = "1a00274ac9c93d580cc4f5eba787906e759d632a"
4040
default-features = false

soroban-env-host/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ k256 = {version = "0.13.1", default-features = false, features = ["alloc"]}
8383
p256 = {version = "0.13.2", default-features = false, features = ["alloc"]}
8484

8585
[dev-dependencies.stellar-xdr]
86-
version = "=23.0.0-rc.3"
86+
version = "=23.0.0"
8787
# git = "https://github.com/stellar/rs-stellar-xdr"
8888
# rev = "1a00274ac9c93d580cc4f5eba787906e759d632a"
8989
default-features = false

soroban-env-host/src/cost_runner/cost_types/vm_ops.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ mod v21 {
151151
}
152152

153153
// This cost-type is recycled as unrefined-model, parse-only phase.
154+
// TODO: Figure out how to handle this better.
155+
#[allow(dead_code)]
154156
pub struct VmInstantiationRun;
155157
// This cost-type is recycled as unrefined-model, instantiate-only phase.
156158
pub struct VmCachedInstantiationRun;

soroban-env-host/src/test/stellar_asset_contract.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ impl StellarAssetContractTest {
8080
fn default_stellar_asset_contract_with_admin_id(
8181
&self,
8282
new_admin: &Address,
83-
) -> TestStellarAssetContract {
83+
) -> TestStellarAssetContract<'_> {
8484
let contract = self.default_stellar_asset_contract();
8585
let issuer = TestSigner::account(&self.issuer_key);
8686
contract.set_admin(&issuer, new_admin.clone()).unwrap();
8787
contract
8888
}
8989

90-
fn default_stellar_asset_contract(&self) -> TestStellarAssetContract {
90+
fn default_stellar_asset_contract(&self) -> TestStellarAssetContract<'_> {
9191
let issuer_id = signing_key_to_account_id(&self.issuer_key);
9292
self.create_account(
9393
&issuer_id,

soroban-env-host/src/vm/module_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl Default for ModuleCacheMap {
5454
impl ModuleCacheMap {
5555
fn lock_map(
5656
map: &Arc<Mutex<BTreeMap<Hash, Arc<ParsedModule>>>>,
57-
) -> Result<MutexGuard<BTreeMap<Hash, Arc<ParsedModule>>>, HostError> {
57+
) -> Result<MutexGuard<'_, BTreeMap<Hash, Arc<ParsedModule>>>, HostError> {
5858
map.lock()
5959
.map_err(|_| HostError::from((ScErrorType::Context, ScErrorCode::InternalError)))
6060
}

0 commit comments

Comments
 (0)