@@ -938,19 +938,6 @@ where
938
938
contract_fn ( deps. as_mut ( ) , env, msg) . into ( )
939
939
}
940
940
941
- /// Makes all bridges to external dependencies (i.e. Wasm imports) that are injected by the VM
942
- fn deps_from_imports < Q > ( ) -> OwnedDeps < ExternalStorage , ExternalApi , ExternalQuerier , Q >
943
- where
944
- Q : CustomQuery ,
945
- {
946
- OwnedDeps {
947
- storage : ExternalStorage :: new ( ) ,
948
- api : ExternalApi :: new ( ) ,
949
- querier : ExternalQuerier :: new ( ) ,
950
- custom_query_type : PhantomData ,
951
- }
952
- }
953
-
954
941
#[ cfg( feature = "ibc2" ) ]
955
942
fn _do_ibc2_packet_receive < Q , C , E > (
956
943
contract_fn : & dyn Fn ( DepsMut < Q > , Env , Ibc2PacketReceiveMsg ) -> Result < IbcReceiveResponse < C > , E > ,
@@ -996,3 +983,16 @@ where
996
983
let mut deps = deps_from_imports ( ) ;
997
984
contract_fn ( deps. as_mut ( ) , env, msg) . into ( )
998
985
}
986
+
987
+ /// Makes all bridges to external dependencies (i.e. Wasm imports) that are injected by the VM
988
+ fn deps_from_imports < Q > ( ) -> OwnedDeps < ExternalStorage , ExternalApi , ExternalQuerier , Q >
989
+ where
990
+ Q : CustomQuery ,
991
+ {
992
+ OwnedDeps {
993
+ storage : ExternalStorage :: new ( ) ,
994
+ api : ExternalApi :: new ( ) ,
995
+ querier : ExternalQuerier :: new ( ) ,
996
+ custom_query_type : PhantomData ,
997
+ }
998
+ }
0 commit comments