InjectiveLabs / cw-injective

Apache License 2.0
22 stars 24 forks source link

injective-math 0.2.1 including random #195

Closed PFC-developer closed 1 year ago

PFC-developer commented 1 year ago

fix is to do the following in cargo.toml primitive-types = {version= "0.12.2" ,default-features = false} to injective-math's cargo.toml.

I found that primitive-types was including 'random', and causing wasm-bindgen to be included in smart contracts (and failing to store on injective-888).