Skip to content

cli: improve error when attempting to invoke a non-existing contract #817

@tomerweller

Description

@tomerweller

I accidentally tried to invoke a contract using the wasm hash as the id (yes, I'm an idiot). The cryptic response was:
error: Missing result in successful response. Can we put something more helpful?

Bonus points: Could we add a hint to the error in case the id looks like a wasm hash. "are you trying to use the wasm hash as a contract id"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to Soroban CLI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions