Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Problem: reverted contract deployment transaction don't increase sender's nonce #808

@yihuang

Description

@yihuang

System info: ethermint main

Steps to reproduce:

  1. start a devnet
  2. deploy a contract without providing enough gas, it's executed but fails with out-of-gas error
  3. sender's nonce is not increased

This means we can have two transactions with the same ethereum tx hash.

Expected behavior: should increase nonce in such case

Actual behavior: nonce not increased

Additional info: [Include gist of relevant config, logs, etc.]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions