Commit 5dd9244
refactor: remove aztec dependency from aztec_sublib (#22033)
Reverting [bad decision of
mine](#21533 (comment))
from a while ago.
## Summary
- Copies the version oracle into `aztec_sublib` so it no longer depends
on the `aztec` (aztecnr) crate
- Removes the `aztec` dependency from `aztec_sublib/Nargo.toml`
- Makes `aztec_sublib` fully independent, allowing it to be audited and
versioned separately from aztecnr
Resolves
https://linear.app/aztec-labs/issue/F-466/extract-oracles-mod-specifically-for-aztec-sublib
## Test plan
- [x] `nargo check --package fee_juice_contract` compiles successfully
- [x] No remaining `aztec::` imports in aztec_sublib
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 7967002 commit 5dd9244
File tree
3 files changed
+39
-3
lines changed- noir-projects/noir-contracts/contracts/protocol/aztec_sublib
- src/oracle
3 files changed
+39
-3
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments