Skip to main content

message_result

Function message_result 

Source
pub fn message_result<M, E: Default>(
    message: &MessageExt<M>,
    stop: InstrStop,
    output: Bytes,
) -> MessageResultExt<E>
Expand description

Returns the result of a message that did not execute, keeping its whole execution gas.

The result returns no state gas reservoir, which the caller adopts.