Skip to content

Commit 58664e7

Browse files
committed
fix: import own items via workspace not crate
Signed-off-by: Joseph Livesey <[email protected]>
1 parent a3384a2 commit 58664e7

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

tap_aggregator/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ serde.workspace = true
2828
serde_json.workspace = true
2929
strum.workspace = true
3030
tap_core.workspace = true
31+
tap_eip712_message.workspace = true
3132
tap_graph.workspace = true
3233
thegraph-core = { workspace = true, features = ["alloy-eip712"] }
3334
tokio.workspace = true

tap_aggregator/src/aggregator/v1.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ use std::collections::HashSet;
66
use anyhow::{bail, Ok, Result};
77
use rayon::prelude::*;
88
use tap_core::{receipt::WithUniqueId, signed_message::Eip712SignedMessage};
9+
use tap_eip712_message::{Eip712Domain, PrivateKeySigner};
910
use tap_graph::{Receipt, ReceiptAggregateVoucher};
10-
use thegraph_core::alloy::{
11-
dyn_abi::Eip712Domain, primitives::Address, signers::local::PrivateKeySigner,
12-
sol_types::SolStruct,
13-
};
11+
use thegraph_core::alloy::{primitives::Address, sol_types::SolStruct};
1412

1513
pub fn check_and_aggregate_receipts(
1614
domain_separator: &Eip712Domain,

tap_eip712_message/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
//!
99
//! # Example
1010
//! ```rust
11-
//! # use thegraph_core::alloy::{dyn_abi::Eip712Domain, primitives::Address, signers::local::PrivateKeySigner};
11+
//! # use tap_eip712_message::{Eip712SignedMessage, PrivateKeySigner, Eip712Domain};
12+
//! # use thegraph_core::alloy::primitives::Address;
1213
//! # let domain_separator = Eip712Domain::default();
13-
//! use tap_eip712_message::Eip712SignedMessage;
1414
//! # let wallet = PrivateKeySigner::random();
1515
//! # let wallet_address = wallet.address();
1616
//! # let message = msg::Receipt::new(Address::from([0x11u8; 20]), 100).unwrap();
@@ -23,7 +23,7 @@
2323
//!
2424
2525
use serde::{Deserialize, Serialize};
26-
use thegraph_core::alloy::{
26+
pub use thegraph_core::alloy::{
2727
dyn_abi::Eip712Domain,
2828
primitives::{Address, Signature},
2929
signers::{local::PrivateKeySigner, SignerSync},

tap_integration_tests/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ anyhow.workspace = true
1717
jsonrpsee = { workspace = true, features = ["jsonrpsee-http-client"] }
1818
jsonrpsee-core.workspace = true
1919
rand.workspace = true
20-
thegraph-core.workspace = true
20+
thegraph-core = { workspace = true, features = ["alloy-signer-mnemonic"] }
2121
tokio.workspace = true
2222

2323
[dev-dependencies]
2424
rstest.workspace = true
25-
thegraph-core = { workspace = true, features = ["alloy-signer-mnemonic"] }
2625

2726
[[test]]
2827
name = "integration_tests"

0 commit comments

Comments
 (0)