From 035f09dc6cebdd31c002f8c6666bc49ffecd88a3 Mon Sep 17 00:00:00 2001 From: grunch Date: Tue, 28 Jul 2026 15:57:46 -0300 Subject: [PATCH] chore: bump mostro-core to 0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligns the CLI with mostrod v0.18.0, which already ships mostro-core 0.14.1. Staying on 0.13.0 meant any message carrying an action added in 0.14.x (e.g. the Cashu escrow actions) failed deserialization and was silently dropped — the exact hazard the protocol spec warns about in pay_bond_invoice.md. Transport::GiftWrap is now deprecated upstream (mostro/#786); the CLI keeps it as the v1 fallback until mostrod v0.19.0 removes the path, so the single test-side use gets a scoped #[allow(deprecated)]. --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/util/messaging.rs | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1ec0de5..2c82c16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1550,9 +1550,9 @@ dependencies = [ [[package]] name = "mostro-core" -version = "0.13.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d763fddd85d86033f78dacadb8b75041100af7dae4d50e5bea9dc91fc1a1d24c" +checksum = "30391197a9de16ce45b7ee5a92d5b3f74c3d12da4d13d442aff00c93c2424038" dependencies = [ "bitcoin", "chrono", diff --git a/Cargo.toml b/Cargo.toml index de7062e..365155f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ reqwest = { version = "0.12.23", default-features = false, features = [ "json", "rustls-tls", ] } -mostro-core = "0.13.0" +mostro-core = "0.14.1" lnurl-rs = { version = "0.9.0", default-features = false, features = ["ureq"] } pretty_env_logger = "0.5.0" sqlx = { version = "0.8.6", features = ["sqlite", "runtime-tokio-rustls"] } diff --git a/src/util/messaging.rs b/src/util/messaging.rs index 4d4bdc4..2ff2bc6 100644 --- a/src/util/messaging.rs +++ b/src/util/messaging.rs @@ -643,6 +643,9 @@ mod tests { // our WrapOptions knobs (signed, pow) reach the outer event. #[test] + // Transport::GiftWrap is deprecated upstream (mostro/#786) but the CLI + // keeps the v1 fallback until mostrod v0.19.0 removes the path. + #[allow(deprecated)] fn transport_from_str_maps_to_event_kind() { // The CLI resolves `TRANSPORT` via Transport::from_str and subscribes // on `event_kind()`. Lock down the mapping the receive/send paths rely