0

When contracts are created, they start with nonce 1 not nonce 0. This is since the implementation of EIP-161.

The ETH wiki page on nonces outlines what happens when a contract A tries to create a contract at address B and fails: contract A's nonce remains incremented, however address B's nonce reverts back to 0.

My question is: When an externally owned account A tries to create a contract at address B and reverts, does the nonce at address B remain at 1? Or revert to 0? I know that address A's nonce remains incremented.

  • 1
    B is reverted to zero. – Ismael Nov 7 '19 at 6:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.