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

cmd/evm: return json error if unmarshalling from stdin fails #22871

Merged
merged 3 commits into from
May 17, 2021

Conversation

lightclient
Copy link
Member

I think the error should be checked when unmarshalling from stdin, otherwise it may attempt read something on an uninitialized object.

@lightclient
Copy link
Member Author

It also looks like some errors started with capital letters, whereas the majority started with lowercase. I went ahead and updated the misaligned ones.

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nitpick, otherwise LGTM

cmd/evm/internal/t8ntool/execution.go Outdated Show resolved Hide resolved
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@holiman holiman added this to the 1.10.4 milestone May 17, 2021
@holiman holiman merged commit 597ecb3 into ethereum:master May 17, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
…m#22871)

* cmd/evm: return json error if unmarshalling from stdin fails

* cmd/evm: make error capitalizations uniform (all lowercase starts)

* cmd/evm: capitalize error sent directly to stderror
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.

2 participants