Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Lh/ultra yul flatten #12

Merged
merged 9 commits into from
Apr 13, 2023
Merged

Lh/ultra yul flatten #12

merged 9 commits into from
Apr 13, 2023

Conversation

LHerskind
Copy link
Collaborator

@LHerskind LHerskind commented Mar 6, 2023

Extends #11 to also flatten the ultra-plonk verifier. Adds a large amount of comments throughout the code. Not super consistent on notation though 😅.

The flattening increased gas costs a tiny bit, but the readability should be much better, and should be easier to validate that the solidity and cpp implementations have parity.

Flattening made verification gas costs go from 375524 to 376062 (increase of 538 gas) for the add2 circuit.

@LHerskind LHerskind added the documentation Improvements or additions to documentation label Mar 6, 2023
@LHerskind LHerskind self-assigned this Mar 6, 2023
@LHerskind LHerskind requested a review from zac-williamson March 6, 2023 21:30
Base automatically changed from lh/flatten-yul to master March 24, 2023 21:48
Copy link
Member

@Maddiaa0 Maddiaa0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@LHerskind LHerskind merged commit 45881c1 into master Apr 13, 2023
@LHerskind LHerskind deleted the lh/ultra-yul-flatten branch April 13, 2023 11:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants