Skip to content

Commit

Permalink
fix import lib
Browse files Browse the repository at this point in the history
  • Loading branch information
JayT106 committed Jun 21, 2024
1 parent bc44554 commit b0ba317
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
12 changes: 0 additions & 12 deletions core/lib/eth_signer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,9 @@ thiserror.workspace = true
async-trait.workspace = true
google-cloud-kms = { git="https://github.com/yoshidan/google-cloud-rust.git", rev="eb15032", features=["eth"]}
google-cloud-auth = { git="https://github.com/yoshidan/google-cloud-rust.git", rev="eb15032"}
google-cloud-googleapis = { git="https://github.com/yoshidan/google-cloud-rust.git", rev="eb15032", features=["kms"]}
openssl = "0.10.64"
tiny-keccak = "2.0.2"
hex = "0.4.3"
asn1-rs = { version = "0.6.1", features = ["bigint"]}
secp256k1 = {version="0.29.0", features=["std", "recovery"]}
num-bigint = "0.4.5"
num-traits = "0.2.19"
tracing = "0.1"
x509-parser = "0.16"
byte-slice-cast = "1.2.2"

# ethereum
ethers-signers = { version = "2.0"}
ethers-core = { version = "2.0"}

[dev-dependencies]
tokio = { workspace = true, features = ["full"] }
4 changes: 1 addition & 3 deletions core/lib/eth_signer/src/g_kms_signer.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
use std::result::Result;

use byte_slice_cast::AsByteSlice;
use ethers_signers::Signer as EthSigner;
use google_cloud_auth::credentials::CredentialsFile;
use google_cloud_kms::{
client::{google_cloud_auth, Client, ClientConfig},
signer::ethereum::Signer,
};
use hex;
pub use num_bigint::BigUint;
use tracing::{self};
use zksync_types::{
web3::{keccak256, Signature},
Address, EIP712TypedStructure, Eip712Domain, PackedEthSignature, H256,
Address, EIP712TypedStructure, Eip712Domain, PackedEthSignature, H256, U256,
};

use crate::{
Expand Down

0 comments on commit b0ba317

Please sign in to comment.