Skip to content

consensus error when running cometbft + tendermint-rs  #1469

@taturosati

Description

@taturosati

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions