bsv-wasm icon indicating copy to clipboard operation
bsv-wasm copied to clipboard

"Memory access out of bounds" when passing 42MB Script

Open huwyane opened this issue 2 years ago • 0 comments
trafficstars

I'm testing out the sending of big file ordinals (specifically 40-47mb 3D model) on BSV using 1sat ordinals. I get this error:

RuntimeError: memory access out of bounds at wasm://wasm/003b639a:wasm-function[280]:0x86a2f at wasm://wasm/003b639a:wasm-function[1431]:0xda559 at wasm://wasm/003b639a:wasm-function[1403]:0xda1e5 at passStringToWasm0 (/root/projects/1sats/js-1sat-ord/node_modules/bsv-wasm/bsv_wasm.js:120:15) at Function.from_asm_string (/root/projects/1sats/js-1sat-ord/node_modules/bsv-wasm/bsv_wasm.js:3227:26) at sendOrdinal (file:///root/projects/1sats/js-1sat-ord/dist/index.js:81:72)

What can be done to allow for big file ordinals to be sent?

huwyane avatar Mar 23 '23 18:03 huwyane