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

fix(tracing/js): toHex returns with 0x as prefix #226

Merged
merged 5 commits into from
Oct 17, 2024

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Oct 17, 2024

  1. go-ethereum/erigon's toHex returns with 0x prefix(ref https://github.com/ethereum/go-ethereum/blob/fad7e74a1b2995dd79002c184e532eff31382579/eth/tracers/js/goja.go#L467), we should keep the same;
  2. add more unit tests for the builtin functions.

Signed-off-by: jsvisa <[email protected]>
Copy link
Contributor

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

@mattsse mattsse merged commit fb4ee4e into paradigmxyz:main Oct 17, 2024
11 checks passed
@jsvisa jsvisa deleted the js-unittest branch October 17, 2024 13:03
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

Successfully merging this pull request may close these issues.

2 participants