Skip to content

Commit

Permalink
chore: re-export AdviceInputs from miden-base
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth committed Dec 12, 2023
1 parent 24bcf92 commit 277df41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions objects/src/advice.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 1 addition & 3 deletions objects/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 277df41

Please sign in to comment.