From 2eb72da88145b07fa43e759c0afe430cf4470926 Mon Sep 17 00:00:00 2001 From: Jared Corduan <jared.corduan@iohk.io> Date: Tue, 2 Aug 2022 10:13:59 -0400 Subject: [PATCH] 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. --- cardano-node/src/Cardano/Node/Protocol/Cardano.hs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cardano-node/src/Cardano/Node/Protocol/Cardano.hs b/cardano-node/src/Cardano/Node/Protocol/Cardano.hs index 539b43b64bc..20f7a416562 100644 --- a/cardano-node/src/Cardano/Node/Protocol/Cardano.hs +++ b/cardano-node/src/Cardano/Node/Protocol/Cardano.hs @@ -198,7 +198,12 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration { -- version that this node will declare that it understands, when it -- is in the Alonzo era. That is, it is the version of protocol -- /after/ Alonzo, i.e. Babbage. - alonzoProtVer = ProtVer 7 1, + -- + -- NOTE that we are not actually transitioning to version 7.2, + -- this is a HACK so that we can distinguish between others + -- versions of the node that are broadcasting major version 7. + -- We intentionally broadcast 7.0 starting in Babbage. + alonzoProtVer = ProtVer 7 2, alonzoMaxTxCapacityOverrides = TxLimits.mkOverrides TxLimits.noOverridesMeasure } @@ -207,7 +212,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration { -- version that this node will declare that it understands, when it -- is in the Babbage era. Since Babbage is currently the last known -- protocol version then this is also the Babbage protocol version. - Praos.babbageProtVer = ProtVer 7 1, + Praos.babbageProtVer = ProtVer 7 0, Praos.babbageMaxTxCapacityOverrides = TxLimits.mkOverrides TxLimits.noOverridesMeasure }