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

Rework Sacrifice contract to user create2 #531

Open
akolotov opened this issue Oct 14, 2020 · 0 comments
Open

Rework Sacrifice contract to user create2 #531

akolotov opened this issue Oct 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@akolotov
Copy link
Collaborator

Currently Sacrifice.sol contract is used to send native coins to an account in case if the account is a contract reverting at the moment of receiving assets. A new Sacrifice contract with a new address is created every time when this situation happens. It consumes storage. Consider to re-use the create2 call as so a contract with the same address is being created.

@akolotov akolotov added the enhancement New feature or request label Oct 14, 2020
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