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

Fully implement SelfDestruct #517

Open
franck44 opened this issue Jan 31, 2023 · 0 comments
Open

Fully implement SelfDestruct #517

franck44 opened this issue Jan 31, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@franck44
Copy link
Contributor

franck44 commented Jan 31, 2023

At the moment some functions resulting in changes on the world state, are partially implemented.
For example the effect of SelfDestruct is that at sone point the account should be removed from the world state, but we do not implement this change (or some changes that have to occur at the end of the transactions like refund etc).

Implement SelfDestruct

First thing is to provide more precise implementations for these functions (e.g. starting for the Yellow paper for SelfDestruct).
An example is to add the account to the selfDestructed accounts in the substate.

Test SelfDestruct

Modification to the worldstate do not seem to be tested using the GeneralTests so we may have to add more tests, at the level of transactions.

@franck44 franck44 added the enhancement New feature or request label Jan 31, 2023
@franck44 franck44 self-assigned this Jan 31, 2023
franck44 added a commit that referenced this issue Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant