Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.
This repository was 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

@ed255

Description

@ed255

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)

Metadata

Metadata

Assignees

Labels

T-benchType: benchmark improvements

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions