-
Notifications
You must be signed in to change notification settings - Fork 81
feat: added support for debug_traceBlockByNumber #3744
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
feat: added support for debug_traceBlockByNumber #3744
Conversation
9027faa
to
c43c8b0
Compare
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
fdfe205
to
0da7efd
Compare
e0f832b
to
6065022
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Curious to see Acceptance test were not covering debug
6065022
to
f88adc2
Compare
@Ferparishuertas yes I was surprised too. We only have debug_traceTransaction and debug_traceBlockByNumber atm. For some reason, e2e tests for debug_traceTransaction was missed. There are quite some improvements we can make for debug_traceTransaction as well so I added the e2e test requirement to this issue #3739 |
9d09c35
to
91c6a55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
05b23db
to
bd2d99c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few changes needed
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
88dc3cd
to
49c9db7
Compare
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
9c6eb70
to
5204d8a
Compare
…THODS Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review and approve .github/workflows/acceptance.yml
Description:
This PR adds a new debug method
debug_traceBlockByNumber
to the RPC interface. The method enables tracing of all transactions within a specified block using one of the supported tracers.Parameters:
blockNumber
(required): Block number or tag (e.g.,latest
,pending
).tracerOptions
(optional):tracer
: Type of tracer (callTracer
orprestateTracer
).tracerConfig
: Additional configuration (e.g.,onlyTopCall
).Response
type
,from
,to
,value
,gas
,gasUsed
,input
,output
, and any sub-calls.balance
,nonce
,code
, andstorage
.Fixes #3742