Skip to content

Commit 7744644

Browse files
Add TODO
1 parent 0e1fc6e commit 7744644

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BotPlutusInterface/CardanoCLI.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ unsafeSerialiseAddress network address =
477477

478478
calculateExBudget :: Script -> [BuiltinData] -> Either Text ExBudget
479479
calculateExBudget script builtinData = do
480+
-- TODO, pull this from the protocol, they're the same for now but may not always be
480481
modelParams <- maybeToRight "Cost model params invalid." Plutus.defaultCostModelParams
481482
let serialisedScript = ShortByteString.toShort $ LazyByteString.toStrict $ Codec.serialise script
482483
pData = map Plutus.builtinDataToData builtinData

0 commit comments

Comments
 (0)