Skip to content
Cosmopediaby Unity Nodes
DiscussionsTendermintTendermint tutorial app cannot be builtForum ↗

Tendermint tutorial app cannot be built

Tendermint6 posts920 views1 likesLast activity Dec 2020
VI
victory015OP
Nov 2020

In this tutorial,

docs.tendermint.com

Creating a built-in application in Go | Tendermint Core


The KVStore app cannot be built. The errors are:

go build
*KVStoreApplication does not implement “github.com/tendermint/tendermint/abci/types”.Application (missing ApplySnapshotChunk method)

I google for 1 hour. I don’t know what is wrong with the tendermint tutorial

VI
victory015
Dec 2020

Anyone ? It seems that very few people are using tendermint built in app.

VI
victory015
Dec 2020 1

I have figured out the problem. The app.go has to implement the missing ApplySnapshotChunk method.

Well. The tendermint core document is obsolete.

PA
pavanvora
Dec 2020

Hi @victory015. Can you please post the solution here? It would be very helpful.

Thank you.

VI
victory015
Dec 2020

I have uploaded the code to my github

check out the link:

github.com

victoryeo/tendermint-builtinapp

Contribute to victoryeo/tendermint-builtinapp development by creating an account on GitHub.

PA
pavanvora
Dec 2020

Thank you very much. I was comparing my code with yours and found that the ApplySnapshotChunk method was already implemented from tendermint tutorial and noticed that it was not having the SetOptions method.

Thank you, :slightly_smiling_face:

← Back to Discussions