Skip to content

Commit

Permalink
tweak(counters): poseidon 30 to 31 (#1587) (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
revitteth authored Dec 19, 2024
1 parent 3300b84 commit 6f83396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/zk_counters_limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}

Expand Down

0 comments on commit 6f83396

Please sign in to comment.