Skip to content

Commit

Permalink
🔧 update local config
Browse files Browse the repository at this point in the history
  • Loading branch information
aBMania committed Mar 4, 2024
1 parent 87e0eca commit 534c4ed
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 26 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ BUILDDATE=`date -u +"%Y-%m-%dT%H:%M:%S%:z"`
PACKAGE=exanode-chaind
LDFLAGS="-X ${PACKAGE}/version.Version=${VERSION} -X ${PACKAGE}/version.BuildDate=${BUILDDATE} -X ${PACKAGE}/version.GitCommit=${GITCOMMIT} -X ${PACKAGE}/version.GitDate=${GITDATE} -s -w"
test:
go test ./... --cover
run_devnet:
@go run ./metrics.go ./clients.go ./logging.go ./tracing.go ./main.go --base-dir .
18 changes: 6 additions & 12 deletions chaind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ validators:
# derived from the data obtained by the other modules.
balances:
enable: true
indexes:
- 0
- 1
- 2
- 3
# beacon-committees contains configuration for obtaining beacon committee-related
# information.
beacon-committees:
Expand Down Expand Up @@ -74,10 +69,9 @@ summarizer:
enable: true
validators:
enable: true
indexes:
- 0
- 1
- 2
- 3
# balance-retention: "P6M"
# epoch-retention: "P1Y"
retain:
- 0xab0bdda0f85f842f431beaccf1250bf1fd7ba51b4100fd64364b6401fda85bb0069b3e715b58819684e7fc0b10a72a34
- 0x876dd4705157eb66dc71bc2e07fb151ea53e1a62a0bb980a7ce72d15f58944a8a3752d754f52f4a60dbfc7b18169f268
- 0x9314c6de0386635e2799af798884c2ea09c63b9f079e572acc00b06a7faccce501ea4dfc0b1a23b8603680a5e3481327
balance-retention: "PT30M"
epoch-retention: "PT130M"
14 changes: 0 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,6 @@ services:
volumes:
- ./devnet.env:/exanode-devnet/scripts/vars.env

chaind:
build: .
restart: unless-stopped
networks:
- chaind
volumes:
- ./chaind.config.docker-compose.yml:/app/chaind.yml:ro
command: --base-dir /app
environment:
&environment
CHAIND_CHAINDB_URL: postgres://chaind:chaind@db:5432
CHAIND_ETH2CLIENT_ADDRESS: http://devnet:8001/
CHAIND_ETH1CLIENT_ADDRESS: http://devnet:6001/

db:
image: "postgres:14.2-bullseye"
networks:
Expand Down
Loading

0 comments on commit 534c4ed

Please sign in to comment.