Skip to content

There's no check for chain-id in TxBuilder.SignStdTx #3945

@wangjj9219

Description

@wangjj9219

gaiacli tx sign use function TxBuilder.SignStdTx to sign tx, but there's no check for chain-id. If sign a tx without flag chain-id, then broadcast the signedTx, will report signature verification faild.

I see the check for chain-id in TxBuilder.BuildSignMsg

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