Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Jan 16, 2025
1 parent 8933e3b commit 617a0eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ use crate::traits::types::method::HasSelectorType;
context: Chain,
}]
#[async_trait]
pub trait CanCallContract: HasAddressType + HasSelectorType + HasBlobType + HasAsyncErrorType {
pub trait CanCallContract:
HasAddressType + HasSelectorType + HasBlobType + HasAsyncErrorType
{
async fn call_contract(
&self,
contract_address: &Self::Address,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use core::marker::PhantomData;

use cgp::core::field::Index;
use hermes_error::HermesError;
use hermes_relayer_components::build::traits::builders::relay_builder::RelayBuilder;
use cgp::core::field::Index;
use hermes_starknet_chain_components::types::client_id::ClientId as StarknetClientId;
use ibc::core::host::types::identifiers::{ChainId, ClientId as CosmosClientId};

Expand Down
3 changes: 1 addition & 2 deletions relayer/crates/starknet-relayer/src/contexts/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use core::ops::Deref;

use cgp::core::component::UseDelegate;
use cgp::core::error::{ErrorRaiserComponent, ErrorTypeComponent};
use cgp::core::field::WithField;
use cgp::core::field::{Index, WithField};
use cgp::core::types::WithType;
use cgp::prelude::*;
use hermes_cosmos_relayer::contexts::build::CosmosBuilder;
Expand All @@ -17,7 +17,6 @@ use hermes_relayer_components::build::traits::builders::chain_builder::{
};
use hermes_relayer_components::multi::traits::chain_at::ChainTypeAtComponent;
use hermes_relayer_components::multi::traits::relay_at::RelayTypeAtComponent;
use cgp::core::field::Index;
use hermes_runtime::types::runtime::HermesRuntime;
use hermes_runtime_components::traits::runtime::{RuntimeGetterComponent, RuntimeTypeComponent};
use hermes_starknet_chain_components::impls::types::config::StarknetChainConfig;
Expand Down
3 changes: 1 addition & 2 deletions relayer/crates/starknet-relayer/src/presets/relay.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use cgp::core::component::UseDelegate;
pub use cgp::core::error::{ErrorRaiserComponent, ErrorTypeComponent};
use cgp::core::field::{UseField, WithField};
use cgp::core::field::{Index, UseField, WithField};
use cgp::core::types::WithType;
use cgp::prelude::*;
use hermes_cosmos_relayer::contexts::chain::CosmosChain;
Expand All @@ -14,7 +14,6 @@ pub use hermes_relayer_components::multi::traits::chain_at::{
ChainGetterAtComponent, ChainTypeAtComponent,
};
pub use hermes_relayer_components::multi::traits::client_id_at::ClientIdAtGetterComponent;
use cgp::core::field::Index;
use hermes_relayer_components::relay::impls::packet_lock::PacketMutexGetterComponent;
use hermes_runtime::types::runtime::HermesRuntime;
pub use hermes_runtime_components::traits::runtime::{
Expand Down

0 comments on commit 617a0eb

Please sign in to comment.