From af94d435197d72d062106e0d41af60b1408f0dbd Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Tue, 16 Apr 2024 16:17:12 -0400 Subject: [PATCH] dex(base_liq): add `async_trait` to `BaseLiquidityIndex` --- .../dex/src/component/position_manager/base_liquidity_index.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/core/component/dex/src/component/position_manager/base_liquidity_index.rs b/crates/core/component/dex/src/component/position_manager/base_liquidity_index.rs index ac55ec97fd..d286a50753 100644 --- a/crates/core/component/dex/src/component/position_manager/base_liquidity_index.rs +++ b/crates/core/component/dex/src/component/position_manager/base_liquidity_index.rs @@ -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. ///