diff --git a/src/types/error.rs b/src/types/error.rs index 0dcebc22..2d51eec4 100644 --- a/src/types/error.rs +++ b/src/types/error.rs @@ -25,7 +25,7 @@ pub enum ContractError { ProstEncodeError(#[from] cosmos_sdk_proto::prost::EncodeError), #[error("semver parse error: {0}")] - FromStrError(#[from] semver::Error), + SemverError(#[from] semver::Error), #[error("unauthorized")] Unauthorized {},