Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

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

Description

@tifrel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions