From 07cf02c7aa6f8af05091e0cfdd09e96b5335da66 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