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)

Assignee

Daniyar Itegulov

Reporter

Pawel Szulc

Priority

Medium

Components

None

Story Points

None

Epic Link

None

Fix versions

None

Labels

None
Configure