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

Use delete in example contracts #77

Closed
mortendahl opened this issue Jul 10, 2023 · 0 comments · Fixed by #84
Closed

Use delete in example contracts #77

mortendahl opened this issue Jul 10, 2023 · 0 comments · Fixed by #84
Assignees

Comments

@mortendahl
Copy link

Some smart contracts use euint32.wrap(0) to delete entries in mappings, but this is leaking implementation details, and it would be better to use the delete keyword

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 a pull request may close this issue.

2 participants