duneanalytics / duneanalytics/evm.codes

Playground: reset storage

Open
#309 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature improvement
Dominant language
TypeScript
Stars
827
Forks
199
Avg merge
15m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the playground linked in the issue and inspect how account storage is retained across executions. Add a way to reset storage without losing the current code, or an explicit preserve/reset choice, then verify repeated runs can begin from untouched storage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.