-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Merge all contracts into one ABI (#1033)
* add contract function type and contract method * when compiling contracts, we explicitly wrap the program as a ContractMethod along with a default FunctionType * add a `save_contract_to_file` method * add method to save and preprocess contracts * Update crates/nargo/src/cli/compile_cmd.rs Co-authored-by: Tom French <[email protected]> * use `function` instead of `method` to describe a function in a contract. * fix clippy * Update crates/nargo/src/cli/fs/program.rs Co-authored-by: Tom French <[email protected]> * Update crates/noirc_driver/src/contract.rs Co-authored-by: Tom French <[email protected]> * fix: update remaining instance of variable name * Format code --------- Co-authored-by: Tom French <[email protected]> Co-authored-by: jfecher <[email protected]> Co-authored-by: Tom French <[email protected]>
- Loading branch information
1 parent
38bf571
commit 473428c
Showing
4 changed files
with
95 additions
and
22 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
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