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

Deployment tests: abort #1602

Open
6 tasks
OlivierBBB opened this issue Dec 2, 2024 · 0 comments · May be fixed by #1572
Open
6 tasks

Deployment tests: abort #1602

OlivierBBB opened this issue Dec 2, 2024 · 0 comments · May be fixed by #1572

Comments

@OlivierBBB
Copy link
Collaborator

Definitions

Aborted CREATE's are those CREATE's that are

  • unexceptional
  • attempt to provide more balance than is avaiable or happen at CSD = 1024

Parameters

  • fail because of BALANCE
  • fail because of CALL_STACK_DEPTH

We can then

  • do an EXTCODEHASH on the deployment address to test
    • warmth (shouldn't be warm)
    • existence (should exist or not depending on balance alone unless collision)
  • two deployment tests
    • first deployment aborts with CREATE(2), a second deployment at this place doesn't abort
    • first deployment succeeds with CREATE2, a second attempt aborts before FailureCondition F can be raised.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants