Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ consensus/genesis.ssz
consensus/validatordata
execution/geth
execution/geth.ipc
execution/genesis.json
.idea/
1 change: 1 addition & 0 deletions consensus/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CAPELLA_FORK_EPOCH: 0
CAPELLA_FORK_VERSION: 0x20000092
MAX_WITHDRAWALS_PER_PAYLOAD: 16

DENEB_FORK_EPOCH: 0
DENEB_FORK_VERSION: 0x20000093

# Time parameters
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ services:
# Creates a genesis state for the beacon chain using a YAML configuration file and
# a deterministic set of 64 validators.
create-beacon-chain-genesis:
image: "gcr.io/prysmaticlabs/prysm/cmd/prysmctl"
image: "gcr.io/prysmaticlabs/prysm/cmd/prysmctl:latest"
command:
- testnet
- generate-genesis
- --fork=capella
- --fork=deneb
- --num-validators=64
- --genesis-time-delay=15
- --output-ssz=/consensus/genesis.ssz
Expand All @@ -21,7 +21,7 @@ services:
# Removes the database of the go-ethereum execution client to ensure we start from a clean state.
# (geth has a `removedb` option, but it asks for a keyboard confirmation, so we use this instead)
geth-remove-db:
image: "alpine:3.19.0"
image: "alpine:latest"
command: rm -rf /execution/geth
volumes:
- ./execution:/execution
Expand All @@ -44,7 +44,7 @@ services:
# The account used in go-ethereum is set as the suggested fee recipient for transactions
# proposed via the validators attached to the beacon node.
beacon-chain:
image: "gcr.io/prysmaticlabs/prysm/beacon-chain:v4.1.1"
image: "gcr.io/prysmaticlabs/prysm/beacon-chain:stable"
command:
- --datadir=/consensus/beacondata
# No peers to sync with in this testnet, so setting to 0
Expand Down Expand Up @@ -119,7 +119,7 @@ services:
# We run a validator client with 64, deterministically-generated keys that match
# The validator keys present in the beacon chain genesis state generated a few steps above.
validator:
image: "gcr.io/prysmaticlabs/prysm/validator:v4.1.1"
image: "gcr.io/prysmaticlabs/prysm/validator:stable"
command:
- --beacon-rpc-provider=beacon-chain:4000
- --datadir=/consensus/validatordata
Expand Down
3 changes: 2 additions & 1 deletion execution/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"londonBlock": 0,
"arrowGlacierBlock": 0,
"grayGlacierBlock": 0,
"shanghaiTime": 1694203366,
"shanghaiTime": 1706778826,
"cancunTime": 1706778826,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true
},
Expand Down