Skip to content

Conversation

michaelsproul
Copy link
Member

WIP branch for running a local Capella testnet based on #3364

@michaelsproul
Copy link
Member Author

FYI this branch is still quite screwed (cc @ethDreamer if you were thinking of playing with it)

current issue is that with TTD set low the two nodes fall into a NonVerifiedOptimisticImport fork where they don't learn of each others blocks. On the other hand with TTD set to a reasonable value like 20M they get stuck on this:

CRIT Beacon block processing error error: DBError(BlockReplayError(BlockProcessing(ExecutionRandaoMismatch { expected: 0x4242424242424242424242424242424242424242424242424242424242424242, found: 0x0000000000000000000000000000000000000000000000000000000000000000 }))), service: beacon

Seems like a straight-forward issue with the genesis state or maybe the check on the default payload. But I'm out of time for today so will keep looking into it tomorrow

divagant-martian and others added 24 commits December 16, 2022 04:04
## Issue Addressed
Fixes the new clippy lints for rust 1.66

## Proposed Changes

Most of the changes come from:
- [unnecessary_cast](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast)
- [iter_kv_map](https://rust-lang.github.io/rust-clippy/master/index.html#iter_kv_map)
- [needless_borrow](https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow)

## Additional Info

na
The notion of "phases" doesn't exist anymore in the Ethereum roadmap. Also fix dead link to roadmap.

Co-authored-by: Michael Sproul <[email protected]>
## Issue Addressed

Closes sigp#3812
Closes sigp#3750
Closes sigp#3705
Merge with `unstable` and fix clippy
Update Execution Layer Tests for Capella
* Added bls_to_execution_changes to PersistedOpPool
* add historical summaries

* fix tree hash caching, disable the sanity slots test with fake crypto

* add ssz static HistoricalSummary

* only store historical summaries after capella

* Teach `UpdatePattern` about Capella

* Tidy EF tests

* Clippy

Co-authored-by: Michael Sproul <[email protected]>
Squashed commit of the following:

commit 689032e
Author: sergekh2 <[email protected]>
Date:   Fri Jul 22 11:58:33 2022 -0700

    Update lcli, add scripts and configs to run local testnet with geth to execute merge.

    No easy way to run local testnet that executes merge.

    - Add deposit command to lcli to deposit test validator stakes to already existing contract.
    - Add scripts/local_testnet_pos to run local testnet with geth pre-configured for merge.
@michaelsproul
Copy link
Member Author

Closing in favour of Pawan's PR #3807 and Mark's docker-compose testnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants