Skip to content

Commit

Permalink
Introduce bootstrap Hardfork switch
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed Apr 29, 2024
1 parent 2e1d1ac commit 658003a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eras/shelley/impl/src/Cardano/Ledger/Shelley/HardForks.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
module Cardano.Ledger.Shelley.HardForks (
aggregatedRewards,
allowMIRTransfer,
bootstrapPhase,
validatePoolRewardAccountNetID,
forgoRewardPrefilter,
translateUpperBoundForPlutusScripts,
Expand Down Expand Up @@ -64,3 +65,9 @@ forgoPointerAddressResolution ::
ProtVer ->
Bool
forgoPointerAddressResolution pv = pvMajor pv > natVersion @8

-- | Bootstrap phase
bootstrapPhase ::
ProtVer ->
Bool
bootstrapPhase pv = pvMajor pv == natVersion @9

0 comments on commit 658003a

Please sign in to comment.