-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
void
return gadgets, multiple circuits export and Vector
op…
…timisation (#38) * Added check in CallGadget * Added support for gadgets with no return types * Fixed const type coercion * Added support for extraction of multiple gadgets * Added support of Compiler interface * Improved gadget naming * Fixes to nested array of int in gadgets * Added uninitialised structs * Fixed sanitizeVars to support all flavours of ints * Added extraction of multiple circuits * Added vector optimisation * Added vector optimisation in gadget return * Added size check in isVectorComplete * Added support for array of ints as parameters * Fixed debug * Fixed use of append * Improved gotest * Fixed gate vector optimisation * Fixed clone gadget function * Added 2dim slices optimisation * Added tests * Added support of n-dim slices optimisation * Added support for multiple gadget return types * Fix replaceArg * Fixed nested slices * Moved public mathods to interface.go * Tests moved to test folder * Moving generic functions to file misc.go * Added comments and refactoring * Added comments and error handling * Gofmt
- Loading branch information
Showing
31 changed files
with
2,136 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.