Open 448-OG opened 1 year ago
Which version of rust-secp256k1 are you using?
Have you made any modifications to the library (e.g. to change or remove the C code we're binding to)?
Are you able to measure how much memory is being allocated? Can you try enabling the lowmemory
feature on rust-secp?
My current dependencies are
secp256k1 = { version = "0.27.0", features = [
"lowmemory",
"bitcoin-hashes",
"rand-std",
] }
rand = "0.8.5"
Can you attach any debugger to it? Try stepping through new
until something breaks?
Let me try that I will get back to you
Hi!
I am try to use secpk2561 library on RISCV ESP32C3 board and I keep getting this error and then the board just disconnects. The issue is whenever
let secp = Secp256k1::new();
is called like in the board below:Here is the error I am getting - https://gist.github.com/448-OG/9fd2ad60c535da95c5cec444c4a2b153 If I use the rust k256 crate to try and do this it works fine, so I am guessing it is somewhere in the FFI for secp256k1 but I need some some help