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.
Description
System info: ethermint main
Steps to reproduce:
- start a devnet
- deploy a contract without providing enough gas, it's executed but fails with out-of-gas error
- 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.]