Skip to content

Commit f57da3c

Browse files
committed
Evaluate prints every hundred's block
1 parent b6bf9ff commit f57da3c

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)