Skip to content

Commit 3b05ec4

Browse files
committed
re-exporting version
1 parent 886c746 commit 3b05ec4

File tree

3 files changed

+4
-24
lines changed

3 files changed

+4
-24
lines changed

noir-projects/noir-contracts/contracts/protocol/aztec_sublib/Nargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ name = "aztec_sublib"
33
type = "lib"
44

55
[dependencies]
6+
aztec = { path = "../../../../aztec-nr/aztec" }
67
protocol_types = { path = "../../../../noir-protocol-circuits/crates/types" }

noir-projects/noir-contracts/contracts/protocol/aztec_sublib/src/oracle/mod.nr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Oracle modules for protocol contracts.
22

33
pub mod avm;
4-
pub mod version;
54
pub mod execution_cache;
65
pub mod capsules;
76
pub mod storage;
@@ -15,3 +14,6 @@ pub mod logs;
1514
// debug_log oracle is used by both noir-protocol-circuits and this crate and for this reason we just re-export it
1615
// here from protocol_types.
1716
pub use protocol_types::debug_log;
17+
18+
// version oracle is defined in aztec-nr and re-exported here as re-defining versions is not practical.
19+
pub use aztec::oracle::version;

noir-projects/noir-contracts/contracts/protocol/aztec_sublib/src/oracle/version.nr

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)