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

[Flow EVM] add an intergration test for selfdestruct contract call #5224

Closed
Tracked by #5241
ramtinms opened this issue Jan 10, 2024 · 0 comments · Fixed by #5273
Closed
Tracked by #5241

[Flow EVM] add an intergration test for selfdestruct contract call #5224

ramtinms opened this issue Jan 10, 2024 · 0 comments · Fixed by #5273
Assignees
Milestone

Comments

@ramtinms
Copy link
Contributor

We need to add a test to test selfdestruct functionality of EVM smart contracts.
This requires deploying a contract that uses selfdestruct call and the expected behaviour is receiving the balance of the org account on the target address but no code or data is accessible.
It should also cover the case that an account is recreated.
This specific test is needed since the implementation of create account and self destruct is a bit complex in the StateDB.

@ramtinms ramtinms self-assigned this Jan 10, 2024
@devbugging devbugging self-assigned this Jan 11, 2024
@j1010001 j1010001 added this to the Flow-EVM-M1 milestone Jan 16, 2024
@ramtinms ramtinms removed their assignment Jan 24, 2024
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.

3 participants