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

fix: avoid panic on missing CREATE2 deployer #7838

Merged
merged 3 commits into from
May 2, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented May 2, 2024

Motivation

Closes #7833

Overriden create handler was returning FrameResult::Create when reverting on missing CREATE2 deployer which caused it to be received by insert_create_outcome hook of default handler register which was panicking because it never seen the initial call.

Solution

Return FrameResult::Call and change order of things a bit so that stack of create2 register is correct once we receive revert in insert_call_outcome

@klkvr klkvr requested review from DaniPopes, Evalir and mattsse as code owners May 2, 2024 21:08
@mattsse mattsse merged commit d495216 into master May 2, 2024
19 checks passed
@mattsse mattsse deleted the klkvr/fix-create2-missing branch May 2, 2024 22:16
0xgregthedev pushed a commit to phylaxsystems/phoundry that referenced this pull request May 2, 2024
* fix: avoid panic on missing CREATE2 deployer

* rm println

* rm println
@klkvr klkvr mentioned this pull request Jun 14, 2024
2 tasks
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 this pull request may close these issues.

bug: tracer crashing on create2
2 participants