Skip to content

Commit

Permalink
test nits
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-ps-2003 committed Nov 13, 2024
1 parent 926ab91 commit 9f67672
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/accounts/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ use miden_tx::{
};
use rand::rngs::StdRng;
use rand_chacha::{rand_core::SeedableRng, ChaCha20Rng};
use std::{collections::BTreeMap, path::Path, sync::Arc};
use std::collections::BTreeSet;
use std::sync::Arc;

#[tokio::test]
async fn oracle_account_creation_and_pushing_data_to_read() {
Expand Down Expand Up @@ -271,6 +272,8 @@ fn get_oracle_account(
],
)?;

let component = component.with_supported_types(BTreeSet::from([AccountType::RegularAccountImmutableCode]));

let oracle_account_code =
AccountCode::from_components(&[component], AccountType::RegularAccountImmutableCode)?;

Expand Down

0 comments on commit 9f67672

Please sign in to comment.