From 775a02e210e687c654020285730ddfd8ba5da867 Mon Sep 17 00:00:00 2001 From: Max Revitt Date: Thu, 19 Dec 2024 11:27:15 +0000 Subject: [PATCH] tweak(counters): poseidon 30 to 31 (#1587) (#1589) --- core/vm/zk_counters_limits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/zk_counters_limits.go b/core/vm/zk_counters_limits.go index e13d15b5500..f99c74b2407 100644 --- a/core/vm/zk_counters_limits.go +++ b/core/vm/zk_counters_limits.go @@ -92,7 +92,7 @@ func getCounterLimits(forkId uint16) *Counters { memAlign: applyDeduction(forkId, totalSteps>>5), keccaks: applyDeduction(forkId, int(math.Floor(float64(totalSteps)/155286)*44)), padding: applyDeduction(forkId, int(math.Floor(float64(totalSteps)/56))), - poseidon: applyDeduction(forkId, int(math.Floor(float64(totalSteps)/30))), + poseidon: applyDeduction(forkId, int(math.Floor(float64(totalSteps)/31))), sha256: applyDeduction(forkId, int(math.Floor(float64(totalSteps-1)/31488))*7), }