From 30db426e2f8185ef977d24c8b560786a0f3bb07d Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Wed, 8 Feb 2023 10:09:13 +0100 Subject: [PATCH 1/2] Expose CheckedMultiplyFractionError publicly --- packages/std/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/std/src/lib.rs b/packages/std/src/lib.rs index a15f0f4c62..ccc28b2c91 100644 --- a/packages/std/src/lib.rs +++ b/packages/std/src/lib.rs @@ -31,9 +31,9 @@ pub use crate::binary::Binary; pub use crate::coin::{coin, coins, has_coins, Coin}; pub use crate::deps::{Deps, DepsMut, OwnedDeps}; pub use crate::errors::{ - CheckedFromRatioError, CheckedMultiplyRatioError, ConversionOverflowError, DivideByZeroError, - OverflowError, OverflowOperation, RecoverPubkeyError, StdError, StdResult, SystemError, - VerificationError, + CheckedFromRatioError, CheckedMultiplyFractionError, CheckedMultiplyRatioError, + ConversionOverflowError, DivideByZeroError, OverflowError, OverflowOperation, + RecoverPubkeyError, StdError, StdResult, SystemError, VerificationError, }; pub use crate::hex_binary::HexBinary; #[cfg(feature = "stargate")] From d436094b346b9b4bd3a73a07bbf2a3f9f1037cef Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 2 Mar 2023 11:59:17 +0100 Subject: [PATCH 2/2] Add CHANGELOG entry for CheckedMultiplyFractionError --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4077ac9e36..8c818e9af7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to ## [Unreleased] +### Fixed + +- cosmwasm-std: Add missing export `CheckedMultiplyFractionError` ([#1608]). + +[#1608]: https://github.com/CosmWasm/cosmwasm/pull/1608 + ## [1.2.1] - 2023-01-30 ### Added