Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJepsen committed Apr 25, 2024
1 parent fd789f4 commit 9ba4679
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions kit/src/behaviors/swap/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
use self::{
bindings::erc20::ERC20,
pool::InputToken,
};
use self::{bindings::erc20::ERC20, pool::InputToken};
use super::*;
use crate::behaviors::token::Response;

Expand Down
6 changes: 1 addition & 5 deletions kit/tests/common.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
use std::{collections::VecDeque, marker::PhantomData};

use arbiter_engine::{
agent::Agent,
messager::Message,
world::World,
};
use arbiter_engine::{agent::Agent, messager::Message, world::World};
use dfmm_kit::{
behaviors::{
creator::{self, Create},
Expand Down
4 changes: 1 addition & 3 deletions kit/tests/swap_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use std::{str::FromStr, time::Duration};

use arbiter_core::{events::stream_event, middleware::ArbiterMiddleware};
use arbiter_engine::messager::To;
use dfmm_kit::{behaviors::MessageTypes, bindings::dfmm::DFMM};
use ethers::{abi::Address, types::H160};
use dfmm_kit::bindings::dfmm::DFMM;
use futures_util::StreamExt;
use tracing::{info, warn};
include!("common.rs");
Expand All @@ -26,7 +25,6 @@ async fn run_swapper_constant_sum() {
// receivers. TODO: This is a bit of a hack and we could honestly make
// the `World::run` better to handle this, but this works for now.
tokio::time::sleep(Duration::from_millis(2000)).await;
let mut stream = messager.stream().unwrap();

// TODO: Send a specific message and see if we get the swap.
messager
Expand Down

0 comments on commit 9ba4679

Please sign in to comment.