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

Minor fixes in Eth2 JSON-RPC #8

Conversation

mkalinin
Copy link

Changeset

  • Functional fixes

    • block number is computed as parent.number + 1 allowing for empty slots; temporal workaround (though, maybe not)
    • include parent_hash into ExecutableData making the change less intrusive for beacon node codebase; thus, parent_hash is removed from eth2_insertBlock params
    • make eth2_insertBlock return true/false explicitly
  • Aesthetic fixes

    • ParentRoot renamed to ParentHash

@mkalinin mkalinin requested a review from holiman as a code owner December 22, 2020 16:05
Copy link
Owner

@gballet gballet left a comment

Choose a reason for hiding this comment

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

I wanted to rebase it on the latest geth before merging, but this is getting too involved, I'll do that after the merge.

@gballet gballet merged commit 3ded09c into gballet:catalyst-for-executable-beacon-chain Jan 13, 2021
gballet added a commit that referenced this pull request Feb 12, 2021
* Minor fixes in Eth2 JSON-RPC

* fix linter issues

* fix unit tests

* add a couple comments

* move eth2 code to its own file to simplify rebase

Co-authored-by: Guillaume Ballet <gballet@gmail.com>
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