Skip to content
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

consensus error when running cometbft + tendermint-rs #1469

Open
taturosati opened this issue Oct 21, 2024 · 0 comments
Open

consensus error when running cometbft + tendermint-rs #1469

taturosati opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@taturosati
Copy link

What went wrong?

I have tried running theoreticaly supported tendermint version with tendermint-rs implementation of kvstore but it got stuck on start. Found this issue #1463 which suggested chainging to cometbft.

That fixes the initial issue but when trying to send a transaction I am getting error:

CONSENSUS FAILURE!!!                         module=consensus err="failed to apply block; error expected tx results length to match size of transactions in block. Expected 1, got 0

Steps to reproduce

  1. Start kvstore (on version 0.39.1 or 0.39.0):
cargo run --bin kvstore-rs --features binary,kvstore-app,client
  1. Start cometbft (on version 0.38.12):
cometbft unsafe-reset-all && cometbft node
  1. Send tx:
curl 'http://127.0.0.1:26657/broadcast_tx_async?tx="somekey=somevalue"'

Definition of "done"

Cometbft should be able to reach consensus on simple kvserver (it works with their internal example)

@taturosati taturosati added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant