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: use JsUint8Array for buffers #134

Merged
merged 4 commits into from
May 31, 2024
Merged

fix: use JsUint8Array for buffers #134

merged 4 commits into from
May 31, 2024

Conversation

mattsse
Copy link
Contributor

@mattsse mattsse commented May 30, 2024

closes paradigmxyz/reth#8103

previously we were using the ArrayBuffer incorrectly, we need to use JsUint8Array

see also geth:

https://github.com/ethereum/go-ethereum/blob/473ee8fc07a3f89cf3978e164a6fad218de9a6b5/eth/tracers/js/goja.go#L575-L579

@mattsse mattsse requested a review from DaniPopes May 30, 2024 22:38
@mattsse mattsse merged commit 0f43cf5 into main May 31, 2024
11 checks passed
@rkrasiuk rkrasiuk deleted the matt/fix-array-object branch May 31, 2024 07:12
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.

Misbehaviour in debug_traceCall
2 participants