@@ -340,22 +340,22 @@ defaultConfig = Config {
340340
341341configWord64 :: Config
342342configWord64 = defaultConfig {
343- randomKey = first serialiseKey . uniform @ _ @ Word64
344- , randomValue = first serialiseValue . uniform @ _ @ Word64
343+ randomKey = first serialiseKey . uniform @ Word64 @ _
344+ , randomValue = first serialiseValue . uniform @ Word64 @ _
345345 , randomBlob = first serialiseBlob . R. randomByteStringR (0 , 0x2000 ) -- up to 8 kB
346346 }
347347
348348configUTxO :: Config
349349configUTxO = defaultConfig {
350- randomKey = first serialiseKey . uniform @ _ @ UTxOKey
351- , randomValue = first serialiseValue . uniform @ _ @ UTxOValue
350+ randomKey = first serialiseKey . uniform @ UTxOKey @ _
351+ , randomValue = first serialiseValue . uniform @ UTxOValue @ _
352352 }
353353
354354configUTxOStaking :: Config
355355configUTxOStaking = defaultConfig {
356356 fmupserts = 1
357- , randomKey = first serialiseKey . uniform @ _ @ UTxOKey
358- , randomValue = first serialiseValue . uniform @ _ @ Word64
357+ , randomKey = first serialiseKey . uniform @ UTxOKey @ _
358+ , randomValue = first serialiseValue . uniform @ Word64 @ _
359359 , mergeResolve = Just (onDeserialisedValues ((+) @ Word64 ))
360360 }
361361
@@ -401,7 +401,7 @@ randomRuns hasFS hasBlockIO config@Config {..} rng0 = do
401401 zipWith
402402 (randomRunData config)
403403 nentries
404- (List. unfoldr (Just . R. split ) rng0)
404+ (List. unfoldr (Just . R. splitGen ) rng0)
405405
406406-- | Generate keys and entries to insert into the write buffer.
407407-- They are already serialised to exclude the cost from the benchmark.
@@ -416,7 +416,7 @@ randomRunData Config {..} runentries g0 =
416416 (R. withoutReplacement g1 runentries randomKey)
417417 (R. withReplacement g2 runentries randomEntry)
418418 where
419- (g1, g2) = R. split g0
419+ (g1, g2) = R. splitGen g0
420420
421421 randomEntry :: Rnd (Entry SerialisedValue SerialisedBlob )
422422 randomEntry = R. frequency
0 commit comments