From c94abf0783b0039658203ee28702715d99f3a25c Mon Sep 17 00:00:00 2001 From: krlosMata Date: Thu, 19 Dec 2024 00:03:41 +0100 Subject: [PATCH] fork.13 poseidon counters fix --- .github/workflows/main.yaml | 2 +- main/constants.zkasm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0906f044..814c705a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -6,7 +6,7 @@ name: Test executor inputs on: workflow_dispatch: pull_request: - branches: [main, develop, develop-no-opt, develop-durian] + branches: [main, develop, develop-durian] jobs: build: diff --git a/main/constants.zkasm b/main/constants.zkasm index 22cfef6d..a77b1944 100644 --- a/main/constants.zkasm +++ b/main/constants.zkasm @@ -113,7 +113,7 @@ CONST %MAX_CNT_BINARY_LIMIT = %TOTAL_STEPS_LIMIT / 16 CONST %MAX_CNT_MEM_ALIGN_LIMIT = %TOTAL_STEPS_LIMIT / 32 CONST %MAX_CNT_KECCAK_F_LIMIT = (%TOTAL_STEPS_LIMIT / 155286) * 44 CONST %MAX_CNT_PADDING_PG_LIMIT = (%TOTAL_STEPS_LIMIT / 56) -CONST %MAX_CNT_POSEIDON_G_LIMIT = (%TOTAL_STEPS_LIMIT / 30) +CONST %MAX_CNT_POSEIDON_G_LIMIT = (%TOTAL_STEPS_LIMIT / 31) CONST %MAX_CNT_SHA256_F_LIMIT = ((%TOTAL_STEPS_LIMIT - 1) / 31488) * 7 CONST %SAFE_RANGE = 80 ; safe guard counters to not take into account (%RANGE = 1 / SAFE_RANGE)