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

[EVM] Selfdesctruct test #5273

Merged
merged 19 commits into from
Feb 21, 2024
Merged

[EVM] Selfdesctruct test #5273

merged 19 commits into from
Feb 21, 2024

Conversation

sideninja
Copy link
Contributor

@sideninja sideninja commented Jan 23, 2024

Closes: #5224

This PR adds tests that call selfdestruct function and then make sure the balances are returned, other contract data stays according to the EIP-6780 if not called within the same transaction.

@sideninja sideninja self-assigned this Jan 23, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (53dc73e) 55.97% compared to head (c323118) 55.98%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5273      +/-   ##
==========================================
+ Coverage   55.97%   55.98%   +0.01%     
==========================================
  Files        1017     1017              
  Lines       98513    98513              
==========================================
+ Hits        55139    55156      +17     
+ Misses      39163    39151      -12     
+ Partials     4211     4206       -5     
Flag Coverage Δ
unittests 55.98% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sideninja sideninja marked this pull request as ready for review January 25, 2024 13:14
@sideninja sideninja enabled auto-merge February 6, 2024 12:53
@sideninja sideninja disabled auto-merge February 6, 2024 12:53
@sideninja sideninja enabled auto-merge February 16, 2024 15:37
@sideninja sideninja added this pull request to the merge queue Feb 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 16, 2024
@ramtinms ramtinms enabled auto-merge February 20, 2024 23:15
@ramtinms ramtinms added this pull request to the merge queue Feb 21, 2024
Merged via the queue into master with commit fce3336 Feb 21, 2024
49 of 51 checks passed
@ramtinms ramtinms deleted the gregor/evm/selfdestruct-test branch February 21, 2024 01:07
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.

[Flow EVM] add an intergration test for selfdestruct contract call
5 participants