Skip to content

Make errors more self descriptive #57

Description

@denisxor

Hi!

It looks like Solflare now adds calls to your program to all TXes (signed through Solflare). This results in non functioning TXes (which work before that).

  1. Could you please help to understand what exact assertion fails in the TX https://solscan.io/tx/F9inTFFk8ojCxPCwEBbaLYL4JWcWPY1F6oRFBsKzgHvyjh6X3EH7wHuwy1p78CHSp6ZsKjGdwHgg4LYJZH3kryT
    I looks like it is AssertAccountInfoMulti with exact assertion U8(6) - but what does it mean? Which field in AccountInfo triggers that?

  2. With wider adoption of your program (Solflare) I believe it is important to print error description right in to the log: which assertion failed, what was actual input data, what was expected values.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions