Closed ashisherc closed 1 week ago
Current approach was done for efficiency. We considered an approach you are suggesting, but it will incur more bytes on chain. Considering that we expect a lot of votes, this is a worthwhile optimization.
Moreover we are too late in the game to change CDDL spec.
Thank you for your suggestion though.
referring to the below CDDL Schema,
https://github.com/IntersectMBO/cardano-ledger/blob/a44a5b5ac9f68c5d7a2ff38b040a5fcac8ccfc6a/eras/conway/impl/cddl-files/conway.cddl#L125C1-L136C4
I believe since the dRep, CCHot, and pool_keyhash types are well defined, it would be ideal to have the Voter type defined as below,