From 7ef23638ba106996bee63e75dfbb40d681db6660 Mon Sep 17 00:00:00 2001 From: Kerber0x Date: Mon, 2 Sep 2024 13:35:29 +0100 Subject: [PATCH] refactor: format code --- contracts/liquidity_hub/bonding-manager/src/tests/claim.rs | 4 ++-- contracts/liquidity_hub/bonding-manager/src/tests/queries.rs | 2 +- contracts/liquidity_hub/bonding-manager/src/tests/rewards.rs | 2 +- .../bonding-manager/src/tests/unbond_withdraw.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/liquidity_hub/bonding-manager/src/tests/claim.rs b/contracts/liquidity_hub/bonding-manager/src/tests/claim.rs index e0870f94..f0ea8c52 100644 --- a/contracts/liquidity_hub/bonding-manager/src/tests/claim.rs +++ b/contracts/liquidity_hub/bonding-manager/src/tests/claim.rs @@ -19,7 +19,7 @@ fn test_claim_successfully() { let asset_denoms = vec!["uwhale".to_string(), "uusdc".to_string()]; #[cfg(feature = "osmosis")] - let pool_fees = PoolFee { + let pool_fees = PoolFee { protocol_fee: Fee { share: Decimal::from_ratio(1u128, 100u128), }, @@ -913,7 +913,7 @@ fn test_rewards_forwarding() { }; #[cfg(feature = "osmosis")] - let pool_fees = PoolFee { + let pool_fees = PoolFee { protocol_fee: Fee { share: Decimal::from_ratio(1u128, 100u128), }, diff --git a/contracts/liquidity_hub/bonding-manager/src/tests/queries.rs b/contracts/liquidity_hub/bonding-manager/src/tests/queries.rs index 11e2659b..185c279e 100644 --- a/contracts/liquidity_hub/bonding-manager/src/tests/queries.rs +++ b/contracts/liquidity_hub/bonding-manager/src/tests/queries.rs @@ -29,7 +29,7 @@ fn test_queries() { }; #[cfg(feature = "osmosis")] - let pool_fees = PoolFee { + let pool_fees = PoolFee { protocol_fee: Fee { share: Decimal::from_ratio(1u128, 100u128), }, diff --git a/contracts/liquidity_hub/bonding-manager/src/tests/rewards.rs b/contracts/liquidity_hub/bonding-manager/src/tests/rewards.rs index 7b61c3dd..aa87b068 100644 --- a/contracts/liquidity_hub/bonding-manager/src/tests/rewards.rs +++ b/contracts/liquidity_hub/bonding-manager/src/tests/rewards.rs @@ -31,7 +31,7 @@ fn test_fill_rewards_from_pool_manager() { }; #[cfg(feature = "osmosis")] - let pool_fees = PoolFee { + let pool_fees = PoolFee { protocol_fee: Fee { share: Decimal::from_ratio(1u128, 100u128), }, diff --git a/contracts/liquidity_hub/bonding-manager/src/tests/unbond_withdraw.rs b/contracts/liquidity_hub/bonding-manager/src/tests/unbond_withdraw.rs index cee80ca8..81ac6ad4 100644 --- a/contracts/liquidity_hub/bonding-manager/src/tests/unbond_withdraw.rs +++ b/contracts/liquidity_hub/bonding-manager/src/tests/unbond_withdraw.rs @@ -35,7 +35,7 @@ fn test_unbonding_withdraw() { }; #[cfg(feature = "osmosis")] - let pool_fees = PoolFee { + let pool_fees = PoolFee { protocol_fee: Fee { share: Decimal::from_ratio(1u128, 100u128), },