Open
Description
At the moment, updating the any of the miner types is really painful because we have hard-coded hex example serializations. We can fix this by:
- Removing the comments describing the CBOR structure. Keeping those up-to-date is going to be really annoying.
- Instead of decoding the examples from hex, encode the newly created cbor into hex then compare the hex (as strings). That way, we can update these values by copy-pasting from error messages (if and only if we actually expect them to change).