Skip to content

Commit 2eb72da

Browse files
author
Jared Corduan
committed
Bump block header protocol version
Alonzo will now broadcast 7.2 (even though we are actually moving to 7.0, this is to distinguish from other versions of the node that are broadcasting major version 7). Babbage will now broadcast 7.0, the version that we are actually moving to.
1 parent 4c64d1c commit 2eb72da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

cardano-node/src/Cardano/Node/Protocol/Cardano.hs

+7-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,12 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration {
198198
-- version that this node will declare that it understands, when it
199199
-- is in the Alonzo era. That is, it is the version of protocol
200200
-- /after/ Alonzo, i.e. Babbage.
201-
alonzoProtVer = ProtVer 7 1,
201+
--
202+
-- NOTE that we are not actually transitioning to version 7.2,
203+
-- this is a HACK so that we can distinguish between others
204+
-- versions of the node that are broadcasting major version 7.
205+
-- We intentionally broadcast 7.0 starting in Babbage.
206+
alonzoProtVer = ProtVer 7 2,
202207
alonzoMaxTxCapacityOverrides =
203208
TxLimits.mkOverrides TxLimits.noOverridesMeasure
204209
}
@@ -207,7 +212,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration {
207212
-- version that this node will declare that it understands, when it
208213
-- is in the Babbage era. Since Babbage is currently the last known
209214
-- protocol version then this is also the Babbage protocol version.
210-
Praos.babbageProtVer = ProtVer 7 1,
215+
Praos.babbageProtVer = ProtVer 7 0,
211216
Praos.babbageMaxTxCapacityOverrides =
212217
TxLimits.mkOverrides TxLimits.noOverridesMeasure
213218
}

0 commit comments

Comments
 (0)