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

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.

@yihuang

Description

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.]