This commit is contained in:
Sergio Chouhy 2025-09-12 09:39:08 -03:00
parent 2c2c4fed76
commit d91b07a785
4 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ mod tests {
use super::*; use super::*;
use crate::{ use crate::{
Commitment, Nullifier, NullifierPublicKey, Commitment, Nullifier, NullifierPublicKey,
account::{Account, AccountWithMetadata, AccountId}, account::{Account, AccountId, AccountWithMetadata},
}; };
use risc0_zkvm::serde::from_slice; use risc0_zkvm::serde::from_slice;

View File

@ -126,7 +126,7 @@ mod tests {
fn test_account_id_from_address() { fn test_account_id_from_address() {
let address: Address = "37".repeat(32).parse().unwrap(); let address: Address = "37".repeat(32).parse().unwrap();
let expected_account_id = AccountId::new([55; 32]); let expected_account_id = AccountId::new([55; 32]);
let account_id = AccountId::from(&address); let account_id = AccountId::from(&address);
assert_eq!(account_id, expected_account_id); assert_eq!(account_id, expected_account_id);

View File

@ -90,7 +90,7 @@ fn execute_and_prove_program(
mod tests { mod tests {
use nssa_core::{ use nssa_core::{
Commitment, EncryptionScheme, Nullifier, Commitment, EncryptionScheme, Nullifier,
account::{Account, AccountWithMetadata, AccountId}, account::{Account, AccountId, AccountWithMetadata},
}; };
use crate::{ use crate::{

View File

@ -77,7 +77,7 @@ impl Program {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use nssa_core::account::{Account, AccountWithMetadata, AccountId}; use nssa_core::account::{Account, AccountId, AccountWithMetadata};
use crate::program::Program; use crate::program::Program;