simperby icon indicating copy to clipboard operation
simperby copied to clipboard

Report consensus misbehavior

Open junha1 opened this issue 2 years ago • 1 comments

Currently the Vetomint implementation doesn't detect misbehavior and report ViolationReport

  1. Double votes
  2. Double proposals
  3. Proposals on wrong round
  4. Votes on invalid blocks
  5. Invalid proposals

Note that some behaviors should be detected by the lower layer: the consensus module

  1. Invalid format
  2. Wrong signature
  3. Wrong public key

junha1 avatar Jul 28 '23 11:07 junha1

reference research for this issue

https://github.com/tendermint/tendermint/blob/main/behaviour/doc.go

https://github.com/informalsystems/tendermint-rs/blob/main/tendermint/src/evidence.rs#L23C9-L23C9

Evidence list to detect for violation report https://github.com/tendermint/spec/blob/d46cd7f573a2c6a2399fcab2cde981330aa63f37/spec/core/data_structures.md#evidence

jeongseup avatar Jul 31 '23 15:07 jeongseup