Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tifrel opened this issue May 25, 2024 · 0 comments

Comments

@tifrel
Copy link
Member

tifrel commented May 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant