Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Playground: reset storage #309

Open
fvictorio opened this issue Mar 27, 2024 · 0 comments
Open

Playground: reset storage #309

fvictorio opened this issue Mar 27, 2024 · 0 comments
Labels
feature New awesome feature improvement Improvement

Comments

@fvictorio
Copy link

The playground persists the modification to the account storage, which I think is very useful (although I don't know if it's intentional or not). For example, running this multiple times will keep increasing the first storage slot.

But if I want to start over with an untouched storage, I then have to refresh the page (which makes me lose the code I was writing).

I believe a simple reset button should be enough for this use case. Alternatively, this could be a switch to either preserve the previous storage or not.

@dorlevi dorlevi added improvement Improvement feature New awesome feature labels Mar 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature New awesome feature improvement Improvement
Projects
None yet
Development

No branches or pull requests

2 participants