public void Fork_there_and_back() { Fork container = new Fork(new ForkVersion(new byte[] { 0x01, 0x00, 0x00, 0x00 }), new ForkVersion(new byte[] { 0x02, 0x00, 0x00, 0x00 }), new Epoch(3)); Span <byte> encoded = new byte[Fork.SszLength]; Ssz.Encode(encoded, container); Fork decoded = Ssz.DecodeFork(encoded); Assert.AreEqual(container, decoded); Merkle.Ize(out UInt256 root, container); }