mesh
mesh copied to clipboard
Memory access out of bounds
hey I was trying to use webpack to bundle meshjs and use it so it can be imported into an html page, the browser wallet object is imported fine and I can connect to different wallets, but when I try to build a transaction I get the error RuntimeError: memory access out of bounds
I was running a simple express server and rendering the html on that for testing
Not sure if this is the same issue I encountered - but I found this error occur when you pass the quantity as an integer rather than a string. It needs to be a string (of the number)
Not sure if this is the same issue I encountered - but I found this error occur when you pass the quantity as an integer rather than a string. It needs to be a string (of the number)
@gammahazard this could be the case, in order to prevent rounding errors, we made a design choice to use strings for numbers. Quantity needs to be strings.