Skip to content

docs: Add debugging tips for Cosmos programs #302

@keyleu

Description

@keyleu

Debugging for Cosmos programs is currently in a bad state due to CosmWasm returning cosmos-sdk wrapped errors in the SubMsgResult after executing from the processor. Instead of getting explicit smart contract errors we just get a standard code5: contract execution failed returned.

Because of this we need to document alternatives for users to be able to debug what went wrong in the program. For example, simulating the execution of the messages with the account as the sender directly via CLI

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