Skip to content

Commit

Permalink
fix fmt and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
KitHat committed Oct 31, 2024
1 parent 5c577e8 commit 4ec41ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion procedural/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod runtime {
#[abstraction]
struct System; // Available names are System, Consensus, XCM, Assets, Governance. EVM is in development.
#[pallet]
type Pallet = pallet_crate; // It mimicks the second version of construct runtime macro, but without the pallet_index assignment
type Pallet = pallet_crate; // It mimics the second version of construct runtime macro, but without the pallet_index assignment
}
```

Expand Down
3 changes: 1 addition & 2 deletions src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@ macro_rules! impl_openzeppelin_assets {
};
}


pub fn pallet_name_list() -> Vec<(&'static str, &'static str)> {
vec![
("Assets", "pallet_assets"),
("TransactionPayment", "pallet_transaction_payment"),
("AssetManager", "pallet_asset_manager"),
]
}
}
2 changes: 1 addition & 1 deletion src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ pub fn pallet_name_list() -> Vec<(&'static str, &'static str)> {
("BaseFee", "pallet_base_fee"),
("EVMChainId", "pallet_evm_chain_id"),
]
}
}

0 comments on commit 4ec41ed

Please sign in to comment.