We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a8bd1 commit 752c830Copy full SHA for 752c830
packages/std/src/query/mod.rs
@@ -1,3 +1,6 @@
1
+// needed because the derive macros on QueryRequest use the deprecated `Stargate` variant
2
+#![allow(deprecated)]
3
+
4
use schemars::JsonSchema;
5
use serde::{Deserialize, Serialize};
6
packages/std/src/testing/mock.rs
@@ -602,6 +602,7 @@ impl<C: CustomQuery + DeserializeOwned> MockQuerier<C> {
602
}
603
QueryRequest::Wasm(msg) => self.wasm.query(msg),
604
#[cfg(feature = "stargate")]
605
+ #[allow(deprecated)]
606
QueryRequest::Stargate { .. } => SystemResult::Err(SystemError::UnsupportedRequest {
607
kind: "Stargate".to_string(),
608
}),
0 commit comments