From 717f6d01ff09455e861f5eb3affecae5b52d3d3c Mon Sep 17 00:00:00 2001 From: Filip Krawczyk Date: Tue, 10 Sep 2024 22:44:27 +0200 Subject: [PATCH] Fmt --- src/fact_registry.cairo | 7 +++---- src/proxy.cairo | 5 ++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/fact_registry.cairo b/src/fact_registry.cairo index a33e783e..d56051ae 100644 --- a/src/fact_registry.cairo +++ b/src/fact_registry.cairo @@ -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] @@ -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 diff --git a/src/proxy.cairo b/src/proxy.cairo index b88a85e3..da72b1e6 100644 --- a/src/proxy.cairo +++ b/src/proxy.cairo @@ -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)]