diff --git a/Cargo.lock b/Cargo.lock index ef9f19479..8ba6d9758 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1958,7 +1958,7 @@ dependencies = [ [[package]] name = "soroban-ledger-snapshot" version = "0.6.0" -source = "git+https://github.com/stellar/rs-soroban-sdk?rev=4a0da68b5d71b94a327aa1f50b0209d94be2f3d9#4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +source = "git+https://github.com/stellar/rs-soroban-sdk?rev=ab96798be9f4b77570ed032cb58743942592114a#ab96798be9f4b77570ed032cb58743942592114a" dependencies = [ "serde", "serde_json", @@ -1980,7 +1980,7 @@ dependencies = [ [[package]] name = "soroban-sdk" version = "0.6.0" -source = "git+https://github.com/stellar/rs-soroban-sdk?rev=4a0da68b5d71b94a327aa1f50b0209d94be2f3d9#4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +source = "git+https://github.com/stellar/rs-soroban-sdk?rev=ab96798be9f4b77570ed032cb58743942592114a#ab96798be9f4b77570ed032cb58743942592114a" dependencies = [ "bytes-lit", "ed25519-dalek", @@ -1995,7 +1995,7 @@ dependencies = [ [[package]] name = "soroban-sdk-macros" version = "0.6.0" -source = "git+https://github.com/stellar/rs-soroban-sdk?rev=4a0da68b5d71b94a327aa1f50b0209d94be2f3d9#4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +source = "git+https://github.com/stellar/rs-soroban-sdk?rev=ab96798be9f4b77570ed032cb58743942592114a#ab96798be9f4b77570ed032cb58743942592114a" dependencies = [ "darling", "itertools", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "soroban-spec" version = "0.6.0" -source = "git+https://github.com/stellar/rs-soroban-sdk?rev=4a0da68b5d71b94a327aa1f50b0209d94be2f3d9#4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +source = "git+https://github.com/stellar/rs-soroban-sdk?rev=ab96798be9f4b77570ed032cb58743942592114a#ab96798be9f4b77570ed032cb58743942592114a" dependencies = [ "base64 0.13.1", "darling", @@ -2032,7 +2032,7 @@ dependencies = [ [[package]] name = "soroban-token-spec" version = "0.6.0" -source = "git+https://github.com/stellar/rs-soroban-sdk?rev=4a0da68b5d71b94a327aa1f50b0209d94be2f3d9#4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +source = "git+https://github.com/stellar/rs-soroban-sdk?rev=ab96798be9f4b77570ed032cb58743942592114a#ab96798be9f4b77570ed032cb58743942592114a" dependencies = [ "soroban-sdk", ] diff --git a/Cargo.toml b/Cargo.toml index d982461b3..b709004a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,24 +15,24 @@ rev = "d39dd845d5bf31f976cdfea9bc7c2f8da8396b6b" [workspace.dependencies.soroban-spec] version = "0.6.0" git = "https://github.com/stellar/rs-soroban-sdk" -rev = "4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +rev = "ab96798be9f4b77570ed032cb58743942592114a" [workspace.dependencies.soroban-token-spec] version = "0.6.0" git = "https://github.com/stellar/rs-soroban-sdk" -rev = "4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +rev = "ab96798be9f4b77570ed032cb58743942592114a" [workspace.dependencies.soroban-sdk] version = "0.6.0" git = "https://github.com/stellar/rs-soroban-sdk" -rev = "4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +rev = "ab96798be9f4b77570ed032cb58743942592114a" [workspace.dependencies.soroban-ledger-snapshot] version = "0.6.0" git = "https://github.com/stellar/rs-soroban-sdk" -rev = "4a0da68b5d71b94a327aa1f50b0209d94be2f3d9" +rev = "ab96798be9f4b77570ed032cb58743942592114a" [workspace.dependencies.stellar-strkey] version = "0.0.7" diff --git a/cmd/soroban-cli/tests/fixtures/test-wasms/custom_type/src/lib.rs b/cmd/soroban-cli/tests/fixtures/test-wasms/custom_type/src/lib.rs index f380a5fe4..fa4112039 100644 --- a/cmd/soroban-cli/tests/fixtures/test-wasms/custom_type/src/lib.rs +++ b/cmd/soroban-cli/tests/fixtures/test-wasms/custom_type/src/lib.rs @@ -1,5 +1,7 @@ #![no_std] -use soroban_sdk::{contractimpl, contracttype, Address, Bytes, BytesN, Env, Map, Set, Symbol, Vec}; +use soroban_sdk::{ + contractimpl, contracttype, vec, Address, Bytes, BytesN, Env, Map, Set, Symbol, Vec, +}; pub struct Contract; @@ -60,7 +62,7 @@ impl Contract { /// Example contract method which takes a struct pub fn strukt_hel(env: Env, strukt: Test) -> Vec { - vec![&env, symbol!("Hello"), strukt.c] + vec![&env, Symbol::short("Hello"), strukt.c] } pub fn strukt(_env: Env, strukt: Test) -> Test {