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

tracers: avoid panic on invalid arguments #20612

Merged

Conversation

tintinweb
Copy link
Member

@tintinweb tintinweb commented Jan 31, 2020

This PR adds regression tests for the panics outlined in #20611.

This PR is not providing a fix for #20611.

cheers,
tin

@tintinweb tintinweb changed the title RPC debug_traceTransaction regression tests for panics files as #20611 RPC debug_traceTransaction regression tests for panics see issue #20611 Jan 31, 2020
@holiman
Copy link
Contributor

holiman commented Feb 3, 2020

Thanks for this @tintinweb !

@holiman holiman self-assigned this Feb 3, 2020
@holiman holiman changed the title RPC debug_traceTransaction regression tests for panics see issue #20611 tracers: avoid panic on invalid arguments Feb 3, 2020
@holiman
Copy link
Contributor

holiman commented Feb 3, 2020

I pushed fixes on top!

@holiman holiman force-pushed the tin/regression/debug_traceTransaction branch from 8440690 to cc6e5ce Compare February 3, 2020 09:14
@holiman holiman removed their assignment Feb 3, 2020
@holiman holiman force-pushed the tin/regression/debug_traceTransaction branch from cc6e5ce to 5455869 Compare February 3, 2020 17:13
eth/tracers/tracer.go Outdated Show resolved Hide resolved
@holiman holiman force-pushed the tin/regression/debug_traceTransaction branch from 5455869 to ee9ef1f Compare February 4, 2020 08:48
@holiman holiman merged commit 33791db into ethereum:master Feb 4, 2020
@karalabe karalabe added this to the 1.9.11 milestone Feb 4, 2020
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
* add regression tests for ethereum#20611

* eth/tracers: fix panics occurring for invalid params in js-tracers

Co-authored-by: Martin Holst Swende <martin@swende.se>
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.

3 participants