rustfmt ghost networks pallet

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2025-11-27 17:15:03 +03:00
parent e3c8e51749
commit ad3de30be3
Signed by: st1nky
GPG Key ID: 016064BD97603B40
4 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "ghost-networks"
version = "0.1.18"
version = "0.1.19"
license.workspace = true
authors.workspace = true
edition.workspace = true

View File

@ -715,7 +715,6 @@ impl<T: Config> Pallet<T> {
});
Ok(())
}
}
impl<T: Config> NetworkDataBasicHandler for Pallet<T> {

View File

@ -13,7 +13,6 @@ where
+ sp_std::ops::Shr<Output = Balance>
+ sp_std::ops::BitAnd<Balance, Output = Balance>,
{
fn zero(&self) -> Balance {
0u32.into()
}

View File

@ -1883,7 +1883,7 @@ fn check_bridged_inflation_curve_for_big_commissions() {
let (payout, rest) = BridgedInflationCurve::<RewardCurve, Test>::era_payout(
total_staked_gt_ideal,
total_issuance + amount,
0
0,
);
assert!(payout < commission);
assert!(rest < commission);
@ -1891,7 +1891,7 @@ fn check_bridged_inflation_curve_for_big_commissions() {
let (payout, rest) = BridgedInflationCurve::<RewardCurve, Test>::era_payout(
total_staked_lt_ideal,
total_issuance + amount,
0
0,
);
assert!(payout < commission);
assert!(rest < commission);