tendermint: Crash on startup: error decoding 'consensus.create_empty_blocks_interval': time: invalid duration

tendermint version0.32.8-7d7b47a3 compiled from github source

ABCI app: Using the go Sample from here: https://docs.tendermint.com/master/guides/go.html

Environment: Mac OS 10.15.2 (19C57) go version go1.13.5 darwin/amd64 abci-cli version 0.16.1 go.mod:

module github.com/tendermint/tendermint

go 1.13

require (
	github.com/ChainSafe/go-schnorrkel v0.0.0-20191204112926-74e22bf42a85
	github.com/VividCortex/gohistogram v1.0.0 // indirect
	github.com/Workiva/go-datastructures v1.0.50
	github.com/btcsuite/btcd v0.0.0-20190115013929-ed77733ec07d
	github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a
	github.com/fortytw2/leaktest v1.3.0
	github.com/go-kit/kit v0.9.0
	github.com/go-logfmt/logfmt v0.4.0
	github.com/gogo/protobuf v1.3.1
	github.com/golang/protobuf v1.3.2
	github.com/google/gofuzz v1.0.0 // indirect
	github.com/gorilla/websocket v1.4.1
	github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f
	github.com/inconshreveable/mousetrap v1.0.0 // indirect
	github.com/libp2p/go-buffer-pool v0.0.2
	github.com/magiconair/properties v1.8.1
	github.com/mitchellh/gox v1.0.1 // indirect
	github.com/pkg/errors v0.8.1
	github.com/prometheus/client_golang v0.9.3
	github.com/rcrowley/go-metrics v0.0.0-20180503174638-e2704e165165
	github.com/rs/cors v1.7.0
	github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa
	github.com/spf13/cobra v0.0.1
	github.com/spf13/viper v1.6.1
	github.com/square/certstrap v1.2.0 // indirect
	github.com/stretchr/testify v1.4.0
	github.com/stumble/gorocksdb v0.0.3 // indirect
	github.com/tendermint/go-amino v0.14.1
	github.com/tendermint/tm-db v0.3.0
	golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
	golang.org/x/net v0.0.0-20190628185345-da137c7871d7
	golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a // indirect
	google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb // indirect
	google.golang.org/grpc v1.26.0
)

What happened: The app crashes during startup with the following log:

TMHOME="/Users/daniel/go/src/github.com/tendermint/thome" tendermint node --proxy_app=unix:///Users/daniel/go/src/github.com/kvstore/example.sock

ERROR: 1 error(s) decoding:

* error decoding 'consensus.create_empty_blocks_interval': time: invalid duration 

The kvstore sample ABCI application has no errors in the log:

I[2020-01-07|13:13:46.703] Starting ABCIServer                          impl=ABCIServer
I[2020-01-07|13:13:46.704] Waiting for new connection...   

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

That second line was the solution 👯‍♂

git clone https://github.com/tendermint/tendermint
git checkout v0.32.9
I[2020-01-14|19:52:34.558] Committed state                              module=state height=6 txs=0 appHash=
I[2020-01-14|19:52:35.600] Executed block                               module=state height=7 validTxs=0 invalidTxs=0

I was compiling the mater branch which didn’t have NumTxs anymore as you said.