Skip to content

Commit

Permalink
dex(base_liq): add async_trait to BaseLiquidityIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor committed Apr 16, 2024
1 parent 63ae8ab commit b4f3529
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ use position::State::*;
use crate::lp::position::{self, Position};
use crate::state_key::engine;
use crate::DirectedTradingPair;
use async_trait::async_trait;
use penumbra_proto::{StateReadProto, StateWriteProto};

#[async_trait]
pub(crate) trait AssetByLiquidityIndex: StateWrite {
/// Update the base liquidity index, used by the DEX engine during path search.
///
Expand Down

0 comments on commit b4f3529

Please sign in to comment.