Skip to content

horizon reports incorrect fee charges for fail fast transactions #430

@tomerweller

Description

@tomerweller

When submitting erroneous transactions, which stellar-core fails instantaneously (without being submitted for consensus), the resulting XDR (TransactionResult) is shown and has an incorrect feeCharged value. It shows the value of fees offered, although they haven't been charged.

This is confirmed to happen with txBAD_AUTH, txBAD_AUTH_EXTRA, txTOO_EARLY and txINSUFFICIENT_FEE.

It does not happen with txBAD_SEQ and txNO_ACCOUNT. Probably because these have special handling in horizon.

According to @MonsieurNicolas, while these TransactionResult XDRs are coming from stellar-core, they should be presented differently to the clients, as the transactions were never submitted for consensus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions