From 277df41ea25169c5c9a8e9c88e5a6d3fba1da1ee Mon Sep 17 00:00:00 2001 From: Bobbin Threadbare Date: Tue, 12 Dec 2023 07:56:48 -0800 Subject: [PATCH] chore: re-export AdviceInputs from miden-base --- objects/src/advice.rs | 5 +++-- objects/src/lib.rs | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/objects/src/advice.rs b/objects/src/advice.rs index 55fbbf055..d0df4ab2b 100644 --- a/objects/src/advice.rs +++ b/objects/src/advice.rs @@ -1,8 +1,9 @@ -use super::{utils::collections::Vec, AdviceInputs, Felt, Word}; -use crate::crypto::merkle::InnerNodeInfo; +use crate::{crypto::merkle::InnerNodeInfo, utils::collections::Vec, Felt, Word}; use assembly::utils::IntoBytes; use miden_crypto::{merkle::MmrPeaks, ZERO}; +pub use vm_processor::AdviceInputs; + /// [AdviceInputsBuilder] trait specifies the interface for building advice inputs. /// The trait provides three methods for building advice inputs: /// - `push_onto_stack` pushes the given values onto the advice stack. diff --git a/objects/src/lib.rs b/objects/src/lib.rs index 16190780e..dbb38e1d9 100644 --- a/objects/src/lib.rs +++ b/objects/src/lib.rs @@ -4,13 +4,11 @@ #[macro_use] extern crate alloc; -use vm_processor::AdviceInputs; - pub mod accounts; mod advice; use advice::AdviceInputsBuilder; -pub use advice::ToAdviceInputs; +pub use advice::{AdviceInputs, ToAdviceInputs}; pub mod assets; pub mod notes;