Skip to content

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

@jllosas

Description

@jllosas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions