-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into gd/issue_2015
* master: chore: rename `ssa_refactor` module to `ssa` (#2129) chore: Use `--show-output` flag on execution rather than compilation (#2116) fix(globals): Accurately filter literals for resolving globals (#2126) feat: Optimize away constant calls to black box functions (#1981) fix: Rename `Option::value` to `Option::_value` (#2127) feat: replace boolean `AND`s with multiplication (#1954) chore: create a `const` to hold the panic message (#2122) feat: Add support for bitshifts by distances known at runtime (#2072) feat: Add additional `BinaryOp` simplifications (#2124) fix: flattening pass no longer overwrites previously mapped condition values (#2117) chore(noirc_driver): Unify crate preparation (#2119) feat!: Support workspaces and package selection on every nargo command (#1992) chore: Make a more clear error for slices passed to std::println (#2113) feat: Implement type aliases (#2112) feat: Add `Option<T>` to noir stdlib (#1781) feat: Format strings for prints (#1952) feat(acir_gen): RecursiveAggregation opcode and updates to black box func call generation (#2097) fix: Mutating a variable no longer mutates its copy (#2057) fix: Implement `.len()` in Acir-Gen (#2077)
- Loading branch information
Showing
148 changed files
with
2,902 additions
and
1,445 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
18 changes: 9 additions & 9 deletions
18
crates/nargo_cli/src/constants.rs → crates/nargo/src/constants.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
// Directories | ||
/// The directory for the `nargo contract` command output | ||
pub(crate) const CONTRACT_DIR: &str = "contract"; | ||
pub const CONTRACT_DIR: &str = "contract"; | ||
/// The directory to store serialized circuit proofs. | ||
pub(crate) const PROOFS_DIR: &str = "proofs"; | ||
pub const PROOFS_DIR: &str = "proofs"; | ||
/// The directory to store Noir source files | ||
pub(crate) const SRC_DIR: &str = "src"; | ||
pub const SRC_DIR: &str = "src"; | ||
/// The directory to store circuits' serialized ACIR representations. | ||
pub(crate) const TARGET_DIR: &str = "target"; | ||
pub const TARGET_DIR: &str = "target"; | ||
|
||
// Files | ||
/// The file from which Nargo pulls prover inputs | ||
pub(crate) const PROVER_INPUT_FILE: &str = "Prover"; | ||
pub const PROVER_INPUT_FILE: &str = "Prover"; | ||
/// The file from which Nargo pulls verifier inputs | ||
pub(crate) const VERIFIER_INPUT_FILE: &str = "Verifier"; | ||
pub const VERIFIER_INPUT_FILE: &str = "Verifier"; | ||
/// The package definition file for a Noir project. | ||
pub(crate) const PKG_FILE: &str = "Nargo.toml"; | ||
pub const PKG_FILE: &str = "Nargo.toml"; | ||
|
||
// Extensions | ||
/// The extension for files containing circuit proofs. | ||
pub(crate) const PROOF_EXT: &str = "proof"; | ||
pub const PROOF_EXT: &str = "proof"; | ||
/// The extension for files containing proof witnesses. | ||
pub(crate) const WITNESS_EXT: &str = "tr"; | ||
pub const WITNESS_EXT: &str = "tr"; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.