style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -258,8 +258,8 @@ mod benchmarks {
|
||||
}
|
||||
|
||||
let new_reward_rate_per_block =
|
||||
T::Assets::minimum_balance(T::BenchmarkHelper::reward_asset()).max(T::Balance::one()) +
|
||||
T::Balance::one();
|
||||
T::Assets::minimum_balance(T::BenchmarkHelper::reward_asset()).max(T::Balance::one())
|
||||
+ T::Balance::one();
|
||||
|
||||
#[extrinsic_call]
|
||||
_(caller_origin as T::RuntimeOrigin, 0, new_reward_rate_per_block);
|
||||
@@ -296,8 +296,8 @@ mod benchmarks {
|
||||
}
|
||||
|
||||
let new_expiry_block = pool_expire::<T>()
|
||||
.evaluate(T::BlockNumberProvider::current_block_number()) +
|
||||
BlockNumberFor::<T>::one();
|
||||
.evaluate(T::BlockNumberProvider::current_block_number())
|
||||
+ BlockNumberFor::<T>::one();
|
||||
|
||||
#[extrinsic_call]
|
||||
_(create_origin as T::RuntimeOrigin, 0, DispatchTime::At(new_expiry_block));
|
||||
|
||||
Reference in New Issue
Block a user