We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CometBFT version (use cometbft version or git rev-parse --verify HEAD if installed from source): 0.38.0
cometbft version
git rev-parse --verify HEAD
Have you tried the latest version: yes
ABCI app (name for built-in, URL for self-written if it's publicly available):
Environment:
node command runtime flags:
When trying to run any of the guides at https://docs.cometbft.com/v0.38/guides/go#13-writing-a-cometbft-application or https://docs.cometbft.com/v0.38/guides/go-built-in#13-writing-a-cometbft-application, the compilation triggers errors, see Logs section below
Build without any issues. Fixing the import by adding context is fixing the build issue
Follow the steps in the guide.
$ go build # kvstore ./app.go:15:39: undefined: context ./app.go:19:40: undefined: context ./app.go:23:42: undefined: context ./app.go:27:44: undefined: context ./app.go:31:50: undefined: context ./app.go:35:50: undefined: context ./app.go:39:48: undefined: context ./app.go:43:40: undefined: context ./app.go:47:48: undefined: context ./app.go:59:53: undefined: context ./app.go:47:48: too many errors
For the non built-in app, once the import is fixed the following error can be seen
go build # kvstore ./app.go:25:45: undefined: code
dump_consensus_state
The text was updated successfully, but these errors were encountered:
I'll provide a PR for the guide documentation
Sorry, something went wrong.
No branches or pull requests
Bug Report
Setup
CometBFT version (use
cometbft version
orgit rev-parse --verify HEAD
if installed from source): 0.38.0Have you tried the latest version: yes
ABCI app (name for built-in, URL for self-written if it's publicly available):
Environment:
node command runtime flags:
Config
What happened?
When trying to run any of the guides at https://docs.cometbft.com/v0.38/guides/go#13-writing-a-cometbft-application or https://docs.cometbft.com/v0.38/guides/go-built-in#13-writing-a-cometbft-application, the compilation triggers errors, see Logs section below
What did you expect to happen?
Build without any issues. Fixing the import by adding context is fixing the build issue
How to reproduce it
Follow the steps in the guide.
Logs
For the non built-in app, once the import is fixed the following error can be seen
dump_consensus_state
outputAnything else we need to know
The text was updated successfully, but these errors were encountered: