Skip to content

Commit

Permalink
Enable future genesis in dbsync configuration
Browse files Browse the repository at this point in the history
Updated the DBSync configuration to support future genesis blocks by
adding the `DB_SYNC_ENABLE_FUTURE_GENESIS` environment variable to
`docker-compose.yml.tpl`. This ensures the DBSync process is
forward-compatible with future updates to the Cardano blockchain,
enhancing its adaptability and long-term functionality.

This change ensures the DBSync process uses the correct settings,
allowing it to adapt to future updates and ensuring better
synchronization with the Cardano blockchain.
  • Loading branch information
placek committed Jul 24, 2024
1 parent 7970bad commit ea89bb0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/govtool/config/templates/docker-compose.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ services:
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- RESTORE_RECREATE_DB=N
- DB_SYNC_ENABLE_FUTURE_GENESIS=Y
depends_on:
cardano-node:
condition: service_healthy
Expand All @@ -164,10 +165,6 @@ services:
volumes:
- db-sync-data:/var/lib/cexplorer
- node-ipc:/node-ipc
- /home/<DOCKER_USER>/config/cardano-node:/configuration
command:
- "--config /configuration/db-sync-config.yaml"
- "--socket-path /node-ipc/node.socket"
restart: always
logging: *logging

Expand Down

0 comments on commit ea89bb0

Please sign in to comment.