Skip to content

failure_reason in starknet_getMessagesStatus incorrect source #3481

Description

@sistemd

The failure_reason field in starknet_getMessagesStatus (RPC version 0.9 and up) is incorrectly derived from finality status when it should be derived from the execution status.

Reference:
RPC v0.9: https://github.com/starkware-libs/starknet-specs/blob/release/v0.9.1-rc.0/api/starknet_api_openrpc.json#L285-L288
RPC v0.10: https://github.com/starkware-libs/starknet-specs/blob/release/v0.10.2/api/starknet_api_openrpc.json#L344-L347

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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