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:
2025-12-22 17:12:58 +03:00
parent 65b7f5e640
commit 4c8f281051
898 changed files with 8671 additions and 6432 deletions
+13 -13
View File
@@ -285,9 +285,9 @@ pub trait EthExtra {
// Check transaction type and reject unsupported transaction types
match &tx {
crate::evm::api::TransactionSigned::Transaction1559Signed(_) |
crate::evm::api::TransactionSigned::Transaction2930Signed(_) |
crate::evm::api::TransactionSigned::TransactionLegacySigned(_) => {
crate::evm::api::TransactionSigned::Transaction1559Signed(_)
| crate::evm::api::TransactionSigned::Transaction2930Signed(_)
| crate::evm::api::TransactionSigned::TransactionLegacySigned(_) => {
// Supported transaction types, continue processing
},
crate::evm::api::TransactionSigned::Transaction7702Signed(_) => {
@@ -542,11 +542,11 @@ mod test {
transaction_encoded,
effective_gas_price,
encoded_len,
}) if dest == tx.to.unwrap() &&
value == tx.value.unwrap_or_default().as_u64().into() &&
data == tx.input.to_vec() &&
transaction_encoded == signed_transaction.signed_payload() &&
effective_gas_price == expected_effective_gas_price =>
}) if dest == tx.to.unwrap()
&& value == tx.value.unwrap_or_default().as_u64().into()
&& data == tx.input.to_vec()
&& transaction_encoded == signed_transaction.signed_payload()
&& effective_gas_price == expected_effective_gas_price =>
{
assert_eq!(encoded_len, expected_encoded_len);
assert!(
@@ -581,11 +581,11 @@ mod test {
transaction_encoded,
effective_gas_price,
encoded_len,
}) if value == expected_value &&
code == expected_code &&
data == expected_data &&
transaction_encoded == signed_transaction.signed_payload() &&
effective_gas_price == expected_effective_gas_price =>
}) if value == expected_value
&& code == expected_code
&& data == expected_data
&& transaction_encoded == signed_transaction.signed_payload()
&& effective_gas_price == expected_effective_gas_price =>
{
assert_eq!(encoded_len, expected_encoded_len);
assert!(