Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit a92f022

Browse files
authored
Lodestar reintegration (#298)
* update lodestar * fixing config file * remove .json file * fixing beacon config * fixing validator config
1 parent 1a5c3b8 commit a92f022

File tree

5 files changed

+57
-24
lines changed

5 files changed

+57
-24
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TEKU_DOCKER_TAG=21.8.1
99
NIMBUS_DOCKER_TAG=v1.4.2-33
1010
VOUCH_DOCKER_TAG=1.0.4
1111
DIRK_DOCKER_TAG=1.0.2
12-
LODESTAR_DOCKER_TAG=v0.27.0-23
12+
LODESTAR_DOCKER_TAG=v0.31.0-29
1313

1414
GRAFANA_DOCKER_TAG=7.3.10
1515
GRAFANA_IMAGE_RENDERER_TAG=2.0.0

compose-examples/lodestar-only/docker-compose.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ services:
4343
depends_on:
4444
- geth
4545
- stereum-init
46-
command: beacon --configFile /opt/app/beacon.json --paramsFile /opt/app/beacon.yaml --network pyrmont --rootDir /opt/app/beacon
46+
command: beacon --rcConfig /opt/app/beacon.yaml
4747
ports:
4848
- 30607:30607/tcp
4949
- 9000:9000/udp
@@ -54,7 +54,6 @@ services:
5454
stereum-admin:
5555
volumes:
5656
- ./config/lodestar/beacon.yaml:/opt/app/beacon.yaml:ro
57-
- ./config/lodestar/beacon.json:/opt/app/beacon.json:ro
5857
- ./data/lodestar/beacon:/opt/app/beacon
5958
<<: *logging
6059

@@ -66,7 +65,7 @@ services:
6665
depends_on:
6766
- beacon
6867
- stereum-init
69-
command: validator --paramsFile /opt/app/validator.yaml
68+
command: validator --rcConfig /opt/app/validator.yaml
7069
volumes:
7170
- ./config/lodestar/validator.yaml:/opt/app/validator.yaml:ro
7271
- ./data/lodestar/validator/keystores:/opt/app/keystores

config/lodestar/beacon.json

-17
This file was deleted.

config/lodestar/beacon.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1+
########################################
2+
##
3+
## Read up on parameters on
4+
## https://chainsafe.github.io/lodestar/
5+
##
6+
########################################
7+
8+
#########
9+
# Network
10+
network: prater
11+
12+
##########
13+
# Database
14+
rootDir: /opt/app/beacon
15+
16+
##############################
17+
# Connection to geth container
18+
eth1.providerUrls: http://geth:8545
19+
20+
#######################
21+
# Beacon rest api
22+
api.rest.enabled: true
23+
api.rest.port: 9596
24+
api.rest.host: "0.0.0.0"
25+
26+
#########
27+
# Metrics
28+
metrics.enabled: true
29+
metrics.serverPort: 8008
30+
metrics.listenAddr: "0.0.0.0"
131

232
#EOF

config/lodestar/validator.yaml

+24-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
1-
network: pyrmont
1+
########################################
2+
##
3+
## Read up on parameters on
4+
## https://chainsafe.github.io/lodestar/
5+
##
6+
########################################
7+
8+
#########
9+
# Network
10+
network: prater
11+
12+
##########
13+
# Database
14+
rootDir: /opt/app/beacon
15+
16+
##############
17+
# Connectivity
218
server: http://beacon:9596
19+
20+
###############################################
21+
# Validator database, accounts & key management
22+
validatorsDbDir: /opt/app/validator-db
323
keystoresDir: /opt/app/keystores
424
secretsDir: /opt/app/secrets
5-
validatorsDbDir: /opt/app/validator-db
6-
rootDir: /opt/app/beacon
25+
26+
##########
27+
# Graffiti
728
graffiti: stereum.net
829

930
#EOF

0 commit comments

Comments
 (0)