Skip to content

Commit b33e652

Browse files
committed
chore: format code
Signed-off-by: Tomás Migone <[email protected]>
1 parent 2e53b80 commit b33e652

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

tap_aggregator/src/aggregator/v2.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ use rayon::prelude::*;
88
use tap_core::{receipt::WithUniqueId, signed_message::Eip712SignedMessage};
99
use tap_graph::v2::{Receipt, ReceiptAggregateVoucher};
1010
use thegraph_core::alloy::{
11-
dyn_abi::Eip712Domain, primitives::{Address, FixedBytes}, signers::local::PrivateKeySigner,
11+
dyn_abi::Eip712Domain,
12+
primitives::{Address, FixedBytes},
13+
signers::local::PrivateKeySigner,
1214
sol_types::SolStruct,
1315
};
1416

@@ -400,7 +402,14 @@ mod tests {
400402
.unwrap(),
401403
Eip712SignedMessage::new(
402404
&domain_separator,
403-
Receipt::new(other_collection_id, payer, data_service, service_provider, 44).unwrap(),
405+
Receipt::new(
406+
other_collection_id,
407+
payer,
408+
data_service,
409+
service_provider,
410+
44,
411+
)
412+
.unwrap(),
404413
&keys.0,
405414
)
406415
.unwrap(),

tap_graph/src/v2/receipt.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ use rand::{rng, Rng};
99
use serde::{Deserialize, Serialize};
1010
use tap_eip712_message::Eip712SignedMessage;
1111
use tap_receipt::WithValueAndTimestamp;
12-
use thegraph_core::alloy::{primitives::{Address, FixedBytes}, sol};
12+
use thegraph_core::alloy::{
13+
primitives::{Address, FixedBytes},
14+
sol,
15+
};
1316

1417
/// A signed receipt message
1518
pub type SignedReceipt = Eip712SignedMessage<Receipt>;

0 commit comments

Comments
 (0)