From f5c4f87dc6d8a3517672287ab80be037a9ce6a72 Mon Sep 17 00:00:00 2001 From: Jacek Malec <145967538+jacek-casper@users.noreply.github.com> Date: Thu, 11 Jan 2024 11:06:27 +0000 Subject: [PATCH] Sync error message change --- types/src/binary_port/error_code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))]