Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems of 'AccountCreated' in trace #137

Closed
lispc opened this issue Aug 1, 2022 · 1 comment
Closed

problems of 'AccountCreated' in trace #137

lispc opened this issue Aug 1, 2022 · 1 comment

Comments

@lispc
Copy link

lispc commented Aug 1, 2022

image

If we treat "accountCreated" be the state before the block/tx, shouldn't nonce be zero?

@noel2004
Copy link
Member

noel2004 commented Aug 1, 2022

After EIP158, nonce is 1 for every new created contract (so they would not be erased by considering as empty?)

Refer the code here:

if evm.chainRules.IsEIP158 {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants