pub trait EstimatePredicates: Sized {
// Required method
fn estimate_predicates(
&mut self,
params: &ConsensusParameters,
gas_costs: &GasCosts
) -> Result<(), CheckError>;
}
Expand description
Provides predicate estimation functionality for the transaction.
Required Methods§
sourcefn estimate_predicates(
&mut self,
params: &ConsensusParameters,
gas_costs: &GasCosts
) -> Result<(), CheckError>
fn estimate_predicates( &mut self, params: &ConsensusParameters, gas_costs: &GasCosts ) -> Result<(), CheckError>
Estimates predicates of the transaction.