Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Jul 4, 2020
1 parent 3e7e9de commit a16cb3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardano-db-sync/src/Cardano/DbSync/Era.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import Ouroboros.Consensus.Shelley.Node (ShelleyGenesis (..), protocol
import Ouroboros.Consensus.Shelley.Protocol (TPraosStandardCrypto)

import Shelley.Spec.Ledger.BaseTypes (Network (..))
import qualified Shelley.Spec.Ledger.BaseTypes as Shelley
import qualified Shelley.Spec.Ledger.Genesis as Shelley
import Shelley.Spec.Ledger.PParams (ProtVer (..))

Expand Down Expand Up @@ -102,7 +103,7 @@ mkShelleyTopLevelConfig sgc =
-- by 'pInfoConfig' anyway.
shelleyInfo :: ProtocolInfo IO ShelleyBlock
-- TODO: IS @'maxMajorPV' = 0@ THIS RIGHT?
shelleyInfo = protocolInfoShelley sgc 2 (ProtVer 2 0) Nothing
shelleyInfo = protocolInfoShelley sgc Shelley.NeutralNonce 2 (ProtVer 2 0) Nothing

mkShelleyProtocolMagic :: ShelleyGenesis TPraosStandardCrypto -> ProtocolMagic
mkShelleyProtocolMagic sg =
Expand Down

0 comments on commit a16cb3c

Please sign in to comment.