Skip to content

Commit

Permalink
chore: formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jun 20, 2024
1 parent 708c1bf commit d2b4529
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ mod dapp_payload;

contract AppSubscription {
use crate::{dapp_payload::DAppPayload, subscription_note::{SubscriptionNote, SUBSCRIPTION_NOTE_LEN}};
use dep::{
aztec::{
use aztec::{
prelude::{
AztecAddress, FunctionSelector, PrivateContext, NoteHeader, Map, PrivateMutable, PublicMutable,
SharedImmutable
},
encrypted_logs::encrypted_note_emission::encode_and_encrypt,
protocol_types::{traits::is_empty, grumpkin_point::GrumpkinPoint}
},
authwit::{auth_witness::get_auth_witness, auth::assert_current_call_valid_authwit},
gas_token::GasToken, token::Token
};
use authwit::{auth_witness::get_auth_witness, auth::assert_current_call_valid_authwit};
use gas_token::GasToken;
use token::Token;

#[aztec(storage)]
struct Storage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ use crate::{
abis::{previous_rollup_data::PreviousRollupData, constant_rollup_data::ConstantRollupData},
components, root::{root_rollup_public_inputs::RootRollupPublicInputs}
};
use dep::{
std, parity_lib::{root::root_rollup_parity_input::RootRollupParityInput, ParityPublicInputs},
types::{
use parity_lib::{root::root_rollup_parity_input::RootRollupParityInput, ParityPublicInputs};
use types::{
abis::{append_only_tree_snapshot::AppendOnlyTreeSnapshot, nullifier_leaf_preimage::NullifierLeafPreimage},
constants::{
NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, L1_TO_L2_MSG_SUBTREE_HEIGHT,
Expand All @@ -13,7 +12,6 @@ use dep::{
header::Header, content_commitment::ContentCommitment,
merkle_tree::{append_only_tree, calculate_subtree_root, calculate_empty_tree_root},
state_reference::StateReference, traits::Empty
}
};

struct RootRollupInputs {
Expand Down

0 comments on commit d2b4529

Please sign in to comment.