Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ serde_json = { version = "1.0.140", features = ["raw_value"] }
strum = { version = "0.27.1", features = ["derive"] }
rstest = "0.25.0"
tap_graph = { version = "0.2.1", path = "../tap_graph", features = ["v2"] }
thegraph-core = "0.12.0"
thegraph-core = "0.14.0"
thiserror = "2.0.12"
tokio = { version = "1.44.2", features = ["macros", "signal"] }
tonic = { version = "0.13.0", features = ["transport", "zstd"] }
Expand Down
4 changes: 2 additions & 2 deletions tap_core/tests/rav_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use tap_core::{
};
use tap_graph::{Receipt, ReceiptAggregateVoucher};
#[allow(deprecated)]
use thegraph_core::alloy::primitives::{Address, PrimitiveSignature, Signature};
use thegraph_core::alloy::primitives::{Address, Signature};
use thegraph_core::alloy::{
dyn_abi::Eip712Domain,
signers::local::{coins_bip39::English, MnemonicBuilder, PrivateKeySigner},
Expand Down Expand Up @@ -85,7 +85,7 @@ fn check_for_rav_serialization(domain_separator: Eip712Domain) {
"yParity": "0x1"
}"#;

serde_json::from_str::<PrimitiveSignature>(raw_sig).unwrap();
serde_json::from_str::<Signature>(raw_sig).unwrap();
#[allow(deprecated)]
serde_json::from_str::<Signature>(raw_sig).unwrap();
}
Expand Down
3 changes: 2 additions & 1 deletion tap_core/tests/receipt_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use std::{
sync::{Arc, RwLock},
};

use rand::{rng, seq::SliceRandom};
use rstest::*;
use tap_core::{
manager::{adapters::ReceiptStore, context::memory::InMemoryContext},
Expand Down Expand Up @@ -159,6 +158,8 @@ fn safe_truncate_receipts_test(
#[case] limit: u64,
#[case] expected: Vec<u64>,
) {
use rand::{rng, seq::SliceRandom};

let wallet = PrivateKeySigner::random();

// Vec of (id, receipt)
Expand Down
2 changes: 1 addition & 1 deletion tap_eip712_message/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use serde::{Deserialize, Serialize};
use thegraph_core::alloy::{
dyn_abi::Eip712Domain,
primitives::{Address, PrimitiveSignature as Signature},
primitives::{Address, Signature},
signers::{local::PrivateKeySigner, SignerSync},
sol_types::SolStruct,
};
Expand Down