Skip to content

Commit

Permalink
Make the utxoTransition in Babbage more general
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucsanszky committed Apr 16, 2024
1 parent 3c56069 commit 679fb36
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions eras/babbage/impl/src/Cardano/Ledger/Babbage/Rules/Utxo.hs
Expand Up @@ -347,13 +347,17 @@ utxoTransition ::
, BabbageEraTxBody era
, AlonzoEraTxWits era
, Tx era ~ AlonzoTx era
, EraRule "UTXO" era ~ BabbageUTXO era
, InjectRuleFailure "UTXO" ShelleyUtxoPredFailure era
, InjectRuleFailure "UTXO" AllegraUtxoPredFailure era
, InjectRuleFailure "UTXO" AlonzoUtxoPredFailure era
, InjectRuleFailure "UTXO" BabbageUtxoPredFailure era
, Environment (EraRule "UTXO" era) ~ UtxoEnv era
, State (EraRule "UTXO" era) ~ UTxOState era
, Signal (EraRule "UTXO" era) ~ AlonzoTx era
, BaseM (EraRule "UTXO" era) ~ ShelleyBase
, STS (EraRule "UTXO" era)
, -- In this function we we call the UTXOS rule, so we need some assumptions
Embed (EraRule "UTXOS" era) (BabbageUTXO era)
Embed (EraRule "UTXOS" era) (EraRule "UTXO" era)
, Environment (EraRule "UTXOS" era) ~ UtxoEnv era
, State (EraRule "UTXOS" era) ~ UTxOState era
, Signal (EraRule "UTXOS" era) ~ Tx era
Expand Down

0 comments on commit 679fb36

Please sign in to comment.