fix seralization issues

This commit is contained in:
fanghr 2022-05-05 20:15:37 +08:00
parent c1c4c919a2
commit d9a2a467bb
No known key found for this signature in database
GPG key ID: 35CD9A71CD5D5870
4 changed files with 13 additions and 13 deletions

View file

@ -178,7 +178,7 @@ data ProposalDatum = ProposalDatum
-- TODO: could we encode this more efficiently?
-- This is shaped this way for future proofing.
-- See https://github.com/Liqwid-Labs/agora/issues/39
, effects :: AssocMap.Map ResultTag [(ValidatorHash, DatumHash)]
, effects :: AssocMap.Map ResultTag (AssocMap.Map ValidatorHash DatumHash)
-- ^ Effect lookup table. First by result, then by effect hash.
, status :: ProposalStatus
-- ^ The status the proposal is in.