FileLMDBIndexBlockStore should handle decoding errors of protobufs

Description

See:FileLMDBIndexBlockStore.sclaa

.map(block => List(blockHash -> BlockMessage.from(block).right.get)) // TODO FIX-ME

BlockStore works internally on protobufs so each message it contains will be in proper format (this code will only break if it wsa broken before). Nevertheless this should be address in the future (this PR exposed the problem that wsa not visible before - what if protobufs stored in the past are no longer valid objects in the future)

Status

Assignee

Daniyar Itegulov

Reporter

Pawel Szulc

Components

None

Story Points

None

Epic Link

None

Labels

None

Priority

Medium
Configure