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:
@@ -108,10 +108,12 @@ pub mod pezpallet {
|
||||
max_weight,
|
||||
Weight::zero(),
|
||||
) {
|
||||
Outcome::Error(InstructionError { error, .. }) =>
|
||||
(Err(error), Event::Fail { message_id: Some(hash), error }),
|
||||
Outcome::Complete { used } =>
|
||||
(Ok(used), Event::Success { message_id: Some(hash) }),
|
||||
Outcome::Error(InstructionError { error, .. }) => {
|
||||
(Err(error), Event::Fail { message_id: Some(hash), error })
|
||||
},
|
||||
Outcome::Complete { used } => {
|
||||
(Ok(used), Event::Success { message_id: Some(hash) })
|
||||
},
|
||||
// As far as the caller is concerned, this was dispatched without error, so
|
||||
// we just report the weight used.
|
||||
Outcome::Incomplete {
|
||||
@@ -167,8 +169,9 @@ pub mod pezpallet {
|
||||
Self::deposit_event(Event::InvalidFormat { message_id: id });
|
||||
},
|
||||
Ok(versioned) => match Xcm::try_from(versioned) {
|
||||
Err(()) =>
|
||||
Self::deposit_event(Event::UnsupportedVersion { message_id: id }),
|
||||
Err(()) => {
|
||||
Self::deposit_event(Event::UnsupportedVersion { message_id: id })
|
||||
},
|
||||
Ok(x) => {
|
||||
let outcome = T::XcmExecutor::prepare_and_execute(
|
||||
Parent,
|
||||
|
||||
Reference in New Issue
Block a user