Function ibc::ics04_channel::channel::validate_version[][src]

pub fn validate_version(version: String) -> Result<String, Error>

Version validation, specific for channel (ICS4) opening handshake protocol. This field is supposed to be opaque to the core IBC protocol. No explicit validation necessary, and empty version is currently allowed by the specification (cf. ICS 004, v1).