Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
was introduced by IntersectMBO/cardano-node#4886

readScriptDataOrFile was reverted to read ScriptData json with the detailed schema format (ScriptDataJsonDetailedSchema)
  • Loading branch information
Jimbo4350 committed Mar 6, 2023
1 parent 0c9f483 commit 3f8db66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Shelley/Run/Read.hs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ readScriptDataOrFile (ScriptDataJsonFile fp) = do
sDataValue <- hoistEither . first (ScriptDataErrorJsonParse fp) $ Aeson.eitherDecode sDataBs
hoistEither
. first ScriptDataErrorJsonBytes
$ scriptDataJsonToHashable ScriptDataJsonNoSchema sDataValue
$ scriptDataJsonToHashable ScriptDataJsonDetailedSchema sDataValue

readScriptDataOrFile (ScriptDataCborFile fp) = do
origBs <- handleIOExceptT (ScriptDataErrorFile . FileIOError fp) (BS.readFile fp)
Expand Down

0 comments on commit 3f8db66

Please sign in to comment.