diff --git a/ampd/src/handlers/starknet_verify_msg.rs b/ampd/src/handlers/starknet_verify_msg.rs index d013ade6d..afc20eae2 100644 --- a/ampd/src/handlers/starknet_verify_msg.rs +++ b/ampd/src/handlers/starknet_verify_msg.rs @@ -4,7 +4,8 @@ use std::convert::TryInto; use async_trait::async_trait; use axelar_wasm_std::voting::{PollId, Vote}; use cosmrs::cosmwasm::MsgExecuteContract; -use cosmrs::{tx::Msg, Any}; +use cosmrs::tx::Msg; +use cosmrs::Any; use error_stack::{FutureExt, ResultExt}; use events::Error::EventTypeMismatch; use events_derive::try_from; @@ -164,7 +165,7 @@ where mod tests { use base64::engine::general_purpose::STANDARD; use base64::Engine; - use ethers::types::H256; + use ethers_core::types::H256; use events::Event; use mockall::predicate::eq; use tendermint::abci; diff --git a/ampd/src/starknet/events/contract_call.rs b/ampd/src/starknet/events/contract_call.rs index 57161ec07..9299a8d68 100644 --- a/ampd/src/starknet/events/contract_call.rs +++ b/ampd/src/starknet/events/contract_call.rs @@ -1,6 +1,6 @@ use std::num::TryFromIntError; -use ethers::types::H256; +use ethers_core::types::H256; use starknet_core::types::ValueOutOfRangeError; use starknet_core::utils::{parse_cairo_short_string, ParseCairoShortStringError}; use thiserror::Error; @@ -140,7 +140,7 @@ impl TryFrom for ContractCallEvent { mod tests { use std::str::FromStr; - use ethers::types::H256; + use ethers_core::types::H256; use starknet_core::types::{FieldElement, FromStrError, ValueOutOfRangeError}; use starknet_core::utils::starknet_keccak; diff --git a/ampd/src/starknet/json_rpc.rs b/ampd/src/starknet/json_rpc.rs index 2a9989e63..73274f020 100644 --- a/ampd/src/starknet/json_rpc.rs +++ b/ampd/src/starknet/json_rpc.rs @@ -130,7 +130,7 @@ where mod test { use axum::async_trait; - use ethers::types::H256; + use ethers_core::types::H256; use serde::de::DeserializeOwned; use serde::Serialize; use starknet_core::types::FieldElement; diff --git a/ampd/src/starknet/verifier.rs b/ampd/src/starknet/verifier.rs index db82630bb..fd5431f66 100644 --- a/ampd/src/starknet/verifier.rs +++ b/ampd/src/starknet/verifier.rs @@ -33,7 +33,7 @@ impl PartialEq for ContractCallEvent { #[cfg(test)] mod tests { use axelar_wasm_std::voting::Vote; - use ethers::types::H256; + use ethers_core::types::H256; use super::verify_msg; use crate::handlers::starknet_verify_msg::Message;