@@ -14,9 +14,9 @@ import Serokell.Util.Verify (isVerSuccess)
14
14
import System.Random (newStdGen )
15
15
16
16
import Pos.AllSecrets (mkAllSecretsSimple )
17
- import Pos.Chain.Block (Block , VerifyBlockParams (.. ),
18
- VerifyHeaderParams (.. ), getBlockHeader , verifyBlock ,
19
- verifyHeader )
17
+ import Pos.Chain.Block (Block , ConsensusEraLeaders (.. ),
18
+ VerifyBlockParams (.. ), VerifyHeaderParams ( .. ) ,
19
+ getBlockHeader , verifyBlock , verifyHeader )
20
20
import Pos.Chain.Genesis as Genesis (Config (.. ),
21
21
FakeAvvmOptions (.. ), GenesisInitializer (.. ),
22
22
TestnetBalanceOptions (.. ), configBlockVersionData ,
@@ -195,7 +195,9 @@ verifyHeaderBenchmark !genesisConfig !secretKeys !tp =
195
195
, _bgpTxpGlobalSettings =
196
196
txpGlobalSettings genesisConfig (_tpTxpConfiguration tp)
197
197
}
198
- leaders <- lrcActionOnEpochReason epoch " genBlock" getLeadersForEpoch
198
+ leaders <-
199
+ OriginalLeaders
200
+ <$> lrcActionOnEpochReason epoch " genBlock" getLeadersForEpoch
199
201
mblock <- flip evalRandT g $ do
200
202
blockGenCtx <- lift $ mkBlockGenContext
201
203
(configEpochSlots genesisConfig)
@@ -212,7 +214,6 @@ verifyHeaderBenchmark !genesisConfig !secretKeys !tp =
212
214
, vhpMaxSize = Nothing
213
215
, vhpVerifyNoUnknown = False
214
216
, vhpConsensusEra = Original
215
- , vhpLastBlkSlotsAndK = Nothing
216
217
}
217
218
let ! params = VerifyBlockParams
218
219
{ vbpVerifyHeader = verifyHeaderParams
0 commit comments