Skip to content

Commit 410b804

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

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ fn safe_truncate_receipts_test(
159159
#[case] limit: u64,
160160
#[case] expected: Vec<u64>,
161161
) {
162+
use rand::{seq::SliceRandom, thread_rng};
163+
162164
let wallet = PrivateKeySigner::random();
163165

164166
// 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)