* fix: Use generic_err constructor instead of literal * bump version --------- Co-authored-by: Jayant Krishnamurthy <jayantkrishnamurthy@gmail.com>
@@ -1471,7 +1471,7 @@ dependencies = [
[[package]]
name = "pyth-sdk-cw"
-version = "1.2.0"
+version = "1.2.1"
dependencies = [
"cosmwasm-schema",
"cosmwasm-std",
@@ -1,6 +1,6 @@
[package]
authors = ["Pyth Data Foundation"]
edition = "2018"
license = "Apache-2.0"
@@ -76,8 +76,6 @@ pub enum PythContractError {
impl From<PythContractError> for StdError {
fn from(other: PythContractError) -> StdError {
- StdError::GenericErr {
- msg: format!("{other}"),
- }
+ StdError::generic_err(format!("{other}"))
}