Skip to content

Commit

Permalink
fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfridrich committed Nov 14, 2023
1 parent 3ddb972 commit aa4b6a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion pallets/circuit-breaker/src/tests/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use sp_runtime::{
use std::cell::RefCell;
use std::collections::HashMap;
use std::marker::PhantomData;
//use frame_system::GenesisConfig;
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
type Block = frame_system::mocking::MockBlock<Test>;

Expand Down
8 changes: 4 additions & 4 deletions pallets/lbp/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of Basilisk-node.
// This file is part of HydraDX-node.

// Copyright (C) 2020-2022 Intergalactic, Limited (GIB).
// SPDX-License-Identifier: Apache-2.0
Expand Down Expand Up @@ -27,10 +27,10 @@ use sp_std::vec::Vec;
use serde::{Deserialize, Serialize};

/// Asset Pair representation for AMM trades
/// ( asset_a, asset_b ) combination where asset_a is meant to be exchanged for asset_b
/// `( asset_a, asset_b )` combination where `asset_a` is meant to be exchanged for `asset_b`
///
/// asset_in represents asset coming into the pool
/// asset_out represents asset coming out of the pool
/// `asset_in` represents asset coming into the pool
/// `asset_out` represents asset coming out of the pool
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[derive(Debug, Encode, Decode, Copy, Clone, PartialEq, Eq, Default, TypeInfo)]
pub struct AssetPair {
Expand Down

0 comments on commit aa4b6a9

Please sign in to comment.