Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo authored Apr 9, 2024
1 parent d9bea3b commit 995c0bf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions miden-tx/tests/integration/scripts/faucet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ fn prove_faucet_contract_mint_fungible_asset_succeeds() {
let fungible_asset: Asset =
FungibleAsset::new(faucet_account.id(), amount.into()).unwrap().into();

let expected_note = OutputNote::new(
recipient.into(),
NoteAssets::new(&[fungible_asset]).unwrap(),
NoteMetadata::new(faucet_account.id(), NoteType::Public, tag, ZERO).unwrap(),
);

let created_note = executed_transaction.output_notes().get_note(0).clone();

let assets = NoteAssets::new(vec![fungible_asset]).unwrap();
Expand All @@ -101,7 +95,7 @@ fn prove_faucet_contract_mint_fungible_asset_succeeds() {
assert_eq!(created_note.id(), id);
assert_eq!(
created_note.metadata(),
NoteMetadata::new(faucet_account.id(), NoteType::OffChain, tag, ZERO).unwrap()
NoteMetadata::new(faucet_account.id(), NoteType::Public, tag, ZERO).unwrap()
);
}

Expand Down

0 comments on commit 995c0bf

Please sign in to comment.