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:
@@ -100,8 +100,9 @@ mod benchmarks {
|
||||
|
||||
assert_eq!(
|
||||
EnteredUntil::<T>::get().unwrap(),
|
||||
pezframe_system::Pezpallet::<T>::block_number() +
|
||||
1u32.into() + T::ExtendDuration::get()
|
||||
pezframe_system::Pezpallet::<T>::block_number()
|
||||
+ 1u32.into()
|
||||
+ T::ExtendDuration::get()
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -345,10 +345,10 @@ fn can_force_release_deposit_with_config_origin() {
|
||||
assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0)));
|
||||
assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1)));
|
||||
run_to(
|
||||
mock::EnterDuration::get() +
|
||||
mock::ExtendDuration::get() +
|
||||
activated_and_extended_at_block +
|
||||
1,
|
||||
mock::EnterDuration::get()
|
||||
+ mock::ExtendDuration::get()
|
||||
+ activated_and_extended_at_block
|
||||
+ 1,
|
||||
);
|
||||
|
||||
assert_ok!(SafeMode::force_release_deposit(
|
||||
@@ -498,10 +498,10 @@ fn can_slash_deposit_with_config_origin() {
|
||||
assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0)));
|
||||
assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1)));
|
||||
run_to(
|
||||
mock::EnterDuration::get() +
|
||||
mock::ExtendDuration::get() +
|
||||
activated_and_extended_at_block +
|
||||
1,
|
||||
mock::EnterDuration::get()
|
||||
+ mock::ExtendDuration::get()
|
||||
+ activated_and_extended_at_block
|
||||
+ 1,
|
||||
);
|
||||
|
||||
assert_ok!(SafeMode::force_slash_deposit(
|
||||
|
||||
Reference in New Issue
Block a user