Skip to content

Commit

Permalink
Add n_rows_required method to MptCircuit (#93)
Browse files Browse the repository at this point in the history
* fix column annotation

* Implement n_rows_required for internal gadgets

* Add n_rows_required implementation for MptUpdateGadget

* clippy and add 1 to account for disabled row in MptUpdateConfig

* Start assignment from second row

* Remove panic

* Add comments explaining where +1 comes from

* Add test for fixed vk

* Dedup hash traces and add comment explaining +1 in n_rows_required

* Fix comment

* Fix build

* Track Cargo.lock

---------

Co-authored-by: Mason Liang <[email protected]>
  • Loading branch information
z2trillion and Mason Liang authored Oct 31, 2023
1 parent 578c210 commit 6232ff4
Show file tree
Hide file tree
Showing 12 changed files with 318 additions and 194 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
/layouts
.vscode
.cargo
Cargo.lock
*.png
*.png
Loading

0 comments on commit 6232ff4

Please sign in to comment.