From dcf4ab157b575ffed6ad5d9471a544c048d73be9 Mon Sep 17 00:00:00 2001 From: John Hilliard Date: Thu, 24 Oct 2024 21:54:17 -0400 Subject: [PATCH] fix: virtual counters --- templates/cdk-erigon/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cdk-erigon/config.yml b/templates/cdk-erigon/config.yml index d64055b2..be8da786 100644 --- a/templates/cdk-erigon/config.yml +++ b/templates/cdk-erigon/config.yml @@ -149,7 +149,7 @@ zkevm.reject-smart-contract-deployments: false # Disables virtual counters, which are used by sequencer nodes when external execution is not enabled. # This can impact performance and transaction processing capabilities. # Default: false -zkevm.disable-virtual-counters: true +zkevm.disable-virtual-counters: {{if eq .consensus_contract_type "pessimistic"}}true{{else}}false{{end}} # Multiplier used to reduce the depth of SMT when calculating virtual counters. # A value less than 1 will decrease SMT depth, potentially improving performance but may affect accuracy.