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

When merging CREATE2 contract into hollow account set the nonce to the contract nonce value #7326

Closed
Tracked by #6512
MiroslavGatsanoga opened this issue Jun 29, 2023 · 0 comments · Fixed by #7327
Closed
Tracked by #6512

Comments

@MiroslavGatsanoga
Copy link
Collaborator

MiroslavGatsanoga commented Jun 29, 2023

In the case of merging CREATE2 contract into hollow account we should set the resulting account's nonce to the value of the contract (e.g. 3 if the contract has created another 2 contracts in its constructor) instead of always setting it to 1.

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

Successfully merging a pull request may close this issue.

1 participant