LightBlock verification ignores last_block_id #651
Labels
bug
Something isn't working
light-client
Issues/features which involve the light client
verification
In the current Model Based Testing, we ignore a few
Header
fields i.e. set them tonull
and one of them islast_block_id
. According to the spec, Blocks, except for the first one, is expected to havelast_block_id
pointing to the previous block'sblock_id
. It's surprising that neither Tendermint in Go nor in Rust checks this!Also with the idea of correct-by-construction data structures, I'd expect a
Block
atheight > 1
with a missinglast_block_id
to fail to translate into Domain type.The text was updated successfully, but these errors were encountered: