From 16d0a3a8abeaac3341ee1c0c75ba343ba8f18b5b Mon Sep 17 00:00:00 2001 From: Eugen Zalinescu Date: Mon, 13 Dec 2021 11:23:45 +0100 Subject: [PATCH] Proto/Baker: load cache lazily --- src/proto_alpha/lib_delegate/baking_simulator.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_alpha/lib_delegate/baking_simulator.ml b/src/proto_alpha/lib_delegate/baking_simulator.ml index 76b8c3a6b185..8188f673c123 100644 --- a/src/proto_alpha/lib_delegate/baking_simulator.ml +++ b/src/proto_alpha/lib_delegate/baking_simulator.ml @@ -107,7 +107,7 @@ let begin_construction ~timestamp ?protocol_data ~predecessor:pred_hash ?protocol_data ~timestamp - ~cache:`Load + ~cache:`Lazy () >>=? fun state -> return {predecessor; context; state; rev_operations = []; header} -- GitLab