Skip to content

Commit c91fc2c

Browse files
committed
build: update thegraph-core (alloy) to 0.14.0
Signed-off-by: Joseph Livesey <[email protected]>
1 parent 867fd5a commit c91fc2c

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ serde_json = { version = "1.0.140", features = ["raw_value"] }
4646
strum = { version = "0.27.1", features = ["derive"] }
4747
rstest = "0.25.0"
4848
tap_graph = { version = "0.2.1", path = "../tap_graph", features = ["v2"] }
49-
thegraph-core = "0.12.0"
49+
thegraph-core = "0.14.0"
5050
thiserror = "2.0.12"
5151
tokio = { version = "1.44.2", features = ["macros", "signal"] }
5252
tonic = { version = "0.13.0", features = ["transport", "zstd"] }

tap_core/tests/rav_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use tap_core::{
1919
};
2020
use tap_graph::{Receipt, ReceiptAggregateVoucher};
2121
#[allow(deprecated)]
22-
use thegraph_core::alloy::primitives::{Address, PrimitiveSignature, Signature};
22+
use thegraph_core::alloy::primitives::{Address, Signature};
2323
use thegraph_core::alloy::{
2424
dyn_abi::Eip712Domain,
2525
signers::local::{coins_bip39::English, MnemonicBuilder, PrivateKeySigner},
@@ -85,7 +85,7 @@ fn check_for_rav_serialization(domain_separator: Eip712Domain) {
8585
"yParity": "0x1"
8686
}"#;
8787

88-
serde_json::from_str::<PrimitiveSignature>(raw_sig).unwrap();
88+
serde_json::from_str::<Signature>(raw_sig).unwrap();
8989
#[allow(deprecated)]
9090
serde_json::from_str::<Signature>(raw_sig).unwrap();
9191
}

tap_core/tests/receipt_test.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use std::{
77
sync::{Arc, RwLock},
88
};
99

10-
use rand::{rng, seq::SliceRandom};
1110
use rstest::*;
1211
use tap_core::{
1312
manager::{adapters::ReceiptStore, context::memory::InMemoryContext},
@@ -159,6 +158,8 @@ fn safe_truncate_receipts_test(
159158
#[case] limit: u64,
160159
#[case] expected: Vec<u64>,
161160
) {
161+
use rand::{rng, seq::SliceRandom};
162+
162163
let wallet = PrivateKeySigner::random();
163164

164165
// Vec of (id, receipt)

tap_eip712_message/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
use serde::{Deserialize, Serialize};
2626
use thegraph_core::alloy::{
2727
dyn_abi::Eip712Domain,
28-
primitives::{Address, PrimitiveSignature as Signature},
28+
primitives::{Address, Signature},
2929
signers::{local::PrivateKeySigner, SignerSync},
3030
sol_types::SolStruct,
3131
};

0 commit comments

Comments
 (0)