@@ -938,19 +938,6 @@ where
938938 contract_fn ( deps. as_mut ( ) , env, msg) . into ( )
939939}
940940
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-
954941#[ cfg( feature = "ibc2" ) ]
955942fn _do_ibc2_packet_receive < Q , C , E > (
956943 contract_fn : & dyn Fn ( DepsMut < Q > , Env , Ibc2PacketReceiveMsg ) -> Result < IbcReceiveResponse < C > , E > ,
@@ -996,3 +983,16 @@ where
996983 let mut deps = deps_from_imports ( ) ;
997984 contract_fn ( deps. as_mut ( ) , env, msg) . into ( )
998985}
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