Skip to content

Commit

Permalink
cardano-ledger upgrade: accommodate the new VRFVerKeyHash type
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmayhew committed Dec 6, 2024
1 parent 7de8899 commit 72f9aab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardano-node/src/Cardano/Node/Tracing/Era/Shelley.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
module Cardano.Node.Tracing.Era.Shelley () where

import Cardano.Api (textShow)
import Cardano.Api.Ledger (fromVRFVerKeyHash)
import qualified Cardano.Api.Shelley as Api

import qualified Cardano.Crypto.Hash.Class as Crypto
Expand Down Expand Up @@ -666,7 +667,7 @@ instance
]
forMachine _dtal (DuplicateGenesisVRFDELEG vrfKeyHash) =
mconcat [ "kind" .= String "DuplicateGenesisVRFDELEG"
, "keyHash" .= vrfKeyHash
, "keyHash" .= fromVRFVerKeyHash vrfKeyHash
]
forMachine _dtal MIRTransferNotCurrentlyAllowed =
mconcat [ "kind" .= String "MIRTransferNotCurrentlyAllowed"
Expand Down

0 comments on commit 72f9aab

Please sign in to comment.