MCPcopy Create free account
hub / github.com/dfinity/orbit / validate

Method validate

core/station/impl/src/models/request_operation.rs:831–835  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

829
830impl ModelValidator<ValidationError> for CanisterMethod {
831 fn validate(&self) -> ModelValidatorResult<ValidationError> {
832 EnsureExternalCanister::ensure_external_canister(self.canister_id)?;
833
834 Ok(())
835 }
836}
837
838#[storable]

Tested by

no test coverage detected