Skip to content
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

Babbage: Reference scripts #2645

Merged
merged 3 commits into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eras/babbage/impl/src/Cardano/Ledger/Babbage.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ instance
pp = sgProtocolParams sg

instance CC.Crypto c => UsesTxOut (BabbageEra c) where
makeTxOut _proxy addr val = TxOut addr val NoDatum
makeTxOut _proxy addr val = TxOut addr val NoDatum SNothing

instance CC.Crypto c => API.CLI (BabbageEra c) where
evaluateMinFee = minfee
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ translateTxOut ::
Crypto c =>
Core.TxOut (AlonzoEra c) ->
Core.TxOut (BabbageEra c)
translateTxOut (Alonzo.TxOut addr value dh) = TxOut addr value d
translateTxOut (Alonzo.TxOut addr value dh) = TxOut addr value d SNothing
where
d = case dh of
SNothing -> NoDatum
Expand Down
Loading