duneanalytics / duneanalytics/evm.codes

Feature Request: Playground, Allow custom "from" EOA address

Open
#287 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The contract I am testing has some ownership tests. It would be helpful to have an additional (optional, hidden) field to enter the address that the call would be sent from. Currently it just defaults to an evm.codes dummy address, meaning I need to alter my contract's owner to test. Would be super helpful to allow a "impersonation" so I can use my actual EOA address to satisfy the ownership checks. Thanks. Amazing tool, wouldn't have gotten far with Huff without it!

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 by locating the Playground execution flow and the dummy address currently used as the call sender. Trace how the sender is selected, then define the optional hidden input behavior so a supplied EOA address is used for ownership checks; done means Playground calls can use that address while retaining the existing default.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.