From eac95ad0479ad5893314ba4a3e70502a199a7861 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 572d2f4b..afab1a59 100644 --- a/contracts/axone-law-stone/src/contract.rs +++ b/contracts/axone-law-stone/src/contract.rs @@ -702,6 +702,7 @@ mod tests { ) }); + #[allow(deprecated)] let reply = Reply { id: STORE_PROGRAM_REPLY_ID, payload: Binary::from( @@ -788,6 +789,7 @@ mod tests { #[test] fn program_reply_errors() { let object_id = "axone1dclchlcttf2uektxyryg0c6yau63eml5q9uq03myg44ml8cxpxnqen9apd"; + #[allow(deprecated)] let cases = vec![ ( Reply {