diff --git a/statediff/README.md b/statediff/README.md index bd5d1d43c..97666d50a 100644 --- a/statediff/README.md +++ b/statediff/README.md @@ -100,7 +100,7 @@ The service can only operate in full sync mode (`--syncmode=full`), but only the e.g. ` -./build/bin/geth --syncmode=full --gcmode=archive --statediff --statediff.writing --statediff.db=postgres://localhost:5432/vulcanize_testing?sslmode=disable --statediff.dbnodeid={nodeId} --statediff.dbclientname={dbClientName} +./build/bin/geth --syncmode=full --gcmode=archive --statediff --statediff.writing --statediff.db.type=postgres --statediff.db.driver=sqlx --statediff.db.host=localhost --statediff.db.port=5432 --statediff.db.name=vulcanize_test --statediff.db.user=postgres --statediff.db.nodeid=nodeid --statediff.db.clientname=clientname ` ### RPC endpoints diff --git a/statediff/service.go b/statediff/service.go index 8557f87d0..31a56b809 100644 --- a/statediff/service.go +++ b/statediff/service.go @@ -306,6 +306,7 @@ func (sds *Service) writeLoopWorker(params workerParams) { // Loop is the main processing method func (sds *Service) Loop(chainEventCh chan core.ChainEvent) { + log.Info("Starting statediff listening loop") chainEventSub := sds.BlockChain.SubscribeChainEvent(chainEventCh) defer chainEventSub.Unsubscribe() errCh := chainEventSub.Err()