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

Adds debug_traceCall RPC method #2796

Merged
merged 10 commits into from
May 20, 2024
Merged

Adds debug_traceCall RPC method #2796

merged 10 commits into from
May 20, 2024

Conversation

crystalin
Copy link
Collaborator

Updated version of #2305 by @tgmichel

  • Adds support for debug rpc call debug_traceCall

Exemple:

curl  http://localhost:9944 \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"debug_traceCall","params": [{"from":null,"to":"0x6b175474e89094c44da98b954eedeac495271d0f","data":"0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"}, "latest"],"id":1,"jsonrpc":"2.0"}'

(requires evm-tracing feature)

@crystalin crystalin added A0-pleasereview Pull request needs code review. B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. A10-evmtracing Pull request includes evm tracing functionality labels May 6, 2024
@crystalin crystalin requested a review from librelois May 6, 2024 09:25
@crystalin crystalin changed the title Adds debug_traceCall method Adds debug_traceCall RPC method May 6, 2024
@crystalin crystalin added the not-breaking Does not need to be mentioned in breaking changes label May 6, 2024
Copy link
Contributor

github-actions bot commented May 6, 2024

Coverage Report

@@                     Coverage Diff                      @@
##           master   crystalin-evm-debug-call      +/-   ##
============================================================
- Coverage   73.08%                     72.85%   -0.23%     
  Files         228                        228              
+ Lines       69829                      70048     +219     
============================================================
  Hits        51031                      51031              
+ Misses      18798                      19017     +219     
Files Changed Coverage

Coverage generated Mon May 20 16:23:23 UTC 2024

@RomarQ RomarQ self-requested a review May 6, 2024 16:56
RomarQ
RomarQ previously approved these changes May 7, 2024
librelois
librelois previously approved these changes May 20, 2024
RomarQ
RomarQ previously approved these changes May 20, 2024
@RomarQ RomarQ dismissed stale reviews from librelois and themself via 9a0d63d May 20, 2024 13:18
@RomarQ RomarQ requested a review from librelois May 20, 2024 17:17
@RomarQ RomarQ merged commit cb45c95 into master May 20, 2024
26 of 27 checks passed
@RomarQ RomarQ deleted the crystalin-evm-debug-call branch May 20, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview Pull request needs code review. A10-evmtracing Pull request includes evm tracing functionality B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants