-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
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
spec: Improve ABCI spec to clearly explain error returns #2907
Comments
I just noticed this comment explaining the difference between error codes and errors in methods. I think that for app developers it's quite difficult to find, so better to put it clearly in the docs or spec. https://github.com/cometbft/cometbft/blob/main/abci/client/client.go#L21-L23 |
Thanks for the pointer @hvanz, I'll take a look at that. |
I've added the additional information about ABCI error to the tutorial in docs since it might be easier to find than the spec and we have also code in the kvstore example so it made more sense to add to the docs. |
I added a comment to the PR. We still need to fix the "Errors" paragraph we have in the spec, as it's explaining errors, but not mentioning the non-recoverable ones. |
close: #2907 adding some additional information about ABCI error in the docs and example in kvstore --- #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [X] Updated relevant documentation (`docs/` or `spec/`) and code comments - [X] Title follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec --------- Co-authored-by: Hernán Vanzetto <[email protected]> Co-authored-by: Sergio Mena <[email protected]>
close: #2907 adding some additional information about ABCI error in the docs and example in kvstore --- #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [X] Updated relevant documentation (`docs/` or `spec/`) and code comments - [X] Title follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec --------- Co-authored-by: Hernán Vanzetto <[email protected]> Co-authored-by: Sergio Mena <[email protected]> (cherry picked from commit 0b4cf9b)
close: #2907 adding some additional information about ABCI error in the docs and example in kvstore --- #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [X] Updated relevant documentation (`docs/` or `spec/`) and code comments - [X] Title follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec <hr>This is an automatic backport of pull request #3072 done by [Mergify](https://mergify.com). --------- Co-authored-by: Andy Nogueira <[email protected]>
The text was updated successfully, but these errors were encountered: