2

I am using the Cosmos SDK and run into an issue creating new transactions.

I get the following error when I try to create a transaction with the CLI:

account sequence mismatch, expected 3787, got 3786: incorrect account sequence

This is on the cosmoshub-testnet, using the Cosmos SDK version from https://github.com/b-harvest/gravity-dex which mentions

github.com/tendermint/tendermint v0.34.10

github.com/cosmos/cosmos-sdk v0.42.5

module github.com/cosmos/gaia/v4

go 1.16


I do not know why this happened or how to resolve. Any help is appreciated.

Tosch
  • 475
  • 5
  • 12

1 Answers1

2

I think it is that you are siging with lower sequense number in a transaction. You could assign a specified sequense number in CLI with --sequence flag.

More details cac be seen here

Black Bob
  • 105
  • 1
  • 13