Skip to content

[Bug]: Specifying an empty account sequence and valid account number is considered valid for client context #15953

Closed
@chatton

Description

Summary of Bug

When the account sequence is zero but the account number is non zero, the tx will always fail here.

with account sequence mismatch, expected X got 0

I would expect an error to occur when validating the client context in this siuation.

See this comment for full details.

Version

v0.47.1

Steps to Reproduce

Create a client context with a non 0 account number and an account sequence of 0 and provide it to BroadcastTx

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