Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Aug 19, 2024
1 parent 8176296 commit f44d42a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions integration-tests/src/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
use crate::kusama_test_net::*;

use basilisk_runtime::{EmaOracle, RuntimeOrigin, XYKOracleSourceIdentifier, XYK};
use frame_support::{
assert_ok,
};
use frame_support::assert_ok;
use hydradx_traits::{AggregatedPriceOracle, OraclePeriod::*};
use pallet_ema_oracle::OracleError;
use xcm_emulator::TestExt;
Expand Down
8 changes: 3 additions & 5 deletions runtime/basilisk/src/benchmarking/route_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,16 @@ use crate::{AccountId, AssetId, Balance, Currencies, EmaOracle, Router, Runtime,
use super::*;
use frame_benchmarking::{account, BenchmarkError};
use frame_support::{
assert_ok, ensure, parameter_types,
assert_ok,
dispatch::DispatchResult,
ensure, parameter_types,
traits::{OnFinalize, OnInitialize},
};
use frame_system::RawOrigin;
use hydradx_traits::router::{inverse_route, AssetPair, PoolType, RouterT, Trade};
use orml_benchmarking::runtime_benchmarks;
use orml_traits::{MultiCurrency, MultiCurrencyExtended};
use primitives::{
BlockNumber,
constants::currency::UNITS,
};
use primitives::{constants::currency::UNITS, BlockNumber};
use sp_runtime::{FixedPointNumber, FixedU128};
use sp_std::vec;
pub const INITIAL_BALANCE: Balance = 10_000_000 * UNITS;
Expand Down

0 comments on commit f44d42a

Please sign in to comment.