Closed invent360 closed 1 day ago
hi, there're a few breaking changes in the latest version of Dolos. Please follow the config docs found here: https://dolos.txpipe.io/configuration
i followed the config you suggested:
using the command
docker run -d -v $(pwd)/dolos.toml:/etc/dolos/daemon.toml ghcr.io/txpipe/dolos:latest daemon
where dolos.toml
is
[upstream]
peer_address = "preprod-node.world.dev.cardano.org:30000"
network_magic = 1
is_testnet = true
[storage]
path = "./data"
wal_size = 1000
[genesis]
byron_path = "./byron.json"
shelley_path = "./shelley.json"
alonzo_path = "./alonzo.json"
[sync]
pull_batch_size = 200
[submit]
prune_height = 10000
[serve.grpc]
listen_address = "[::]:50051"
[serve.ouroboros]
listen_address = "localhost:30013"
[logging]
max_level = "debug"
now had the following error
Error: × parsing configuration ╰─▶ missing field
magic``
@invent360 I believe this was a problem on my side by not keeping code / docs in sync, I apologize.
Docs are now in sync with the expected config, but since we're making several breaking changes in each version until we stabilize on a v1, the recommended approach to start using Dolos is to run dolos init
which will prepare the config for you using the correct fields. You can find more info on the quickstart guide: https://dolos.txpipe.io/quickstart
When following the documentation to run dolos as docker container
docker run -v $(pwd)/config.toml:/etc/dolos/daemon.toml ghcr.io/txpipe/dolos:latest daemon
where
config.toml
i get the following error: