Skip to content

Commit aa3a74c

Browse files
authored
refactor: reduce staking.payoutStakers fee to 1/10th (#1340)
#1335 (comment) Signed-off-by: quacumque <quacumque@fastmail.jp>
1 parent 7ce3cd9 commit aa3a74c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

runtime/src/xor_fee_impls.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ impl CustomFees {
220220
| RuntimeCall::MulticollateralBondingCurvePool(..)
221221
| RuntimeCall::PoolXYK(..)
222222
| RuntimeCall::Rewards(..)
223-
| RuntimeCall::Staking(pallet_staking::Call::payout_stakers { .. })
224223
| RuntimeCall::TradingPair(..)
225224
| RuntimeCall::Referrals(..)
226225
| RuntimeCall::OrderBook(..)
@@ -234,8 +233,11 @@ impl CustomFees {
234233
| RuntimeCall::VestedRewards(vested_rewards::Call::claim_unlocked { .. }) => {
235234
Some(SMALL_FEE)
236235
}
237-
RuntimeCall::Band(..) => Some(MINIMAL_FEE),
238-
RuntimeCall::Soratopia(soratopia::Call::check_in {}) => Some(MINIMAL_FEE),
236+
// NOTE: reducing fees to 1/10 for payout_stakers (from SMALL_FEE)
237+
// https://github.com/sora-xor/sora2-network/issues/1335#issuecomment-3004262480
238+
RuntimeCall::Staking(pallet_staking::Call::payout_stakers { .. })
239+
| RuntimeCall::Band(..)
240+
| RuntimeCall::Soratopia(soratopia::Call::check_in {}) => Some(MINIMAL_FEE),
239241
_ => None,
240242
}
241243
}

0 commit comments

Comments
 (0)