Open luca992 opened 1 year ago
Same problem here, would much appreciate a pure rust implementation
Fyi contracts with secret-cosmwasm-crypto
can't be uploaded on chain anymore after a cargo update
after version 1.1.10 of cc they added shlex which causes:
Err(StaticValidationErr { msg: "Wasm contract requires unsupported import: \\"env.rustsecp256k1_v0_8_1_context_preallocated_size\\"
cc
is a dependency of secp256k1-sys
You have to force cc
to a lower version now:
cc = { version = "=1.1.10" }
secp256k1 depends on
secp256k1-sys
a c wrapper. It has caused me build issues like having to update clang on my mac as well as being incompatible with rust-optimizer. Is there any reason to not use a pure rust implementation likek256
? Plus it would be one less dependency sincek256
is already a dependency ofsecret-cosmwasm-crypto