Why are contract creators not allowed to have a nonce of 0?
Pet3ris opened this issue · 1 comments
Pet3ris commented
Hi There,
What is wrong?
I'm trying to create a contract with an account that has a nonce of 0 and it's failing due to the address generation. I can see here that the 1 is subtracted from the sender nonce:
py-evm/eth/vm/forks/frontier/state.py
Line 68 in 44e0ee4
How can it be fixed
Is this intentional? If so, are there ways around it?
Pet3ris commented
Nevermind, just realised there is an increment nonce operation before that on line 60.