Closed fewwwww closed 1 year ago
Right now the output of npm run test is
npm run test
0000000000000000000000000000000000000000000000000000000000000001 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1:bytes-packed 0x0000000000000000000000000000000000000000000000000000000000000000:bytes-packed 0x0000000000000000000000000000000000000000000000000000000000000000:bytes-packed 0x0000000000000000000000000000000000000000000000000000000000000000:bytes-packed 0x40:i64 0x00000000000000000000000000000000000000000014df54140456547ac7f6570000000000000000000000000000000000000000000000040f915afbed20232c:bytes-packed 0000000000000000000000000000000000000000000000000000000000000001:bytes-packed
However, the last line of 0...01:bytes-packed needs to start with 0x, so that it can be used for proof generation in zkWASM. The src/test.js file needs to be modified.
0...01:bytes-packed
0x
src/test.js
In zkwasm explorer, the input is separated by " ", while in local zkwasm server, the input is separated by ",".
Output should print both ways for easier developer experience.
Right now the output of
npm run test
isHowever, the last line of
0...01:bytes-packed
needs to start with0x
, so that it can be used for proof generation in zkWASM. Thesrc/test.js
file needs to be modified.