From 8a157d54ee1b4542df4cde225d3ef79c48533175 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Mon, 11 Nov 2024 13:16:05 +0100 Subject: [PATCH] fix(thegraph-core): remove explicit dependency on alloy-sol-types (#374) Signed-off-by: Lorenzo Delgado --- Cargo.lock | 1 - thegraph-core/Cargo.toml | 1 - thegraph-core/src/attestation.rs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 99cebe0..fd3b562 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4127,7 +4127,6 @@ name = "thegraph-core" version = "0.8.1" dependencies = [ "alloy", - "alloy-sol-types", "assert_matches", "async-graphql", "bs58", diff --git a/thegraph-core/Cargo.toml b/thegraph-core/Cargo.toml index 152c72f..fb9bb98 100644 --- a/thegraph-core/Cargo.toml +++ b/thegraph-core/Cargo.toml @@ -26,7 +26,6 @@ subgraph-client = [ [dependencies] alloy = { version = "0.6", features = ["eip712", "signers", "sol-types"] } -alloy-sol-types = "0.8" async-graphql = { version = "7.0", optional = true } bs58 = "0.5" indoc = { version = "2.0.5", optional = true } diff --git a/thegraph-core/src/attestation.rs b/thegraph-core/src/attestation.rs index 494edbd..600e26a 100644 --- a/thegraph-core/src/attestation.rs +++ b/thegraph-core/src/attestation.rs @@ -42,7 +42,7 @@ pub struct Attestation { pub v: u8, } -alloy::sol_types::sol! { +alloy::sol! { /// EIP-712 receipt struct for attestation signing. struct Receipt { bytes32 requestCID;