dcSpark / cardano-multiplatform-lib

Rust implementation of Cardano
MIT License
99 stars 36 forks source link

MultiEraBlock::from_explicit_network_cbor_bytes EBB #318

Closed rooooooooob closed 8 months ago

rooooooooob commented 8 months ago

Update the function to handle Byron EBBs.

We still need to figure out what to do in the general deserialize case #317 or if that behavior should just merge this function in there.

This works in the meantime and the behavior here would work regardless of how we update ByronBlock::deserialize()

SebastienGllmt commented 8 months ago

Can we also add the inline comment to the hash function in this PR (or do it in a separate PR)?