File tree 2 files changed +4
-7
lines changed
cardano-api/src/Cardano/Api
cardano-node/src/Cardano/Node/Protocol
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -953,10 +953,10 @@ hashScript (PlutusScript PlutusScriptV1 (PlutusScriptSerialised script)) =
953
953
ScriptHash
954
954
. Ledger. hashScript @ (ShelleyLedgerEra AlonzoEra )
955
955
$ Alonzo. PlutusScript Alonzo. PlutusV1 script
956
- -- TODO: Babbage era PV2 only exists in Babbage era onwards!
956
+
957
957
hashScript (PlutusScript PlutusScriptV2 (PlutusScriptSerialised script)) =
958
958
ScriptHash
959
- . Ledger. hashScript @ (ShelleyLedgerEra AlonzoEra )
959
+ . Ledger. hashScript @ (ShelleyLedgerEra BabbageEra )
960
960
$ Alonzo. PlutusScript Alonzo. PlutusV2 script
961
961
962
962
toShelleyScriptHash :: ScriptHash -> Shelley. ScriptHash StandardCrypto
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration {
85
85
npcAlonzoGenesisFileHash
86
86
}
87
87
NodeHardForkProtocolConfiguration {
88
- npcTestEnableDevelopmentHardForkEras,
88
+ -- npcTestEnableDevelopmentHardForkEras,
89
89
-- During testing of the Alonzo era, we conditionally declared that we
90
90
-- knew about the Alonzo era. We do so only when a config option for
91
91
-- testing development/unstable eras is used. This lets us include
@@ -207,10 +207,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration {
207
207
-- version that this node will declare that it understands, when it
208
208
-- is in the Babbage era. Since Babbage is currently the last known
209
209
-- protocol version then this is also the Babbage protocol version.
210
- Praos. babbageProtVer =
211
- if npcTestEnableDevelopmentHardForkEras
212
- then ProtVer 7 0 -- Advertise we can support Babbage
213
- else ProtVer 6 0 , -- Otherwise we only advertise we know about (the second) Alonzo
210
+ Praos. babbageProtVer = ProtVer 7 0
214
211
Praos. babbageMaxTxCapacityOverrides =
215
212
TxLimits. mkOverrides TxLimits. noOverridesMeasure
216
213
}
You can’t perform that action at this time.
0 commit comments