Mintbase/mintbase-js

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

tifrel opened this issue · 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