Skip to content

Let human_address/canonical_address return correct error type to report back to contracts #124

@webmaster128

Description

@webmaster128

How can the human_address/canonical_address implementations know which go error to send to the contract as a FfiError::UserErr (the user's fault) and which one as a FfiError::Unknown (the system's or backend's fault)?

See also CosmWasm/cosmwasm#397

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions