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

trace_replayTransaction doesn't fill the push field of TLOAD ops #12720

Open
WillLester opened this issue Nov 14, 2024 · 0 comments
Open

trace_replayTransaction doesn't fill the push field of TLOAD ops #12720

WillLester opened this issue Nov 14, 2024 · 0 comments

Comments

@WillLester
Copy link

System information

Erigon version: v3.0.0-alpha5

OS & Version: Ubuntu 22.04.5

Expected behaviour

When checking the VM Trace, the TLOAD op should put the pushed value into push.

Actual behaviour

The push is empty.

Steps to reproduce the behaviour

By comparing the results of curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"trace_replayTransaction","params":["0xae94f8ce4a104d4804fbe06e9c9d64fcffa31d767c05dfcab6526208a03e81dc", ["vmTrace"]],"id":1}' http://localhost:8545
and curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"debug_traceTransaction","params":["0xae94f8ce4a104d4804fbe06e9c9d64fcffa31d767c05dfcab6526208a03e81dc"],"id":1}' http://localhost:8545, the push of TLOAD (e.g. pc 84) in the first result is empty, which doesn't match the stack info of the latter one.

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