Skip to content

Commit

Permalink
chore: refactor to use mod.nr support (#7259)
Browse files Browse the repository at this point in the history
This PR refactors `noir-projects` to use the fact that `mod foo` can now
resolve to a `./foo/mod.nr` file rather than just a `./foo.nr` file.
  • Loading branch information
TomAFrench authored Jul 2, 2024
1 parent d9efaf7 commit cda45db
Show file tree
Hide file tree
Showing 47 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/aztec/concepts/smart_contracts/oracles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If we fetch the notes using an oracle call, we can keep the function signature i
Oracles introduce **non-determinism** into a circuit, and thus are `unconstrained`. It is important that any information that is injected into a circuit through an oracle is later constrained for correctness. Otherwise, the circuit will be **under-constrained** and potentially insecure!

`Aztec.nr` has a module dedicated to its oracles. If you are interested, you can view them by following the link below:
#include_code oracles-module /noir-projects/aztec-nr/aztec/src/oracle.nr rust
#include_code oracles-module /noir-projects/aztec-nr/aztec/src/oracle/mod.nr rust

## Inbuilt oracles

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit cda45db

Please sign in to comment.