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

[Merge] Make Teku interop standalone node running with stubbed Execution Engine #4424

Merged

Conversation

Nashatyrev
Copy link
Contributor

PR Description

Build on top of #4423

With this PR merged standalone (all validators on a single node, no networking) interop Teku node could be running and finalizing beacon chain. Execution Engine is just stubbed.

Generating genesis state:

> teku genesis mock \
  --output-file ./local-genesis.ssz \ 
  --network=minimal \
  --Xnetwork-altair-fork-epoch=0 \
  --Xnetwork-merge-fork-epoch=0 \
  --validator-count=256

Running a node:

> teku \
  --Xinterop-enabled=true \
  --Xinterop-number-of-validators=256 \
  --Xinterop-owned-validator-start-index=0 \
  --Xinterop-owned-validator-count=256 \
  --network=minimal \
  --Xnetwork-altair-fork-epoch=0 \ 
  --Xnetwork-merge-fork-epoch=0 \ 
  --p2p-enabled=false \
  --initial-state ./local-genesis.ssz

Fixed Issue(s)

Documentation

  • I thought about documentation and added the documentation label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

tbenr and others added 17 commits September 28, 2021 10:46
…ator::updateCandidateState

* is_valid_gas_limit validation
* random validation
* added new params for megre
… correctly cache by slot and calculate payload timestamp
…ould still contain all the previous milestones
Copy link
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

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

LGTM

@Nashatyrev Nashatyrev merged commit 0ea4b31 into Consensys:merge-interop Sep 28, 2021
@Nashatyrev Nashatyrev mentioned this pull request Oct 1, 2021
20 tasks
@Nashatyrev Nashatyrev deleted the merge/interop-no-network branch November 18, 2021 16:34
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