From a08e7cf341c988daa91518d247a36d53a87d68d1 Mon Sep 17 00:00:00 2001 From: ccamel Date: Wed, 7 Aug 2024 14:41:08 +0200 Subject: [PATCH] style(law-stone): suppress deprecation warnings/errors After deprecation of SubMsgResponse::data in cosmwasm v2.0 --- contracts/axone-law-stone/src/contract.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/axone-law-stone/src/contract.rs b/contracts/axone-law-stone/src/contract.rs index 004b41d3..59e3c45c 100644 --- a/contracts/axone-law-stone/src/contract.rs +++ b/contracts/axone-law-stone/src/contract.rs @@ -704,6 +704,7 @@ mod tests { ) }); + #[allow(deprecated)] let reply = Reply { id: STORE_PROGRAM_REPLY_ID, payload: Binary::from( @@ -790,6 +791,7 @@ mod tests { #[test] fn program_reply_errors() { let object_id = "axone1dclchlcttf2uektxyryg0c6yau63eml5q9uq03myg44ml8cxpxnqen9apd"; + #[allow(deprecated)] let cases = vec![ ( Reply {