diff --git a/types/src/binary_port/error_code.rs b/types/src/binary_port/error_code.rs index b00b1acc30..a1e1ee0309 100644 --- a/types/src/binary_port/error_code.rs +++ b/types/src/binary_port/error_code.rs @@ -26,7 +26,7 @@ pub enum ErrorCode { #[cfg_attr(feature = "std", error("wasm preprocessing"))] WasmPreprocessing = 5, /// Invalid protocol version. - #[cfg_attr(feature = "std", error("invalid protocol version"))] + #[cfg_attr(feature = "std", error("unsupported protocol version"))] UnsupportedProtocolVersion = 6, /// Invalid deploy. #[cfg_attr(feature = "std", error("invalid deploy"))]