Closed plafer closed 1 month ago
The serialization format of MastForest introduced in #1370 implicitly assumes that the internal value of a MastNodeId fits in 30 bits. Hence, MastForest should enforce this constraint.
MastForest
MastNodeId
@plafer I would like to have a crack.
I'm assuming adding impl TryFrom<u32> for MastNodeId { is appropriate.
impl TryFrom<u32> for MastNodeId {
Closed by #1394. Thank you again @sergerad!
The serialization format of
MastForest
introduced in #1370 implicitly assumes that the internal value of aMastNodeId
fits in 30 bits. Hence,MastForest
should enforce this constraint.