Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: account sequence mismatch #1014

Open
Twelve57 opened this issue Feb 1, 2024 · 1 comment
Open

Error: account sequence mismatch #1014

Twelve57 opened this issue Feb 1, 2024 · 1 comment

Comments

@Twelve57
Copy link

Twelve57 commented Feb 1, 2024

Hello everyone, weird error here, if someone can help me with this.
Thank you.

Describe the bug
Got this error when trying to make a swap transaction:
Error: account sequence mismatch, expected 13, got 12: incorrect account sequence [!injective!labs/[email protected]/x/auth/ante/sigverify.go:269] With gas wanted: '50000000' and gas used: '83231'

Transactions were working few hours before, but now I just get this error.

To Reproduce

  • Clone the repo.
  • Fill the .env:
    VITE_NETWORK=mainnet
  • Try to make severals swaps on the injective mainnet.

Expected behavior
Should be able to swap multiple times without issue.

Also, out of this scope, but could you give me explanation about these two .env, I'm not sure to really understand the .env.example:

  • VITE_FEE_PAYER_PUB_KEY
  • VITE_FEE_RECIPIENT

Thanks a lot for your answers, I'm really stuck with this error.

@Lahnshen
Copy link

This issue happens when your previous transaction gets stuck in the mempool (Probably due to the node not being up to sync), the solution would be to wait for that transaction to go through and once it does, the issue should fix.

There were some issues with nodes a while back but the issue should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants