-
Notifications
You must be signed in to change notification settings - Fork 40
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
prestateTracer, callTracer, 4byteTracer, noopTracer return the same answer for debug_traceTransaction JSON-RPC call #1753
Comments
oleksandrSydorenkoJ
moved this from Incomplete
to Ready For Pickup
in SKALE Engineering 🚀
Dec 18, 2023
This bug was fixed as a part of 1751 fix |
kladkogex
moved this from Ready For Pickup
to Merged To Release Candidate
in SKALE Engineering 🚀
Jan 22, 2024
github-project-automation
bot
moved this from QA
to Ready For Release Candidate
in SKALE Engineering 🚀
Feb 5, 2024
Verified on Legacy network
|
3.18.1-beta.0 |
PolinaKiporenko
moved this from Ready For Release Candidate
to Merged To Release Candidate
in SKALE Engineering 🚀
May 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used calls
curl http://10.3.155.147:10131 -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceTransaction","params":["0x1d2b8062fd975bc3f718beb9e391ea35a10e950fb9b94857a524364b70f2b317",{"tracer":"callTracer","tracerConfig":{"withLog":true}}],"id":1,"jsonrpc":"2.0"}'
curl http://10.3.155.147:10131 -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceTransaction","params":["0x1d2b8062fd975bc3f718beb9e391ea35a10e950fb9b94857a524364b70f2b317",{"tracer":"4byteTracer"}],"id":1,"jsonrpc":"2.0"}'
curl http://10.3.155.147:10131 -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceTransaction","params":["0x1d2b8062fd975bc3f718beb9e391ea35a10e950fb9b94857a524364b70f2b317",{"tracer":"prestateTracer"}],"id":1,"jsonrpc":"2.0"}'
curl http://10.3.155.147:10131 -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceTransaction","params":["0x1d2b8062fd975bc3f718beb9e391ea35a10e950fb9b94857a524364b70f2b317",{"tracer":"noopTracer"}],"id":1,"jsonrpc":"2.0"}'
Preconditions
Active chains
Archival node
Address with Sfuel and with Whitelist deployer role
Contract to deploy: Example ERC20
Versions
skalenetwork/schain:3.17.2-develop.2-historic
Steps to reproduce
Expected state:
The prestateTracer returns the accounts necessary to execute a given transaction
callTracer - tracks all the call frames executed during a transaction, including depth 0.
4byteTracer - collects the function selectors of every function executed in the lifetime of a transaction, along with the size of the supplied call data.
noopTracer - should return an empty object and is only meant for testing the setup
Actual state:
Skaled returns the same output for all 4 traces of a given transaction that is valid only for the callTracer argument
Log output 4 times for each call
The same calls on Goerly
debug_traceTranscation_goerly.txt
The text was updated successfully, but these errors were encountered: