File tree Expand file tree Collapse file tree
libs/cardano-ledger-canonical-state/src/Cardano/Ledger/CanonicalState/Namespace/GovProposals Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ source-repository-package
104104 type : git
105105 location : https://github.com/tweag/cardano-cls.git
106106 subdir : merkle-tree-incremental mempack-scls scls-cbor scls-cardano scls-format scls-core
107- --sha256 : sha256-BoAotLgxMipOIMcZrmlr6EtQzqC5HyEA0ZpK8nvCmJs =
108- tag : 5161deb34247a51160f2e8d58b6cc2d48044ea2c
107+ --sha256 : sha256-fasMDDKpCU9P0PALMOpX4Vutt9EZfmPdMRldEEPiTII =
108+ tag : b607576e149318518c8de7136bcd908551d4bc27
109109
110110constraints :
111111 -- Happy version 2.2.1 fails to compile haskell-src-exts
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import Cardano.SCLS.Versioned (Versioned (..))
4141import Data.MemPack
4242import Data.MemPack.ByteOrdered
4343import Data.Proxy (Proxy (.. ))
44- import Data.Word (Word16 )
44+ import Data.Word (Word16 , Word64 )
4545import GHC.Generics (Generic )
4646
4747newtype CanonicalGovActionIx = CanonicalGovActionIx Word16
@@ -76,9 +76,7 @@ instance IsKey GovProposalIn where
7676 gaidGovActionIx <- unpackM
7777 return $ GovProposalIn CanonicalGovActionId {.. }
7878
79- -- | Canonical wrapper over gov action state. Because this is on-chain data
80- -- we create a wrapper for that.
81- newtype GovProposalOut v = GovProposalOut v
79+ newtype GovProposalOut v = GovProposalOut (Word64 , v )
8280 deriving (Eq , Show , Generic )
8381 deriving newtype (ToCanonicalCBOR "gov/proposals/v0")
8482 deriving newtype (FromCanonicalCBOR "gov/proposals/v0")
You can’t perform that action at this time.
0 commit comments