mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-23 18:53:13 +00:00
fmt
This commit is contained in:
parent
2c2c4fed76
commit
d91b07a785
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
@ -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::{
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user