diff --git a/Cargo.lock b/Cargo.lock index 021311d1..ff5b3046 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -945,7 +945,7 @@ dependencies = [ "cw-storage-plus 0.15.1", "ethereum-types", "hex", - "injective-math 0.1.24", + "injective-math 0.2.0", "schemars", "serde 1.0.188", "serde-json-wasm 0.4.1", @@ -972,7 +972,7 @@ dependencies = [ [[package]] name = "injective-math" -version = "0.1.24" +version = "0.2.0" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -1021,7 +1021,7 @@ dependencies = [ "cosmwasm-std", "cw-multi-test", "injective-cosmwasm 0.2.14", - "injective-math 0.1.24", + "injective-math 0.2.0", "rand 0.4.6", "secp256k1", "serde 1.0.188", diff --git a/packages/injective-cosmwasm/Cargo.toml b/packages/injective-cosmwasm/Cargo.toml index dd597b19..2b36e22c 100644 --- a/packages/injective-cosmwasm/Cargo.toml +++ b/packages/injective-cosmwasm/Cargo.toml @@ -19,7 +19,7 @@ cosmwasm-std = { version = "1.4.1" } cw-storage-plus = { version = "0.15.0" } ethereum-types = "0.5.2" hex = { version = "0.4.3", features = [ "serde" ] } -injective-math = { path = "../injective-math", version = "0.1.4" } +injective-math = { path = "../injective-math", version = "0.2.0" } schemars = "0.8.8" serde = { version = "1.0.136", default-features = false, features = [ "derive" ] } serde_repr = "0.1" diff --git a/packages/injective-math/Cargo.toml b/packages/injective-math/Cargo.toml index 98f7ab4f..a010fdde 100644 --- a/packages/injective-math/Cargo.toml +++ b/packages/injective-math/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "injective-math" readme = "README.md" repository = "https://github.com/InjectiveLabs/cw-injective/tree/master/packages/injective-math" -version = "0.1.24" +version = "0.2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/injective-math/src/fp_decimal/arithmetic.rs b/packages/injective-math/src/fp_decimal/arithmetic.rs index 3f382790..54422fee 100644 --- a/packages/injective-math/src/fp_decimal/arithmetic.rs +++ b/packages/injective-math/src/fp_decimal/arithmetic.rs @@ -88,7 +88,6 @@ impl FPDecimal { FPDecimal { num: U256::try_from(num).unwrap(), - //num: num.into(), sign: 1 ^ x.sign ^ y.sign, } } diff --git a/packages/injective-testing/Cargo.toml b/packages/injective-testing/Cargo.toml index 62f658fb..136519cf 100644 --- a/packages/injective-testing/Cargo.toml +++ b/packages/injective-testing/Cargo.toml @@ -13,7 +13,7 @@ base64 = "0.13.1" cosmwasm-std = { version = "1.4.1", features = [ "abort", "iterator" ] } cw-multi-test = "0.16.2" injective-cosmwasm = { version = "0.2.0", path = "../injective-cosmwasm" } -injective-math = { version = "0.1.17", path = "../injective-math" } +injective-math = { version = "0.2.0", path = "../injective-math" } rand = "0.4.6" secp256k1 = "0.6.2" serde = { version = "1.0.103", default-features = false, features = [ "derive" ] }