type a
q 8780710799663312522437781984754049815806883199414208211028653399266475630880222957078625179422662221423155858769582317459277713367317481324925129998224791
h 12016012264891146079388821366740534204802954401251311822919615131047207289359704531102844802183906537786776
r 730750818665451621361119245571504901405976559617
exp2 159
exp1 107
sign1 1
sign0 1
/emscripten-module-wrapper/prepare.js:21
return relativePathsArray.map(filePath => {
^
TypeError: relativePathsArray.map is not a function
at fixPaths (/emscripten-module-wrapper/prepare.js:21:29)
at localizeArgv (/emscripten-module-wrapper/prepare.js:62:6)
at Object.<anonymous> (/emscripten-module-wrapper/prepare.js:67:8)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
The other codes only using standard c libraries work fine.
I try to write a demo on Truebit with
libgmp
andlibpbc
, but it reported error when I useTruebit-toolchain
to wrap the.wasm
code.Here is the demo I used:
and an extra parameter file
a.param
:I compiled it in the docker with the command:
The
emrun
result of it is correct. But, when I try to wrap the .wasm code by the following command:it reported:
The other codes only using standard c libraries work fine.