🛠️ [TASK] : Add method to get block data back from `MultiEraBlockData` in cardano-chain-follower
FelipeRosa opened this issue · comments
Summary
Add a way to get the block data bytes from the MultiEraBlockData
wrapper type in cardano-chain-follower.
Description
Add a way to get the block data bytes from the MultiEraBlockData
wrapper type in cardano-chain-follower.
- Method for consuming a
MultiEraBlockData
and gettingVec<u8>
(e.g.into_data
orinto_inner
) - Implement
AsRef<[u8]>
for MultiEraBlockData so users can get a reference to the inner data and also are able to createVec<u8>
from it
Closed by #185