From ff696285c94bfb3aa72fe88209449e86bd2b1972 Mon Sep 17 00:00:00 2001 From: "magiodev.eth" <31893902+magiodev@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:07:56 +0200 Subject: [PATCH] CL: vault_config.twap_window_seconds on setup.rs (#819) ## 1. Overview ## 2. Implementation details ## 3. How to test/use ## 4. Checklist - [ ] Does the Readme need to be updated? ## 5. Limitations (optional) ## 6. Future Work (optional) --- .../osmosis/contracts/cl-vault/tests/test-tube/setup.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smart-contracts/osmosis/contracts/cl-vault/tests/test-tube/setup.rs b/smart-contracts/osmosis/contracts/cl-vault/tests/test-tube/setup.rs index cbf5b047d..2117832b9 100644 --- a/smart-contracts/osmosis/contracts/cl-vault/tests/test-tube/setup.rs +++ b/smart-contracts/osmosis/contracts/cl-vault/tests/test-tube/setup.rs @@ -227,6 +227,7 @@ pub fn init_test_contract( swap_max_slippage: Decimal::bps(MAX_SLIPPAGE_HIGH), dex_router: Addr::unchecked(admin.address()), swap_admin: Addr::unchecked(admin.address()), + twap_window_seconds: 24u64, }, vault_token_subdenom: "utestvault".to_string(), range_admin: admin.address(), @@ -442,6 +443,7 @@ fn init_test_contract_with_dex_router_and_swap_pools( swap_max_slippage: Decimal::bps(MAX_SLIPPAGE_HIGH), dex_router: Addr::unchecked(contract_dex_router.clone().data.address), swap_admin: Addr::unchecked(admin.address()), + twap_window_seconds: 24u64, }, vault_token_subdenom: "utestvault".to_string(), range_admin: admin.address(),