Skip to content

Commit

Permalink
CL: vault_config.twap_window_seconds on setup.rs (#819)
Browse files Browse the repository at this point in the history
## 1. Overview

<!-- What are you changing, removing, or adding in this review? -->

## 2. Implementation details

<!-- Describe the implementation (highlights only) as well as design
rationale. -->

## 3. How to test/use

<!-- How can people test/use this? -->

## 4. Checklist

<!-- Checklist for PR author(s). -->

- [ ] Does the Readme need to be updated?

## 5. Limitations (optional)

<!-- Describe any limitation of the capabilities listed in the Overview
section. -->

## 6. Future Work (optional)

<!-- Describe follow up work, if any. -->
  • Loading branch information
magiodev authored Aug 26, 2024
1 parent 1d263b2 commit ff69628
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit ff69628

Please sign in to comment.