Skip to content

Commit 4d3572b

Browse files
committed
Evaluate prints every hundred's block
1 parent a69ba5e commit 4d3572b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plutus-script-evaluation/lib/Evaluate.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ onScriptEvaluationInput input@MkScriptEvaluationInput{..} = do
160160
seiScript
161161
seiData
162162

163-
print seiBlock
163+
let b = unBlockNo seiBlock
164+
when (b `mod` 100 == 0) (print b)
164165

165166
let evaluationSuccess = isRight evaluationResult
166167

0 commit comments

Comments
 (0)