duneanalytics / duneanalytics/evm.codes
Feature request: shaded leading zeros in stack
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 827
- Forks
- 199
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Stack's values might be misleading due to up to 256 bit size
Humans are not able to easily recognize whether leading zeros are omitted.
see example of the Solidity's selector for Error(string):
https://www.evm.codes/playground?fork=shanghai&unit=Wei&codeType=Mnemonic&code='PUSH3%200x461bcd%5CnPUSH1%200xe5%5CnSHL'_
The selector should show 08c379a0...
Proposal:
add leading zeros, but shade them
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the stack-value rendering in the interactive EVM view and inspect how values such as the Solidity Error(string) selector are displayed. Update the presentation so omitted leading zeros are shown with shading, then verify the selector displays 08c379a0... as proposed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity, typescript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100