File tree 1 file changed +2
-5
lines changed
crates/ibc/src/core/ics26_routing
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 42
42
}
43
43
44
44
/// Attempts to convert a message into a [MsgEnvelope] message
45
- pub ( crate ) fn decode ( message : Any ) -> Result < MsgEnvelope , RouterError > {
45
+ pub fn decode ( message : Any ) -> Result < MsgEnvelope , RouterError > {
46
46
message. try_into ( )
47
47
}
48
48
@@ -51,10 +51,7 @@ pub(crate) fn decode(message: Any) -> Result<MsgEnvelope, RouterError> {
51
51
/// and events produced after processing the input `msg`.
52
52
/// If this method returns an error, the runtime is expected to rollback all state modifications to
53
53
/// the `Ctx` caused by all messages from the transaction that this `msg` is a part of.
54
- pub ( crate ) fn dispatch < Ctx > (
55
- ctx : & mut Ctx ,
56
- msg : MsgEnvelope ,
57
- ) -> Result < HandlerOutput < ( ) > , RouterError >
54
+ pub fn dispatch < Ctx > ( ctx : & mut Ctx , msg : MsgEnvelope ) -> Result < HandlerOutput < ( ) > , RouterError >
58
55
where
59
56
Ctx : RouterContext ,
60
57
{
You can’t perform that action at this time.
0 commit comments