diff --git a/src/devnet/lib/Convex/Devnet/CardanoNode.hs b/src/devnet/lib/Convex/Devnet/CardanoNode.hs index 8b682a1b..156945a3 100644 --- a/src/devnet/lib/Convex/Devnet/CardanoNode.hs +++ b/src/devnet/lib/Convex/Devnet/CardanoNode.hs @@ -472,7 +472,7 @@ withObject fn = \case computeGenesisHash :: FilePath -> IO String computeGenesisHash fp = -- drop the last character (newline) - take 64 <$> readProcess "cardano-cli" ["genesis", "hash", "--genesis", fp] "" + take 64 <$> readProcess "cardano-cli" ["hash", "anchor-data", "--file-text", fp] "" -- | Launch a Cardano stake pool node with predefined node configuration, port and topology. withCardanoStakePoolNodeDevnetConfig ::