Skip to main content

validate_constraint_params

Function validate_constraint_params 

Source
pub fn validate_constraint_params(c: &Constraint) -> Result<(), String>
Expand description

Validate a constraint’s params field against the value model and the canonical-type restriction (SPEC §5.7.1). Shared by issuance and decode.