This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
Estimate rows needed for a block that of blake/sha256 maxed out #1805
Labels
T-bench
Type: benchmark improvements
Follow up from #1798
Estimate the rows needed for a block that tries to max out the blake and sha256 precompiles in a block with N gas.
Sha256 is not integrated but we've had a PR for a long time with an implementation here #756
Blake is not implemented in halo2, but we can use the Chiquito implementation for reference.
Since these two precompiles are not integrated getting benchmarks would need a lot of work, so instead the idea is to just estimate the row usage of a maxed out block. Then we can compare that value against the average block from #1798 and get an estimation on the cost increase (by comparing the required
k
of average VS maxed out)The text was updated successfully, but these errors were encountered: