Skip to content

Playground: reset storage #309

@fvictorio

Description

@fvictorio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions