File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ and this project adheres to
10
10
11
11
- cosmwasm-std: Implement ` Mul ` and ` MulAssign ` for ` Uint128 ` .
12
12
- cosmwasm-std: Implement ` FromStr ` for ` Uint128 ` , ` Uint256 ` , and ` Uint512 ` .
13
- - cosmwasm-std: Make ` Uint256::from_le_bytes ` and ` ::from_be_bytes ` const.
13
+ - cosmwasm-std: Make ` Uint256::from_le_bytes ` , ` ::from_be_bytes ` and ` ::new `
14
+ const.
14
15
15
16
### Changed
16
17
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ impl Uint256 {
52
52
53
53
/// Creates a Uint256(value) from a big endian representation. It's just an alias for
54
54
/// `from_big_endian`.
55
- pub fn new ( value : [ u8 ; 32 ] ) -> Self {
55
+ pub const fn new ( value : [ u8 ; 32 ] ) -> Self {
56
56
Self :: from_be_bytes ( value)
57
57
}
58
58
You can’t perform that action at this time.
0 commit comments