Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Jan 17, 2025
1 parent 99e618f commit df0784b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/axelar-gateway/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use core::fmt::Debug;

use soroban_sdk::{Address, Bytes, BytesN, String};
#[cfg(any(test, feature = "testutils"))]
use stellar_axelar_std::events::Event;
use stellar_axelar_std::IntoEvent;

use crate::types::Message;
Expand Down
2 changes: 2 additions & 0 deletions packages/axelar-std-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ fn event_testutils(
impl stellar_axelar_std::events::EventTestutils for #name {
fn matches(self, env: &soroban_sdk::Env, event: &(soroban_sdk::Address, soroban_sdk::Vec<soroban_sdk::Val>, soroban_sdk::Val)) -> bool {
use soroban_sdk::IntoVal;
use stellar_axelar_std::events::Event;

Self::standardized_fmt(env, event) == Self::standardized_fmt(env, &(event.0.clone(), self.topics(env).into_val(env), self.data(env).into_val(env)))
}

Expand Down

0 comments on commit df0784b

Please sign in to comment.