-
Notifications
You must be signed in to change notification settings - Fork 388
feat(nargo): Multiple circuits info for binary programs #4719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
6d7704a
initial testing of nargo info on multiple circuits against poseidon b…
vezenovm e6461f4
Merge branch 'master' into mv/multiple-circuits-info
vezenovm ea5e073
cleanup old dbgs and debug methods in info cmd
vezenovm 92ff229
refactor some of ssa.rs to have circuit and program artifacts to grou…
vezenovm c3e2697
remove pub on hash_internal
vezenovm d8f4aa0
remove unused func
vezenovm 9372200
cleanup
vezenovm 382d95a
remove poseidon blowup test
vezenovm 748b201
update issue link in comments
vezenovm 46e5316
Merge branch 'master' into mv/multiple-circuits-info
vezenovm 35a1f5d
fix compile_success_empty tests
vezenovm 4baa658
Cargo fmt
vezenovm 249cb99
use vezenovm fork to pass ci for gates diff
vezenovm 9012100
new commit to gates report diff
vezenovm ac2cbef
new gate report commit
vezenovm 726fa90
one more update to gate diff report
vezenovm a59e7c2
update noir-gates-diff PR to check with old workspace report type
vezenovm 21b1710
update gates_diff commit
vezenovm bc8298d
update commit
vezenovm f24c370
update gate_diff commit
vezenovm 5ea7e59
Merge branch 'master' into mv/multiple-circuits-info
vezenovm 5172dfd
fix: Update gates report commit (#4730)
vezenovm c48a760
Merge branch 'master' into mv/multiple-circuits-info
vezenovm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
7 changes: 7 additions & 0 deletions
7
test_programs/compile_success_contract/fold_non_contract_method/Nargo.toml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| [package] | ||
| name = "fold_non_contract_method" | ||
| type = "contract" | ||
| authors = [""] | ||
| compiler_version = ">=0.26.0" | ||
|
|
||
| [dependencies] |
18 changes: 18 additions & 0 deletions
18
test_programs/compile_success_contract/fold_non_contract_method/src/main.nr
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| contract Foo { | ||
| use crate::times_10; | ||
|
|
||
| fn double(x: Field) -> pub Field { | ||
| x * 2 | ||
| } | ||
| fn triple(x: Field) -> pub Field { | ||
| x * 3 | ||
| } | ||
| fn times_40(x: Field) -> pub Field { | ||
| times_10(x) * 4 | ||
| } | ||
| } | ||
|
|
||
| #[fold] | ||
| fn times_10(x: Field) -> Field { | ||
| x * 10 | ||
| } |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.