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

log.transactionHash is required #240

Merged
merged 1 commit into from
Jun 17, 2022
Merged

log.transactionHash is required #240

merged 1 commit into from
Jun 17, 2022

Conversation

rafaelkallis
Copy link
Contributor

@rafaelkallis rafaelkallis commented Jun 17, 2022

There is a schema disagreement over log.transactionHash between the ethereum execution apis and go-ethereum.

The ethereum execution apis do not mark that property as required https://github.com/ethereum/execution-apis/blob/main/src/schemas/receipt.json#L18-L21

The go-ethereum client however does mark that property as required https://github.com/ethereum/go-ethereum/blob/master/core/types/log.go#L45.

This PR marks log.transactionHash as required.

PS: there are more required properties missing (address, topics, data) but they are out of scope for this PR.

Copy link
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

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

Nice catch. Thanks!

@lightclient lightclient merged commit 837a8c2 into ethereum:main Jun 17, 2022
@rafaelkallis rafaelkallis deleted the log-transactionhash branch June 17, 2022 17:36
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