Type alias CustomMessageHandler
pub type CustomMessageHandler<Env> = unconstrained fn[Env](AztecAddress, u64, u64, BoundedVec<Field, 11>, MessageContext);
pub type CustomMessageHandler<Env> = unconstrained fn[Env](AztecAddress, u64, u64, BoundedVec<Field, 11>, MessageContext);
A handler for custom messages.
Contracts that emit custom messages (i.e. any with a message type that is not in
crate::messages::msg_type) need to usecrate::macros::AztecConfig::custom_message_handlerwith a function of this type in order to process them. They will otherwise be silently ignored.