Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fmkra committed Sep 10, 2024
1 parent 15d5569 commit 717f6d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/fact_registry.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ mod FactRegistry {
starknet::event::EventEmitter
};
use super::{
VerifierSettings, Verification, IFactRegistry, FactRegistered, settings_from_struct, settings_to_struct
VerifierSettings, Verification, IFactRegistry, FactRegistered, settings_from_struct,
settings_to_struct
};

#[storage]
Expand Down Expand Up @@ -221,9 +222,7 @@ mod FactRegistry {
.read(verification_hash)
.unwrap();
let settings = settings_to_struct(settings_tuple);
arr.append(Verification {
verification_hash, security_bits, settings
});
arr.append(Verification { verification_hash, security_bits, settings });
i += 1;
};
arr
Expand Down
5 changes: 4 additions & 1 deletion src/proxy.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ mod Proxy {
poseidon::{Poseidon, PoseidonImpl, HashStateImpl}, keccak::keccak_u256s_be_inputs,
starknet::event::EventEmitter
};
use super::{VerifierSettings, Verification, IProxy, FactRegistered, settings_from_struct, settings_to_struct};
use super::{
VerifierSettings, Verification, IProxy, FactRegistered, settings_from_struct,
settings_to_struct
};

#[event]
#[derive(Drop, starknet::Event)]
Expand Down

0 comments on commit 717f6d0

Please sign in to comment.