From 13f8b019306ca83396ff7aec4b37b7eca29b6ef8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:29:57 -0800 Subject: [PATCH] Bump version to 22.0.0 (#1399) ### What Bump version to 22.0.0, creating release branch. ### Why Triggered by @sisuresh in https://github.com/stellar/rs-soroban-sdk/actions/runs/12184763498. ### 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/v22.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-sdk/releases/new?tag=v22.0.0&title=22.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-sdk/releases/new?tag=v22.0.0&title=22.0.0&target=release/v22.0.0 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Siddharth Suresh --- Cargo.lock | 98 +++++++++++++++++++++----------------- Cargo.toml | 34 ++++++------- soroban-sdk/Cargo.toml | 4 +- tests/fuzz/fuzz/Cargo.lock | 56 ++++++++++++---------- 4 files changed, 104 insertions(+), 88 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2613ecf0..04903e66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -326,9 +326,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f" +checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" dependencies = [ "quote", "syn 2.0.77", @@ -1223,8 +1223,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "soroban-builtin-sdk-macros" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df6c3137afcdb5a62b9ed3b1994ff9439351eaa795d8d33f758b4386ce2d0060" dependencies = [ "itertools", "proc-macro2", @@ -1234,8 +1235,9 @@ dependencies = [ [[package]] name = "soroban-env-common" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24deb45507c219d3608f04768c3b700b627bc345cc4c19e31c4cc57fc7d77be9" dependencies = [ "arbitrary", "crate-git-revision", @@ -1252,8 +1254,9 @@ dependencies = [ [[package]] name = "soroban-env-guest" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b010a822db635139fcfdb29be8a333606e5204c445e044d3450a5c47eaba20a" dependencies = [ "soroban-env-common", "static_assertions", @@ -1261,8 +1264,9 @@ dependencies = [ [[package]] name = "soroban-env-host" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee57de1756bae449a52da032c8312113f355cbcf7e906fbb8957a44827999dc" dependencies = [ "ark-bls12-381", "ark-ec", @@ -1296,8 +1300,9 @@ dependencies = [ [[package]] name = "soroban-env-macros" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1528c2d0d19ab70e9947f930f8707fdc0e9bfd4baf6d275b8a2f67482c2f2d99" dependencies = [ "itertools", "proc-macro2", @@ -1310,7 +1315,7 @@ dependencies = [ [[package]] name = "soroban-ledger-snapshot" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "pretty_assertions", "serde", @@ -1323,7 +1328,7 @@ dependencies = [ [[package]] name = "soroban-sdk" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "arbitrary", "bytes-lit", @@ -1350,7 +1355,7 @@ dependencies = [ [[package]] name = "soroban-sdk-macros" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "crate-git-revision", "darling", @@ -1368,7 +1373,7 @@ dependencies = [ [[package]] name = "soroban-spec" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "base64 0.13.1", "pretty_assertions", @@ -1379,7 +1384,7 @@ dependencies = [ [[package]] name = "soroban-spec-rust" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "pretty_assertions", "prettyplease", @@ -1394,7 +1399,7 @@ dependencies = [ [[package]] name = "soroban-token-sdk" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] @@ -1402,7 +1407,8 @@ dependencies = [ [[package]] name = "soroban-wasmi" version = "0.31.1-soroban.20.0.1" -source = "git+https://github.com/stellar/wasmi?rev=0ed3f3dee30dc41ebe21972399e0a73a41944aa0#0ed3f3dee30dc41ebe21972399e0a73a41944aa0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "710403de32d0e0c35375518cb995d4fc056d0d48966f2e56ea471b8cb8fc9719" dependencies = [ "smallvec", "spin", @@ -1446,9 +1452,9 @@ dependencies = [ [[package]] name = "stellar-xdr" -version = "22.0.0-rc.1.1" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88dc0e928b9cb65ea43836b52560bb4ead3e32895f5019ca223dc7cd1966cbf" +checksum = "20c2130275cc730d042b3082f51145f0486f5a543d6d72fced02ed9048b82b57" dependencies = [ "arbitrary", "base64 0.13.1", @@ -1509,140 +1515,140 @@ dependencies = [ [[package]] name = "test_account" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_add_i128" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_add_u128" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_add_u64" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_alloc" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_auth" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_constructor" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_contract_data" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_empty" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_empty2" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_errors" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_events" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_fuzz" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_import_contract" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_invoke_contract" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_logging" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_modular" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_multiimpl" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_udt" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] [[package]] name = "test_workspace_contract" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", "test_workspace_lib", @@ -1650,7 +1656,7 @@ dependencies = [ [[package]] name = "test_workspace_lib" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] @@ -1802,13 +1808,15 @@ checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wasmi_arena" -version = "0.4.0" -source = "git+https://github.com/stellar/wasmi?rev=0ed3f3dee30dc41ebe21972399e0a73a41944aa0#0ed3f3dee30dc41ebe21972399e0a73a41944aa0" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" version = "0.13.0" -source = "git+https://github.com/stellar/wasmi?rev=0ed3f3dee30dc41ebe21972399e0a73a41944aa0#0ed3f3dee30dc41ebe21972399e0a73a41944aa0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" dependencies = [ "downcast-rs", "libm", diff --git a/Cargo.toml b/Cargo.toml index 70cbf526..5a2e3fbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,37 +12,37 @@ members = [ ] [workspace.package] -version = "22.0.0-rc.3.2" +version = "22.0.0" rust-version = "1.79.0" [workspace.dependencies] -soroban-sdk = { version = "22.0.0-rc.3.2", path = "soroban-sdk" } -soroban-sdk-macros = { version = "22.0.0-rc.3.2", path = "soroban-sdk-macros" } -soroban-spec = { version = "22.0.0-rc.3.2", path = "soroban-spec" } -soroban-spec-rust = { version = "22.0.0-rc.3.2", path = "soroban-spec-rust" } -soroban-ledger-snapshot = { version = "22.0.0-rc.3.2", path = "soroban-ledger-snapshot" } -soroban-token-sdk = { version = "22.0.0-rc.3.2", path = "soroban-token-sdk" } +soroban-sdk = { version = "22.0.0", path = "soroban-sdk" } +soroban-sdk-macros = { version = "22.0.0", path = "soroban-sdk-macros" } +soroban-spec = { version = "22.0.0", path = "soroban-spec" } +soroban-spec-rust = { version = "22.0.0", path = "soroban-spec-rust" } +soroban-ledger-snapshot = { version = "22.0.0", path = "soroban-ledger-snapshot" } +soroban-token-sdk = { version = "22.0.0", path = "soroban-token-sdk" } [workspace.dependencies.soroban-env-common] -version = "=22.0.0-rc.3" -git = "https://github.com/stellar/rs-soroban-env" -rev = "bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "=22.1.0" +#git = "https://github.com/stellar/rs-soroban-env" +#rev = "bd0c80a1fe171e75f8d745f17975a73927d44ecd" [workspace.dependencies.soroban-env-guest] -version = "=22.0.0-rc.3" -git = "https://github.com/stellar/rs-soroban-env" -rev = "bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "=22.1.0" +#git = "https://github.com/stellar/rs-soroban-env" +#rev = "bd0c80a1fe171e75f8d745f17975a73927d44ecd" [workspace.dependencies.soroban-env-host] -version = "=22.0.0-rc.3" -git = "https://github.com/stellar/rs-soroban-env" -rev = "bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "=22.1.0" +#git = "https://github.com/stellar/rs-soroban-env" +#rev = "bd0c80a1fe171e75f8d745f17975a73927d44ecd" [workspace.dependencies.stellar-strkey] version = "=0.0.9" [workspace.dependencies.stellar-xdr] -version = "=22.0.0-rc.1.1" +version = "=22.0.0" default-features = false features = ["curr"] #git = "https://github.com/stellar/rs-stellar-xdr" diff --git a/soroban-sdk/Cargo.toml b/soroban-sdk/Cargo.toml index 6693a578..dd530a67 100644 --- a/soroban-sdk/Cargo.toml +++ b/soroban-sdk/Cargo.toml @@ -37,7 +37,7 @@ ed25519-dalek = { version = "2.1.1", features = ["rand_core"], optional = true } curve25519-dalek = { version = "4.1.3", features = ["digest"], optional = true } # match the version of rand used in dalek rand = "0.8.5" -ctor = { version = "0.2.1", optional = true } +ctor = { version = "0.2.9", optional = true } [dev-dependencies] soroban-sdk-macros = { workspace = true, features = ["testutils"] } @@ -46,7 +46,7 @@ stellar-xdr = { workspace = true, features = ["curr", "std"] } soroban-spec = { workspace = true } ed25519-dalek = "2.0.0" rand = "0.8.5" -ctor = "0.2.1" +ctor = "0.2.9" hex = "0.4.3" arbitrary = { version = "~1.3.0", features = ["derive"] } derive_arbitrary = { version = "~1.3.0" } diff --git a/tests/fuzz/fuzz/Cargo.lock b/tests/fuzz/fuzz/Cargo.lock index c9ab1552..2bae6448 100644 --- a/tests/fuzz/fuzz/Cargo.lock +++ b/tests/fuzz/fuzz/Cargo.lock @@ -297,9 +297,9 @@ dependencies = [ [[package]] name = "ctor" -version = "0.2.5" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e366bff8cd32dd8754b0991fb66b279dc48f598c3a18914852a6673deef583" +checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" dependencies = [ "quote", "syn 2.0.39", @@ -1037,8 +1037,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "soroban-builtin-sdk-macros" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df6c3137afcdb5a62b9ed3b1994ff9439351eaa795d8d33f758b4386ce2d0060" dependencies = [ "itertools", "proc-macro2", @@ -1048,8 +1049,9 @@ dependencies = [ [[package]] name = "soroban-env-common" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24deb45507c219d3608f04768c3b700b627bc345cc4c19e31c4cc57fc7d77be9" dependencies = [ "arbitrary", "crate-git-revision", @@ -1066,8 +1068,9 @@ dependencies = [ [[package]] name = "soroban-env-guest" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b010a822db635139fcfdb29be8a333606e5204c445e044d3450a5c47eaba20a" dependencies = [ "soroban-env-common", "static_assertions", @@ -1075,8 +1078,9 @@ dependencies = [ [[package]] name = "soroban-env-host" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee57de1756bae449a52da032c8312113f355cbcf7e906fbb8957a44827999dc" dependencies = [ "ark-bls12-381", "ark-ec", @@ -1110,8 +1114,9 @@ dependencies = [ [[package]] name = "soroban-env-macros" -version = "22.0.0-rc.3" -source = "git+https://github.com/stellar/rs-soroban-env?rev=bd0c80a1fe171e75f8d745f17975a73927d44ecd#bd0c80a1fe171e75f8d745f17975a73927d44ecd" +version = "22.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1528c2d0d19ab70e9947f930f8707fdc0e9bfd4baf6d275b8a2f67482c2f2d99" dependencies = [ "itertools", "proc-macro2", @@ -1124,7 +1129,7 @@ dependencies = [ [[package]] name = "soroban-ledger-snapshot" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "serde", "serde_json", @@ -1136,7 +1141,7 @@ dependencies = [ [[package]] name = "soroban-sdk" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "arbitrary", "bytes-lit", @@ -1156,7 +1161,7 @@ dependencies = [ [[package]] name = "soroban-sdk-macros" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "crate-git-revision", "darling", @@ -1174,7 +1179,7 @@ dependencies = [ [[package]] name = "soroban-spec" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "base64 0.13.1", "stellar-xdr", @@ -1184,7 +1189,7 @@ dependencies = [ [[package]] name = "soroban-spec-rust" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "prettyplease", "proc-macro2", @@ -1199,7 +1204,8 @@ dependencies = [ [[package]] name = "soroban-wasmi" version = "0.31.1-soroban.20.0.1" -source = "git+https://github.com/stellar/wasmi?rev=0ed3f3dee30dc41ebe21972399e0a73a41944aa0#0ed3f3dee30dc41ebe21972399e0a73a41944aa0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "710403de32d0e0c35375518cb995d4fc056d0d48966f2e56ea471b8cb8fc9719" dependencies = [ "smallvec", "spin", @@ -1243,9 +1249,9 @@ dependencies = [ [[package]] name = "stellar-xdr" -version = "22.0.0-rc.1.1" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c88dc0e928b9cb65ea43836b52560bb4ead3e32895f5019ca223dc7cd1966cbf" +checksum = "20c2130275cc730d042b3082f51145f0486f5a543d6d72fced02ed9048b82b57" dependencies = [ "arbitrary", "base64 0.13.1", @@ -1293,7 +1299,7 @@ dependencies = [ [[package]] name = "test_fuzz" -version = "22.0.0-rc.3.2" +version = "22.0.0" dependencies = [ "soroban-sdk", ] @@ -1434,13 +1440,15 @@ checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasmi_arena" -version = "0.4.0" -source = "git+https://github.com/stellar/wasmi?rev=0ed3f3dee30dc41ebe21972399e0a73a41944aa0#0ed3f3dee30dc41ebe21972399e0a73a41944aa0" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" version = "0.13.0" -source = "git+https://github.com/stellar/wasmi?rev=0ed3f3dee30dc41ebe21972399e0a73a41944aa0#0ed3f3dee30dc41ebe21972399e0a73a41944aa0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" dependencies = [ "downcast-rs", "libm",