pub trait MessageValidator { // Required method fn validate(&self, msgs: &[Message]) -> Result<()>; }
A trait that validates messages for validity. It can be used for gas accounting.