diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index e0b92aede..5a444fb2b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -9,7 +9,7 @@ Stellar CLI is a Rust-based command-line tool for interacting with the Stellar n ### Bootstrap and Build - Install system dependencies: `sudo apt-get update && sudo apt-get install -y libudev-dev libdbus-1-dev build-essential` -- Install Rust toolchain: `rustup update` (Rust 1.89.0+ required) +- Install Rust toolchain: `rustup update` (Rust 1.92.0+ required) - Add WebAssembly target: `rustup target add wasm32v1-none` - Build main CLI: `cargo build --bin stellar` -- takes 45 seconds. NEVER CANCEL. - Install CLI: `make install` -- takes 3 minutes with potential network timeouts. NEVER CANCEL. Set timeout to 10+ minutes. diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml index f53a74e81..e63231590 100644 --- a/.github/workflows/bindings-ts.yml +++ b/.github/workflows/bindings-ts.yml @@ -27,6 +27,7 @@ jobs: - uses: stellar/quickstart@main with: tag: testing + protocol_version: 26 - uses: actions/setup-node@v6 with: node-version: "20.x" diff --git a/.github/workflows/rpc-tests.yml b/.github/workflows/rpc-tests.yml index 76b5e450e..749864413 100644 --- a/.github/workflows/rpc-tests.yml +++ b/.github/workflows/rpc-tests.yml @@ -34,6 +34,7 @@ jobs: - uses: stellar/quickstart@main with: tag: future + protocol_version: 26 - uses: actions/checkout@v6 - uses: stellar/actions/rust-cache@main - run: rustup update diff --git a/Cargo.lock b/Cargo.lock index d3394d8cb..6d1b9de13 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -49,6 +49,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -125,9 +131,9 @@ dependencies = [ [[package]] name = "ark-bls12-381" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" dependencies = [ "ark-ec", "ark-ff", @@ -137,9 +143,9 @@ dependencies = [ [[package]] name = "ark-bn254" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a22f4561524cd949590d78d7d4c5df8f592430d221f7f3c9497bbafd8972120f" +checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" dependencies = [ "ark-ec", "ark-ff", @@ -148,105 +154,112 @@ dependencies = [ [[package]] name = "ark-ec" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" dependencies = [ + "ahash", "ark-ff", "ark-poly", "ark-serialize", "ark-std", - "derivative", - "hashbrown 0.13.2", - "itertools 0.10.5", + "educe", + "fnv", + "hashbrown 0.15.5", + "itertools 0.13.0", + "num-bigint", + "num-integer", "num-traits", "zeroize", ] [[package]] name = "ark-ff" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" dependencies = [ "ark-ff-asm", "ark-ff-macros", "ark-serialize", "ark-std", - "derivative", + "arrayvec", "digest 0.10.7", - "itertools 0.10.5", + "educe", + "itertools 0.13.0", "num-bigint", "num-traits", "paste", - "rustc_version", "zeroize", ] [[package]] name = "ark-ff-asm" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" dependencies = [ "quote", - "syn 1.0.109", + "syn 2.0.106", ] [[package]] name = "ark-ff-macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" dependencies = [ "num-bigint", "num-traits", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.106", ] [[package]] name = "ark-poly" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" dependencies = [ + "ahash", "ark-ff", "ark-serialize", "ark-std", - "derivative", - "hashbrown 0.13.2", + "educe", + "fnv", + "hashbrown 0.15.5", ] [[package]] name = "ark-serialize" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" dependencies = [ "ark-serialize-derive", "ark-std", + "arrayvec", "digest 0.10.7", "num-bigint", ] [[package]] name = "ark-serialize-derive" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.106", ] [[package]] name = "ark-std" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" dependencies = [ "num-traits", "rand 0.8.5", @@ -258,6 +271,12 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" +[[package]] +name = "arrayvec" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" + [[package]] name = "ascii-canvas" version = "3.0.0" @@ -310,9 +329,9 @@ dependencies = [ [[package]] name = "astral-tokio-tar" -version = "0.5.6" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec179a06c1769b1e42e1e2cbe74c7dcdb3d6383c838454d063eaac5bbb7ebbe5" +checksum = "3c23f3af104b40a3430ccb90ed5f7bd877a8dc5c26fc92fde51a22b40890dcf9" dependencies = [ "filetime", "futures-core", @@ -746,9 +765,9 @@ dependencies = [ [[package]] name = "bollard" -version = "0.19.4" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a52479c9237eb04047ddb94788c41ca0d26eaff8b697ecfbb4c32f7fdc3b1b" +checksum = "ee04c4c84f1f811b017f2fbb7dd8815c976e7ca98593de9c1e2afad0f636bff4" dependencies = [ "async-stream", "base64 0.22.1", @@ -756,7 +775,6 @@ dependencies = [ "bollard-buildkit-proto", "bollard-stubs", "bytes", - "chrono", "futures-core", "futures-util", "hex", @@ -774,14 +792,13 @@ dependencies = [ "rand 0.9.2", "rustls 0.23.31", "rustls-native-certs 0.8.1", - "rustls-pemfile 2.2.0", "rustls-pki-types", "serde", "serde_derive", "serde_json", - "serde_repr", "serde_urlencoded", "thiserror 2.0.16", + "time", "tokio", "tokio-stream", "tokio-util", @@ -806,19 +823,18 @@ dependencies = [ [[package]] name = "bollard-stubs" -version = "1.49.1-rc.28.4.0" +version = "1.52.1-rc.29.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5731fe885755e92beff1950774068e0cae67ea6ec7587381536fca84f1779623" +checksum = "0f0a8ca8799131c1837d1282c3f81f31e76ceb0ce426e04a7fe1ccee3287c066" dependencies = [ "base64 0.22.1", "bollard-buildkit-proto", "bytes", - "chrono", "prost", "serde", "serde_json", "serde_repr", - "serde_with", + "time", ] [[package]] @@ -1290,7 +1306,7 @@ dependencies = [ "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", - "foldhash", + "foldhash 0.2.0", "link-cplusplus", ] @@ -1432,17 +1448,6 @@ dependencies = [ "serde", ] -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive_arbitrary" version = "1.3.2" @@ -1636,6 +1641,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "either" version = "1.15.0" @@ -1684,6 +1701,26 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf" +[[package]] +name = "enum-ordinalize" +version = "4.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a1091a7bb1f8f2c4b28f1fe2cef4980ca2d410a3d727d67ecc3178c9b0800f0" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca9601fb2d62598ee17836250842873a413586e5d7ed88b356e38ddbb0ec631" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "enumflags2" version = "0.7.12" @@ -1875,6 +1912,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + [[package]] name = "foldhash" version = "0.2.0" @@ -2052,11 +2095,25 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "r-efi", + "r-efi 5.3.0", "wasi 0.14.4+wasi-0.2.4", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.0", + "wasip2", + "wasip3", +] + [[package]] name = "gimli" version = "0.31.1" @@ -2169,20 +2226,15 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash", -] - [[package]] name = "hashbrown" version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "allocator-api2", + "foldhash 0.1.5", +] [[package]] name = "heapless" @@ -2662,6 +2714,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + [[package]] name = "ident_case" version = "1.0.1" @@ -2833,6 +2891,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -3969,6 +4036,12 @@ version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + [[package]] name = "rand" version = "0.8.5" @@ -3990,6 +4063,16 @@ dependencies = [ "rand_core 0.9.3", ] +[[package]] +name = "rand" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" +dependencies = [ + "getrandom 0.4.2", + "rand_core 0.10.0", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -4028,6 +4111,12 @@ dependencies = [ "getrandom 0.3.3", ] +[[package]] +name = "rand_core" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" + [[package]] name = "redox_syscall" version = "0.5.17" @@ -4299,7 +4388,7 @@ dependencies = [ "once_cell", "ring", "rustls-pki-types", - "rustls-webpki 0.103.4", + "rustls-webpki 0.103.10", "subtle", "zeroize", ] @@ -4311,7 +4400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile 1.0.4", + "rustls-pemfile", "schannel", "security-framework 2.11.1", ] @@ -4337,15 +4426,6 @@ dependencies = [ "base64 0.21.7", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" version = "1.12.0" @@ -4368,9 +4448,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.4" +version = "0.103.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc" +checksum = "df33b2b81ac578cabaf06b89b0631153a3f416b0a886e8a7a1707fb51abbd1ef" dependencies = [ "ring", "rustls-pki-types", @@ -4868,12 +4948,13 @@ checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "slipped10" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a45443e66aa5d96db5e02d17db056e1ca970232a4fe73e1f9bc1816d68f4e98" +checksum = "0467009f63d9ec6920100ddb026ccdb8b661ba37aaa86664c5e9ac3a4e3e316b" dependencies = [ "ed25519-dalek", "hmac 0.9.0", + "rand 0.10.0", "sha2 0.9.9", ] @@ -4927,11 +5008,11 @@ dependencies = [ [[package]] name = "soroban-builtin-sdk-macros" -version = "25.0.1" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7192e3a5551a7aeee90d2110b11b615798e81951fd8c8293c87ea7f88b0168f5" +checksum = "e38f0269c20b3c4c3aa2198b5460c72837e0361295a46b914adbcad67fa83d48" dependencies = [ - "itertools 0.10.5", + "itertools 0.13.0", "proc-macro2", "quote", "syn 2.0.106", @@ -5031,9 +5112,9 @@ dependencies = [ [[package]] name = "soroban-env-common" -version = "25.0.1" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfc49a80a68fc1005847308e63b9fce39874de731940b1807b721d472de3ff01" +checksum = "77b15a125a4ec51eeee94cfa58ac3e4f29e7f5426e7f4692a1b119ee60d83a06" dependencies = [ "arbitrary", "crate-git-revision", @@ -5050,9 +5131,9 @@ dependencies = [ [[package]] name = "soroban-env-guest" -version = "25.0.1" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2334ba1cfe0a170ab744d96db0b4ca86934de9ff68187ceebc09dc342def55" +checksum = "f85f2b5be7654eca65aa17333cb3fe6b0e6685bc7a40792e28e247e4fef6372e" dependencies = [ "soroban-env-common", "static_assertions", @@ -5060,9 +5141,9 @@ dependencies = [ [[package]] name = "soroban-env-host" -version = "25.0.1" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43af5d53c57bc2f546e122adc0b1cca6f93942c718977379aa19ddd04f06fcec" +checksum = "cb9c9c66b62af1179dc6265000bb4356caf0b67225568f64f39bd4194925917a" dependencies = [ "ark-bls12-381", "ark-bn254", @@ -5097,11 +5178,11 @@ dependencies = [ [[package]] name = "soroban-env-macros" -version = "25.0.1" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a989167512e3592d455b1e204d703cfe578a36672a77ed2f9e6f7e1bbfd9cc5c" +checksum = "2d075b3654119b6dac81abd0f8c2f29cdba36edbda102b3c8c3d5f029f099790" dependencies = [ - "itertools 0.10.5", + "itertools 0.13.0", "proc-macro2", "quote", "serde", @@ -5116,9 +5197,8 @@ version = "25.2.0" [[package]] name = "soroban-ledger-snapshot" -version = "25.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1886a9cd584381b57ba586b2ca31ce6de51c5e2579e4609f0705d6c5b5613d" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "serde", "serde_json", @@ -5130,9 +5210,8 @@ dependencies = [ [[package]] name = "soroban-sdk" -version = "25.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f3293c7598be20a13bbea89a0494e29d1682a615b44dbcaf936175a33307873" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "arbitrary", "bytes-lit", @@ -5154,13 +5233,12 @@ dependencies = [ [[package]] name = "soroban-sdk-macros" -version = "25.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c59452dac3d01b30c4dd96a35c532da8e3794b5fc9b6754249922b4dd04b199" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "darling", "heck 0.5.0", - "itertools 0.10.5", + "itertools 0.13.0", "macro-string", "proc-macro2", "quote", @@ -5174,9 +5252,8 @@ dependencies = [ [[package]] name = "soroban-spec" -version = "25.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8753d54c9de13994e8f460345c9909963395e275d241f24fb95a5a06587cf188" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "base64 0.22.1", "sha2 0.10.9", @@ -5187,9 +5264,8 @@ dependencies = [ [[package]] name = "soroban-spec-rust" -version = "25.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "905af12f7dd710b94d6c1c434387a34d5e2bc764c7fa08e469c2f27ed6139e00" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "prettyplease", "proc-macro2", @@ -5218,7 +5294,7 @@ dependencies = [ "stellar-xdr", "thiserror 1.0.69", "tokio", - "wasm-encoder", + "wasm-encoder 0.235.0", "wasmparser 0.116.1", "which", ] @@ -5279,25 +5355,23 @@ dependencies = [ "tracing-subscriber", "ulid", "walkdir", - "wasm-encoder", + "wasm-encoder 0.235.0", "wasmparser 0.116.1", "which", ] [[package]] name = "soroban-token-sdk" -version = "25.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e55b90958cc236f19c4912979d515e7b59bd31ddbd92cd36b9e9b2f77f0eea9" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "soroban-sdk", ] [[package]] name = "soroban-token-spec" -version = "25.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a881a4553fcd5c1f0fee3e6f3694bce540c471ccc2fe2f942ea5b00c3c443c43" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "soroban-sdk", "soroban-token-sdk", @@ -5346,9 +5420,8 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "stellar-asset-spec" -version = "25.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57029096bcb45e2be65d13afe22d77335ea86d1ca1185c1de3a5e5cda54e768f" +version = "25.3.1" +source = "git+https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview#d5b6d67cdab661795943163669f1fae07669b2f3" dependencies = [ "soroban-sdk", "soroban-token-sdk", @@ -5402,9 +5475,9 @@ dependencies = [ [[package]] name = "stellar-rpc-client" -version = "25.0.0" +version = "26.0.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22c11b19c588a2f46421e142100f8ec38958307a04a16ab34f8c14d23e9b7395" +checksum = "92627395efaf7ddab9497978fd948345f0d15e2084a217625177e5e04bd42fe9" dependencies = [ "clap", "hex", @@ -5474,9 +5547,9 @@ dependencies = [ [[package]] name = "stellar-xdr" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d20dafed80076b227d4b17c0c508a4bbc4d5e4c3d4c1de7cd42242df4b1eaf" +checksum = "fea3195594b044ea3a5b05906f81d945480825f00db4e3ae7d77526bf546ff3a" dependencies = [ "arbitrary", "base64 0.22.1", @@ -5796,9 +5869,9 @@ dependencies = [ [[package]] name = "testcontainers" -version = "0.26.0" +version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a347cac4368ba4f1871743adb27dc14829024d26b1763572404726b0b9943eb8" +checksum = "0bd36b06a2a6c0c3c81a83be1ab05fe86460d054d4d51bf513bc56b3e15bdc22" dependencies = [ "astral-tokio-tar", "async-trait", @@ -5809,6 +5882,7 @@ dependencies = [ "etcetera", "ferroid", "futures", + "http 1.3.1", "itertools 0.14.0", "log", "memchr", @@ -6474,7 +6548,25 @@ version = "0.14.4+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88a5f4a424faf49c3c2c344f166f0662341d470ea185e939657aaff130f0ec4a" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.45.1", +] + +[[package]] +name = "wasip2" +version = "1.0.2+wasi-0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +dependencies = [ + "wit-bindgen 0.51.0", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +dependencies = [ + "wit-bindgen 0.51.0", ] [[package]] @@ -6565,6 +6657,16 @@ dependencies = [ "wasmparser 0.235.0", ] +[[package]] +name = "wasm-encoder" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser 0.244.0", +] + [[package]] name = "wasm-gen" version = "0.1.4" @@ -6575,6 +6677,18 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-metadata" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +dependencies = [ + "anyhow", + "indexmap 2.11.0", + "wasm-encoder 0.244.0", + "wasmparser 0.244.0", +] + [[package]] name = "wasm-opt" version = "0.116.1" @@ -6667,6 +6781,18 @@ dependencies = [ "semver", ] +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags", + "hashbrown 0.15.5", + "indexmap 2.11.0", + "semver", +] + [[package]] name = "wasmparser-nostd" version = "0.100.2" @@ -7082,6 +7208,94 @@ version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36" +[[package]] +name = "wit-bindgen" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck 0.5.0", + "wit-parser", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck 0.5.0", + "indexmap 2.11.0", + "prettyplease", + "syn 2.0.106", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.106", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", + "bitflags", + "indexmap 2.11.0", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder 0.244.0", + "wasm-metadata", + "wasmparser 0.244.0", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.11.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.244.0", +] + [[package]] name = "writeable" version = "0.6.1" diff --git a/Cargo.toml b/Cargo.toml index 3bdbcf39e..9c1723a58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ exclude = [ [workspace.package] version = "25.2.0" -rust-version = "1.89.0" +rust-version = "1.92.0" # Dependencies located in this repo: [workspace.dependencies.soroban-cli] @@ -44,34 +44,48 @@ path = "cmd/crates/stellar-ledger" # Dependencies from the rs-stellar-xdr repo: [workspace.dependencies.stellar-xdr] -version = "25.0.0" +version = "26.0.0" # Dependencies from the rs-soroban-sdk repo: [workspace.dependencies.soroban-spec] -version = "25.2.0" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" [workspace.dependencies.soroban-spec-rust] -version = "25.2.0" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" [workspace.dependencies.soroban-sdk] -version = "25.2.0" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" [workspace.dependencies.soroban-env-host] -version = "25.0.2" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" [workspace.dependencies.soroban-token-sdk] -version = "25.0.2" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" [workspace.dependencies.stellar-asset-spec] -version = "25.0.2" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" [workspace.dependencies.soroban-ledger-snapshot] -version = "25.0.2" +version = "25.3.1" +git = "https://github.com/stellar/rs-soroban-sdk" +branch = "release/v26-preview" # Dependencies from the rs-stellar-rpc-client repo: [workspace.dependencies.soroban-rpc] package = "stellar-rpc-client" -version = "25.0.0" +version = "26.0.0-rc.1" # Dependencies from elsewhere shared by crates: [workspace.dependencies] @@ -85,7 +99,7 @@ escape-bytes = "0.1.1" hex = "0.4.3" itertools = "0.10.0" async-trait = "0.1.76" -bollard = "0.19.4" +bollard = "0.20.2" serde-aux = "4.1.2" serde_json = "1.0.82" serde = "1.0.82" @@ -118,8 +132,9 @@ time = ">=0.3.47" bytes = ">=1.11.1" # testing predicates = "3.1.2" -testcontainers = { version = "0.26.0" } +testcontainers = "0.27.2" httpmock = "0.7.0" +astral-tokio-tar = "0.6.0" [profile.release] overflow-checks = true diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index e197e0238..666fb26b4 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -63,13 +63,8 @@ Anything after the `--` double dash (the "slop") is parsed as arguments to the c - `fee-stats` — ⚠️ Deprecated, use `fees stats` instead. Fetch network feestats - `fees` — Fetch network feestats and configure CLI fee settings -###### **Options:** - -- `--list` — ⚠️ Deprecated, use `stellar plugin ls`. List installed plugins. E.g. `stellar-hello` - ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings - `-f`, `--filter-logs ` — Filter logs output. To turn on `stellar_cli::log::footprint=debug` or off `=off`. Can also use env var `RUST_LOG` - `-q`, `--quiet` — Do not write logs to stderr including `INFO` @@ -126,7 +121,6 @@ Get Id of builtin Soroban Asset Contract. Deprecated, use `stellar contract id a ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -157,7 +151,6 @@ Deploy builtin Soroban Asset Contract ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -196,7 +189,6 @@ Remove contract alias ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -223,7 +215,6 @@ Add contract alias ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -245,7 +236,6 @@ Show the contract id associated with a given alias ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -263,7 +253,6 @@ List all aliases ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar contract bindings` @@ -308,7 +297,6 @@ Generate a TypeScript / JavaScript package ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -430,7 +418,6 @@ If no keys are specified the contract itself is extended. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -484,7 +471,6 @@ Deploy a wasm contract ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -512,7 +498,6 @@ Fetch a contract's Wasm binary ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -545,7 +530,6 @@ Deploy builtin Soroban Asset Contract ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -574,7 +558,6 @@ Deploy normal Wasm Contract ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -626,7 +609,6 @@ Outputs no data when no data is present in the contract. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -665,7 +647,6 @@ Outputs no data when no data is present in the contract. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -704,7 +685,6 @@ Outputs no data when no data is present in the contract. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -730,7 +710,6 @@ If the contract has a meta entry like `source_repo=github:user/repo`, this comma ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -780,7 +759,6 @@ This command will create a Cargo workspace project and add a sample Stellar cont ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar contract upload` @@ -816,7 +794,6 @@ Install a WASM file to the ledger without creating a contract instance ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -863,7 +840,6 @@ Install a WASM file to the ledger without creating a contract instance ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -915,7 +891,6 @@ stellar contract invoke ... -- --help ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -972,7 +947,6 @@ Print the current value of a contract-data ledger entry ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1018,7 +992,6 @@ If no keys are specificed the contract itself is restored. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1040,7 +1013,6 @@ Diagnose and troubleshoot CLI and network issues ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar events` @@ -1095,7 +1067,6 @@ Watch the network for contract events ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1125,7 +1096,6 @@ If there are no environment variables in use, prints the defaults. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys` @@ -1171,7 +1141,6 @@ Add a new identity (keypair, ledger, OS specific secure store) ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys public-key` @@ -1192,7 +1161,6 @@ Given an identity return its address (public key) ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys fund` @@ -1211,7 +1179,6 @@ Fund an identity on a test network ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1248,7 +1215,6 @@ Generate a new identity using a 24-word seed phrase The seed phrase can be store ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1270,7 +1236,6 @@ List identities ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys rm` @@ -1285,7 +1250,6 @@ Remove an identity ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys secret` @@ -1305,7 +1269,6 @@ Output an identity's secret key ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys use` @@ -1320,7 +1283,6 @@ Set the default identity that will be used on all commands. This allows you to s ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar keys unset` @@ -1331,7 +1293,6 @@ Unset the default key identity defined previously with `keys use ` ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar network` @@ -1364,7 +1325,6 @@ Add a new network ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1385,7 +1345,6 @@ Remove a network ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar network ls` @@ -1400,7 +1359,6 @@ List networks ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar network use` @@ -1415,7 +1373,6 @@ Set the default network that will be used on all commands. This allows you to sk ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar network health` @@ -1437,7 +1394,6 @@ Fetch the health of the configured RPC ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1466,7 +1422,6 @@ Checks the health of the configured RPC ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1496,7 +1451,6 @@ Fetch the network's config settings ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1514,7 +1468,6 @@ Unset the default network defined previously with `network use ` ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar network root-account` @@ -1543,7 +1496,6 @@ Output a network's root account address (public key) ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar network root-account secret` @@ -1559,7 +1511,6 @@ Output a network's root account secret key ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar container` @@ -1655,7 +1606,6 @@ Migrate the local configuration to the global directory ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar config dir` @@ -1670,7 +1620,6 @@ The location will depend on how your system is configured. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar snapshot` @@ -1724,7 +1673,6 @@ Any invalid contract id passed as `--address` will be ignored. ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1806,7 +1754,6 @@ Fetch the source account's seq-num and increment for the given tx ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1898,7 +1845,6 @@ Transfer XLM balance to another account and remove source account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1928,7 +1874,6 @@ Begin sponsoring future reserves for another account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1958,7 +1903,6 @@ Bump sequence number to invalidate older transactions ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -1991,7 +1935,6 @@ Create, update, or delete a trustline ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2021,7 +1964,6 @@ Claim a claimable balance by its balance ID ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2053,7 +1995,6 @@ Clawback an asset from an account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2083,7 +2024,6 @@ Clawback a claimable balance by its balance ID ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2116,7 +2056,6 @@ Create and fund a new account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2154,7 +2093,6 @@ Create a claimable balance that can be claimed by specified accounts ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2187,7 +2125,6 @@ Create a passive sell offer on the Stellar DEX ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2216,7 +2153,6 @@ End sponsoring future reserves ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2255,7 +2191,6 @@ Deposit assets into a liquidity pool ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2288,7 +2223,6 @@ Withdraw assets from a liquidity pool ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2324,7 +2258,6 @@ Create, update, or delete a buy offer ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2355,7 +2288,6 @@ Set, modify, or delete account data entries ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2391,7 +2323,6 @@ Create, update, or delete a sell offer ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2426,7 +2357,6 @@ Send a payment with a different asset using path finding, specifying the send am ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2461,7 +2391,6 @@ Send a payment with a different asset using path finding, specifying the receive ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2496,7 +2425,6 @@ Send asset to destination account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2532,7 +2460,6 @@ Revoke sponsorship of a ledger entry or signer ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2577,7 +2504,6 @@ Set account options like flags, signers, and home domain ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2614,7 +2540,6 @@ Configure authorization and trustline flags for an asset ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2692,7 +2617,6 @@ Transfer XLM balance to another account and remove source account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2727,7 +2651,6 @@ Begin sponsoring future reserves for another account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2762,7 +2685,6 @@ Bump sequence number to invalidate older transactions ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2800,7 +2722,6 @@ Create, update, or delete a trustline ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2835,7 +2756,6 @@ Claim a claimable balance by its balance ID ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2872,7 +2792,6 @@ Clawback an asset from an account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2907,7 +2826,6 @@ Clawback a claimable balance by its balance ID ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2945,7 +2863,6 @@ Create and fund a new account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -2988,7 +2905,6 @@ Create a claimable balance that can be claimed by specified accounts ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3026,7 +2942,6 @@ Create a passive sell offer on the Stellar DEX ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3060,7 +2975,6 @@ End sponsoring future reserves ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3104,7 +3018,6 @@ Deposit assets into a liquidity pool ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3142,7 +3055,6 @@ Withdraw assets from a liquidity pool ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3183,7 +3095,6 @@ Create, update, or delete a buy offer ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3219,7 +3130,6 @@ Set, modify, or delete account data entries ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3260,7 +3170,6 @@ Create, update, or delete a sell offer ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3300,7 +3209,6 @@ Send a payment with a different asset using path finding, specifying the receive ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3340,7 +3248,6 @@ Send a payment with a different asset using path finding, specifying the send am ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3380,7 +3287,6 @@ Send asset to destination account ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3421,7 +3327,6 @@ Revoke sponsorship of a ledger entry or signer ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3471,7 +3376,6 @@ Set account options like flags, signers, and home domain ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3513,7 +3417,6 @@ Configure authorization and trustline flags for an asset ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3535,7 +3438,6 @@ Send a transaction envelope to the network ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3564,7 +3466,6 @@ Sign a transaction envelope appending the signature to the envelope ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3597,7 +3498,6 @@ Simulate a transaction envelope from stdin ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -3801,6 +3701,7 @@ Decode and encode XDR - `encode` — Encode XDR - `compare` — Compare two XDR values with each other - `generate` — Generate XDR values +- `xfile` — Preprocess XDR .x files - `version` — Print version information ###### **Arguments:** @@ -3841,7 +3742,7 @@ View information about types ###### **Options:** -- `--type ` — XDR type to decode +- `--type ` — XDR type to generate schema for - `--output ` Default value: `json-schema-draft201909` @@ -4006,6 +3907,31 @@ Generate arbitrary XDR values Possible values: `single`, `single-base64`, `json`, `json-formatted`, `text` +## `stellar xdr xfile` + +Preprocess XDR .x files + +**Usage:** `stellar xdr xfile ` + +###### **Subcommands:** + +- `preprocess` — Preprocess XDR .x files by evaluating #ifdef/#ifndef/#elif/#else/#endif directives + +## `stellar xdr xfile preprocess` + +Preprocess XDR .x files by evaluating #ifdef/#ifndef/#elif/#else/#endif directives + +**Usage:** `stellar xdr xfile preprocess [OPTIONS] [INPUT]` + +###### **Arguments:** + +- `` — XDR .x file to preprocess, or stdin if omitted + +###### **Options:** + +- `--features ` — Features/symbols to define +- `--all-features` — Enable all features/symbols found in the input + ## `stellar xdr version` Print version information @@ -4136,7 +4062,6 @@ List cached actions (transactions, simulations) ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar cache actionlog read` @@ -4244,7 +4169,6 @@ Fetch account entry by public key or alias ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4286,7 +4210,6 @@ Fetch contract ledger entry by address or alias and storage key ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4316,7 +4239,6 @@ Fetch a claimable balance ledger entry by id ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4346,7 +4268,6 @@ Fetch a liquidity pool ledger entry by id ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4376,7 +4297,6 @@ Fetch a Contract's WASM bytecode by WASM hash ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4409,7 +4329,6 @@ Fetch a trustline by account and asset ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4442,7 +4361,6 @@ Fetch key-value data entries attached to an account (see manageDataOp) ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4475,7 +4393,6 @@ Fetch an offer by account and offer id ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4580,7 +4497,6 @@ Example: stellar message sign "Hello, World!" --sign-with-key alice ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar message verify` @@ -4606,7 +4522,6 @@ Example: stellar message verify "Hello, World!" --signature BASE64_SIG --public- ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ## `stellar fee-stats` @@ -4684,7 +4599,6 @@ Set the default inclusion fee settings for the CLI ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings ###### **Options (RPC):** @@ -4702,5 +4616,4 @@ Remove the default inclusion fee settings for the CLI ###### **Options (Global):** -- `--global` — ⚠️ Deprecated: global config is always on - `--config-dir ` — Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. Contains configuration files, aliases, and other persistent settings diff --git a/cmd/crates/soroban-test/src/lib.rs b/cmd/crates/soroban-test/src/lib.rs index 259f606a5..f287088f9 100644 --- a/cmd/crates/soroban-test/src/lib.rs +++ b/cmd/crates/soroban-test/src/lib.rs @@ -272,10 +272,7 @@ impl TestEnv { network: None, }, source_account: account.parse().unwrap(), - locator: config::locator::Args { - global: false, - config_dir, - }, + locator: config::locator::Args { config_dir }, sign_with: config::sign_with::Args { sign_with_key: None, hd_path: None, diff --git a/cmd/crates/stellar-ledger/Cargo.toml b/cmd/crates/stellar-ledger/Cargo.toml index 0f599ed74..d8e13557a 100644 --- a/cmd/crates/stellar-ledger/Cargo.toml +++ b/cmd/crates/stellar-ledger/Cargo.toml @@ -20,7 +20,7 @@ ed25519-dalek = { workspace = true } stellar-strkey = { workspace = true } ledger-transport-hid = "0.10.0" ledger-transport = "0.10.0" -slip10 = { package = "slipped10", version = "0.4.6" } +slip10 = { package = "slipped10", version = "0.4.7" } tracing = { workspace = true } hex.workspace = true byteorder = "1.5.0" diff --git a/cmd/soroban-cli/src/commands/contract/invoke.rs b/cmd/soroban-cli/src/commands/contract/invoke.rs index bebba454a..88794c57c 100644 --- a/cmd/soroban-cli/src/commands/contract/invoke.rs +++ b/cmd/soroban-cli/src/commands/contract/invoke.rs @@ -280,7 +280,6 @@ impl Cmd { quiet, verbose: false, very_verbose: false, - list: false, no_cache, }; diff --git a/cmd/soroban-cli/src/commands/global.rs b/cmd/soroban-cli/src/commands/global.rs index 5c9be71fb..36004d412 100644 --- a/cmd/soroban-cli/src/commands/global.rs +++ b/cmd/soroban-cli/src/commands/global.rs @@ -36,10 +36,6 @@ pub struct Args { #[arg(long, visible_alias = "vv", global = true, help_heading = HEADING_GLOBAL)] pub very_verbose: bool, - /// ⚠️ Deprecated, use `stellar plugin ls`. List installed plugins. E.g. `stellar-hello` - #[arg(long)] - pub list: bool, - /// Do not cache your simulations and transactions #[arg(long, env = "STELLAR_NO_CACHE", global = true, help_heading = HEADING_GLOBAL)] pub no_cache: bool, diff --git a/cmd/soroban-cli/src/commands/keys/generate.rs b/cmd/soroban-cli/src/commands/keys/generate.rs index 37e41ff65..bfc450aa5 100644 --- a/cmd/soroban-cli/src/commands/keys/generate.rs +++ b/cmd/soroban-cli/src/commands/keys/generate.rs @@ -137,7 +137,6 @@ mod tests { fn set_up_test() -> (super::locator::Args, super::Cmd) { let temp_dir = tempfile::tempdir().unwrap(); let locator = super::locator::Args { - global: false, config_dir: Some(temp_dir.path().to_path_buf()), }; diff --git a/cmd/soroban-cli/src/commands/message/sign.rs b/cmd/soroban-cli/src/commands/message/sign.rs index c9f943549..de46b8c42 100644 --- a/cmd/soroban-cli/src/commands/message/sign.rs +++ b/cmd/soroban-cli/src/commands/message/sign.rs @@ -150,7 +150,6 @@ mod tests { fn setup_locator() -> locator::Args { let temp_dir = tempfile::tempdir().unwrap(); locator::Args { - global: false, config_dir: Some(temp_dir.path().to_path_buf()), } } diff --git a/cmd/soroban-cli/src/commands/message/verify.rs b/cmd/soroban-cli/src/commands/message/verify.rs index c20a2b605..38706ac0a 100644 --- a/cmd/soroban-cli/src/commands/message/verify.rs +++ b/cmd/soroban-cli/src/commands/message/verify.rs @@ -165,7 +165,6 @@ mod tests { fn setup_locator() -> locator::Args { let temp_dir = tempfile::tempdir().unwrap(); locator::Args { - global: false, config_dir: Some(temp_dir.path().to_path_buf()), } } diff --git a/cmd/soroban-cli/src/commands/mod.rs b/cmd/soroban-cli/src/commands/mod.rs index b5aac1a7c..d470edb77 100644 --- a/cmd/soroban-cli/src/commands/mod.rs +++ b/cmd/soroban-cli/src/commands/mod.rs @@ -2,7 +2,7 @@ use std::str::FromStr; use clap::{error::ErrorKind, CommandFactory, FromArgMatches, Parser}; -use crate::{config, print::Print, utils::deprecate_message}; +use crate::config; pub mod cache; pub mod cfg; @@ -86,21 +86,12 @@ pub struct Root { impl Root { pub fn new() -> Result { - Self::try_parse().map_err(|e| { - if std::env::args().any(|s| s == "--list") { - let print = Print::new(std::env::args().any(|s| s == "--quiet" || s == "-q")); - deprecate_message(print, "--list", "Use `stellar plugin ls` instead."); - let _ = plugin::ls::Cmd.run(); - std::process::exit(0); - } - - match e.kind() { - ErrorKind::InvalidSubcommand => match plugin::default::run() { - Ok(()) => Error::Clap(e), - Err(e) => Error::PluginDefault(e), - }, - _ => Error::Clap(e), - } + Self::try_parse().map_err(|e| match e.kind() { + ErrorKind::InvalidSubcommand => match plugin::default::run() { + Ok(()) => Error::Clap(e), + Err(e) => Error::PluginDefault(e), + }, + _ => Error::Clap(e), }) } @@ -113,16 +104,6 @@ impl Root { } pub async fn run(&mut self) -> Result<(), Error> { - let print = Print::new(self.global_args.quiet); - - if self.global_args.locator.global { - deprecate_message( - print, - "--global", - "Global configuration is now the default behavior.", - ); - } - match &mut self.cmd { Cmd::Completion(completion) => completion.run(), Cmd::Plugin(plugin) => plugin.run(&self.global_args).await?, diff --git a/cmd/soroban-cli/src/commands/network/ls.rs b/cmd/soroban-cli/src/commands/network/ls.rs index 428d6fd4a..ed3e071ce 100644 --- a/cmd/soroban-cli/src/commands/network/ls.rs +++ b/cmd/soroban-cli/src/commands/network/ls.rs @@ -45,7 +45,7 @@ impl Cmd { format!("\n{}", lines.join("\n")) }; - (!self.config_locator.global || location == "Global").then(|| { + (location == "Global").then(|| { Some(format!( "Name: {name}\nRPC url: {rpc_url}\nRPC headers:{headers}\nNetwork passphrase: {passphrase}", rpc_url = network.rpc_url, diff --git a/cmd/soroban-cli/src/config/data.rs b/cmd/soroban-cli/src/config/data.rs index 58a9f4cb6..2ffa87613 100644 --- a/cmd/soroban-cli/src/config/data.rs +++ b/cmd/soroban-cli/src/config/data.rs @@ -180,6 +180,10 @@ impl TryFrom for Action { fn try_from(res: GetTransactionResponse) -> Result { Ok(Self::Send { response: GetTransactionResponseRaw { + created_at: res.created_at, + fee_bump: res.fee_bump, + tx_hash: res.tx_hash, + application_order: res.application_order, status: res.status, ledger: res.ledger, envelope_xdr: res.envelope.as_ref().map(to_xdr).transpose()?, diff --git a/cmd/soroban-cli/src/config/locator.rs b/cmd/soroban-cli/src/config/locator.rs index 9237f582d..37d9bbba9 100644 --- a/cmd/soroban-cli/src/config/locator.rs +++ b/cmd/soroban-cli/src/config/locator.rs @@ -110,10 +110,6 @@ pub enum Error { #[derive(Debug, clap::Args, Default, Clone)] #[group(skip)] pub struct Args { - /// ⚠️ Deprecated: global config is always on - #[arg(long, global = true, help_heading = HEADING_GLOBAL)] - pub global: bool, - /// Location of config directory. By default, it uses `$XDG_CONFIG_HOME/stellar` if set, falling back to `~/.config/stellar` otherwise. /// Contains configuration files, aliases, and other persistent settings. #[arg(long, global = true, help_heading = HEADING_GLOBAL)] @@ -159,11 +155,6 @@ impl Location { impl Args { pub fn config_dir(&self) -> Result { - if self.global { - let print = Print::new(false); - print.warnln("Flag --global is deprecated: global config is always used"); - } - self.global_config_path() } diff --git a/deny.toml b/deny.toml index 4b8c7a67e..c6edd8d5d 100644 --- a/deny.toml +++ b/deny.toml @@ -32,7 +32,6 @@ yanked = "warn" # A list of advisory IDs to ignore. Note that ignored advisories will still # output a note when they are encountered. ignore = [ - "RUSTSEC-2024-0388", # derivative is no longer maintained, but that has no known material impact on the this repo "RUSTSEC-2024-0436", # paste is no longer maintained "RUSTSEC-2025-0052", # async-std has been discontinued - used only in test dependencies "RUSTSEC-2025-0134", # rustls-pemfile has been discontinued - need to update stellar-rpc-client with compatible jsonrpsee (possible other deps too) @@ -197,9 +196,6 @@ skip = [ # slipped again 0.12.1 { crate = "hmac", reason = "temp" }, - # update rpassword, hidapi (then ledger-transport-hid), and dirs-sys (then directories) to 0.52 - # { crate = "window-sys", reason = "temp" }, - # syn is too large of a surface to check { crate = "syn", reason = "Too many crates haven't updated to v2" }, @@ -211,15 +207,10 @@ skip = [ { crate = "strum", reason = "wasm-opt needs to update", version = "0.26.3" }, { crate = "strum_macros", reason = "wasm-opt needs to update", version = "0.26.4" }, - - # soroban-env-host must upgrade ark-* to 0.14.5 - { crate = "hashbrown", reason = "temp", version = "13.2"}, - { crate = "windows-sys", reason = "temp", version = "0.59.0"}, { crate = "windows-targets", reason = "temp", version = "0.52.6"}, { crate = "windows_x86_64_gnu", reason = "temp", version = "0.52.6"}, { crate = "windows_x86_64_msvc", reason = "temp", version = "0.52.6"}, - # { crate = "dir-sys", reason = "temp", version } # wasm-gen update { crate = "byteorder", reason = "temp", version = "1.5.0" }, @@ -248,6 +239,7 @@ allow-registry = ["https://github.com/rust-lang/crates.io-index"] allow-git = [ # Only used by the unpublished doc-gen crate, temporarily until PR is merged: https://github.com/ConnorGray/clap-markdown/pull/48 "https://github.com/ConnorGray/clap-markdown?rev=42956b342cef3325d9060fc43995d595e7c8aa66", + "https://github.com/stellar/rs-soroban-sdk?branch=release%2Fv26-preview" ] [sources.allow-org]