From 48cfbd03b0763669680b6ae6385180446cf7b922 Mon Sep 17 00:00:00 2001 From: Ulf Norell Date: Tue, 1 Oct 2019 10:52:54 +0200 Subject: [PATCH] Recalibrate the store map threshold Now that we charge gas for store writes the math is changed. --- src/aeb_fate_maps.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeb_fate_maps.erl b/src/aeb_fate_maps.erl index 2b62f81..e57831d 100644 --- a/src/aeb_fate_maps.erl +++ b/src/aeb_fate_maps.erl @@ -25,7 +25,7 @@ %% Size in bytes of serialization of a map for which we turn it into a store %% map. It's not worth turning small maps into store maps. %% Under consensus! --define(STORE_MAP_THRESHOLD, 500). +-define(STORE_MAP_THRESHOLD, 100). -type fate_value() :: aeb_fate_data:fate_type(). -type fate_value_or_tombstone() :: fate_value() | ?FATE_MAP_TOMBSTONE.