duneanalytics / duneanalytics/evm.codes

Feature request: Allow setting custom context

Open
#295 1 comment 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

I'm following up on issue #287

It would be great if we could set a custom context before running the transaction. To be able to customize

  • block number
  • block timestamp
  • msg.sender
  • tx.origin

These are all I can think of at the moment (and that I actually needed for a specific debugging task)

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

Read issue #287 and trace how the transaction execution context is currently established. Define how callers would customize block number, block timestamp, msg.sender, and tx.origin before execution; done means each listed value can be set for a transaction and the existing behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.