Skip to content

Commit

Permalink
fix: no-std compilation for miden-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth committed Feb 28, 2024
1 parent b04eb1c commit 4f7c7a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions mock/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use miden_lib::transaction::{memory, ToTransactionKernelInputs, TransactionKerne
use miden_objects::{
notes::NoteAssets,
transaction::{OutputNotes, PreparedTransaction, TransactionArgs, TransactionInputs},
utils::string::*,
Felt,
};
use mock::host::MockHost;
Expand Down
2 changes: 2 additions & 0 deletions mock/src/procedures.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use miden_objects::utils::string::*;

use super::{
memory::{
CREATED_NOTE_ASSETS_OFFSET, CREATED_NOTE_METADATA_OFFSET, CREATED_NOTE_NUM_ASSETS_OFFSET,
Expand Down
2 changes: 1 addition & 1 deletion mock/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub use miden_objects::utils::*;
use miden_objects::{notes::NoteAssets, Word};
use miden_objects::{notes::NoteAssets, utils::string::*, Word};

// TODO: These functions are duplicates from miden-lib/test/common/procedures.rs
pub fn prepare_word(word: &Word) -> String {
Expand Down

0 comments on commit 4f7c7a0

Please sign in to comment.