-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated v2 imports #137
updated v2 imports #137
Conversation
src/BotPlutusInterface/CardanoCLI.hs
Outdated
@@ -70,7 +70,8 @@ import Ledger.Interval ( | |||
UpperBound (UpperBound), | |||
) | |||
import Ledger.Scripts (Datum, DatumHash (..)) | |||
import Ledger.Scripts qualified as Scripts | |||
--import Ledger.Scripts qualified as Scripts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the commented line
@@ -295,7 +295,7 @@ mkDummyPrivateKey (PubKey (LedgerBytes pubkey)) = | |||
Crypto.xprv $ | |||
mconcat [dummyPrivKey, dummyPrivKeySuffix, pubkeyBS, dummyChainCode] | |||
|
|||
serialiseScript :: Script -> PlutusScript PlutusScriptV1 | |||
serialiseScript :: Script -> PlutusScript PlutusScriptV2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will V1 scripts keep working with this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it won't work with V1. Core things is difference in V1/V2 ScriptContext and validatorHash
Thank you for contribution! |
No description provided.