From 8e5cad6dafb84ebb28a46dfc15be7d4edc4c162c Mon Sep 17 00:00:00 2001 From: Francesco Date: Fri, 23 May 2025 12:23:17 +0200 Subject: [PATCH] Stable alloy --- Cargo.toml | 4 ++-- src/eth-signer/src/transaction.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6b357477..90a0b4c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ homepage = "https://github.com/bitfinity-network/bitfinity-evm-sdk" include = ["src/**/*", "LICENSE", "README.md"] license = "MIT" repository = "https://github.com/bitfinity-network/bitfinity-evm-sdk" -version = "0.51.0" +version = "0.52.0" [workspace.dependencies] did = { path = "src/did" } @@ -34,7 +34,7 @@ evm-canister-client = { path = "src/evm-canister-client" } evm-log-extractor = { path = "src/evm-log-extractor" } signature-verification-canister-client = { path = "src/signature-verification-canister-client" } -alloy = { version = "0.15", default-features = false, features = [ +alloy = { version = "1", default-features = false, features = [ "consensus", "k256", "eips", diff --git a/src/eth-signer/src/transaction.rs b/src/eth-signer/src/transaction.rs index 5d6e5bd1..a6eb649f 100644 --- a/src/eth-signer/src/transaction.rs +++ b/src/eth-signer/src/transaction.rs @@ -89,6 +89,7 @@ impl TransactionBuilder<'_, '_> { mod test { use alloy::consensus::TxEnvelope; + use alloy::consensus::transaction::SignerRecoverable; use alloy::signers::k256::ecdsa::signature::hazmat::PrehashVerifier; use alloy::signers::utils::secret_key_to_address;