duneanalytics / duneanalytics/evm.codes

Playground: do not cut values on the stack

Open
#179 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I think it would be more convenient if the values in the stack will not be truncated, e.g. PUSH1 0x42 would output in stack not just 42 but 0000000000000000000000000000000000000000000000000000000000000042, i.e. with a size of 32 bytes.

If my suggestion does not suit you, let me know.

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 stack display and locate where stack values are currently truncated. Trace the rendering path for a PUSH1 value such as 0x42, then verify that displayed values use 32-byte zero padding without changing the underlying value.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.