diff --git a/scls-cardano/cddl-src/Cardano/SCLS/CDDL.hs b/scls-cardano/cddl-src/Cardano/SCLS/CDDL.hs index d8ccbcc3..9f33b98d 100644 --- a/scls-cardano/cddl-src/Cardano/SCLS/CDDL.hs +++ b/scls-cardano/cddl-src/Cardano/SCLS/CDDL.hs @@ -95,8 +95,8 @@ type instance Spec.NamespaceKeySize "nonces/v0" = 1 -- Just zero type instance Spec.NamespaceKeySize "snapshots/mark/v0" = 31 -- 1 byte for hash type, 29 bytes for key hash (including 1-byte discriminator/padding; cred 29, key 28+1), 1 byte for value type type instance Spec.NamespaceKeySize "snapshots/set/v0" = 31 -- 1 byte for hash type, 29 bytes for key hash (including 1-byte discriminator/padding; cred 29, key 28+1), 1 byte for value type type instance Spec.NamespaceKeySize "snapshots/go/v0" = 31 -- 1 byte for hash type, 29 bytes for key hash (including 1-byte discriminator/padding; cred 29, key 28+1), 1 byte for value type -type instance Spec.NamespaceKeySize "entities/committee/v0" = 8 -type instance Spec.NamespaceKeySize "gov/committee/v0" = 8 -type instance Spec.NamespaceKeySize "gov/constitution/v0" = 8 +type instance Spec.NamespaceKeySize "entities/committee/v0" = 1 +type instance Spec.NamespaceKeySize "gov/committee/v0" = 1 +type instance Spec.NamespaceKeySize "gov/constitution/v0" = 1 type instance Spec.NamespaceKeySize "gov/pparams/v0" = 4 type instance Spec.NamespaceKeySize "gov/proposals/v0" = 34 -- 32 bytes txid+tx index + 2 bytes for proposal index