Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: shaded leading zeros in stack #283

Open
radeksvarz opened this issue Dec 12, 2023 · 0 comments
Open

Feature request: shaded leading zeros in stack #283

radeksvarz opened this issue Dec 12, 2023 · 0 comments

Comments

@radeksvarz
Copy link

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'_

image

The selector should show 08c379a0...

Proposal:

add leading zeros, but shade them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant