Open asoltys opened 3 years ago
Hey @asoltys I will take a look, I always assumed apiaryio/emcc:latest
was the way to go.
First question, have you tried to pull the latest git submodules from secp?
Thanks for taking a look! Yeah I ran the git submodule update --init command just before the compile step.
I can replicate this, also with other projects such as https://github.com/tiero/docker-libwally-wasm/tree/new-docker-image
I do think is something related with the base image at this point.
Hi, I've been down a bit of a rabbit hole this morning. I'm trying to use the confidential.unblindOutput function but getting an error in my browser console:
I think it may be related to this issue: https://github.com/emscripten-core/emscripten/issues/8774
Possibly I'm just noticing this because I've bundled liquidjs-lib with rollup to use as an ES module and I guess that makes it run in strict mode.
I noticed the docker image
FROM apiaryio/emcc:latest
that's used to compile the secp lib into wasm is a few years old so I tried switching to the newer official imageemscripten/emsdk
but then got some errors when running the compile step:Anyone with more familiarity with emcc have suggestions or willing to take a crack at this?