mintbase-js icon indicating copy to clipboard operation
mintbase-js copied to clipboard

`callViewMethod` gives a cryptic error when the smart contract panics while calling the view method

Open tifrel opened this issue 9 months ago • 0 comments

This currently throws Buffer.from requires a string, Buffer (some other stuff), as first argument, got undefined. We should instead be throwing the panic message from the smart contract.

props to @armsves for finding this

tifrel avatar May 25 '24 21:05 tifrel