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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions