From ea39797df71aaa5a07c7587a13dab06d6f18bff8 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Fri, 8 Sep 2023 15:48:13 -0400 Subject: [PATCH] make clean --- README.md | 10 ++++++---- docker-compose.yml | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cbaeaba..e5b654d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ethereum Proof-of-Stake Devnet -This repository provides a docker-compose file to run a fully-functional, local development network for Ethereum with proof-of-stake enabled. This configuration uses [Prysm](https://github.com/prysmaticlabs/prysm) as a consensus client and [go-ethereum](https://github.com/ethereum/go-ethereum) for execution. +This repository provides a docker-compose file to run a fully-functional, local development network for Ethereum with proof-of-stake enabled. This configuration uses [Prysm](https://github.com/prysmaticlabs/prysm) as a consensus client and [go-ethereum](https://github.com/ethereum/go-ethereum) for execution. **It starts from proof-of-stake** and does not go through the Ethereum merge. This sets up a single node development network with 64 deterministically-generated validator keys to drive the creation of blocks in an Ethereum proof-of-stake chain. Here's how it works: @@ -15,6 +15,7 @@ First, install Docker. Then, run: ``` git clone https://github.com/rauljordan/eth-pos-devnet && cd eth-pos-devnet +make clean docker compose up -d ``` @@ -31,6 +32,9 @@ $ docker compose up -d ⠿ Container eth-pos-devnet-beacon-chain-1 Started ⠿ Container eth-pos-devnet-validator-1 Started ``` + +Each time you restart, you can wipe the old data using `make clean`. + Next, you can inspect the logs of the different services launched. ``` @@ -52,6 +56,7 @@ INFO [08-19|00:44:42.747] Chain head was updated number=53 has # Available Features +- Starts from the Capella Ethereum hard fork - The network launches with a [Validator Deposit Contract](https://github.com/ethereum/consensus-specs/blob/dev/solidity_deposit_contract/deposit_contract.sol) deployed at address `0x4242424242424242424242424242424242424242`. This can be used to onboard new validators into the network by depositing 32 ETH into the contract - The default account used in the go-ethereum node is address `0x123463a4b065722e99115d6c222f267d9cabb524` which comes seeded with ETH for use in the network. This can be used to send transactions, deploy contracts, and more - The default account, `0x123463a4b065722e99115d6c222f267d9cabb524` is also set as the fee recipient for transaction fees proposed validators in Prysm. This address will be receiving the fees of all proposer activity @@ -62,6 +67,3 @@ INFO [08-19|00:44:42.747] Chain head was updated number=53 has 5 3 1 - - - diff --git a/docker-compose.yml b/docker-compose.yml index cab8891..f2f30aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,6 +45,7 @@ services: # The chain configuration file used for setting up Prysm - --chain-config-file=/consensus/config.yml # We specify the chain id used by our execution client + - --contract-deployment-block=0 - --chain-id=${CHAIN_ID:-32382} - --rpc-host=0.0.0.0 - --grpc-gateway-host=0.0.0.0