Skip to content

Commit

Permalink
refactor: improve language
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Dec 16, 2024
1 parent 104684e commit 020e4bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/pop-parachains/src/call/metadata/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ pub enum Action {
props(Pallet = "Assets")
)]
MintAsset,
/// Create an NFT collection.
/// Create a NFT collection.
#[strum(
serialize = "create_nft",
message = "create",
detailed_message = "Create an NFT collection",
detailed_message = "Create a NFT collection",
props(Pallet = "Nfts")
)]
CreateCollection,
/// Mint an NFT.
/// Mint a NFT.
#[strum(
serialize = "mint_nft",
message = "mint",
detailed_message = "Mint an NFT",
detailed_message = "Mint a NFT",
props(Pallet = "Nfts")
)]
MintNFT,
Expand Down Expand Up @@ -139,8 +139,8 @@ mod tests {
let descriptions = HashMap::from([
(CreateAsset, "Create an asset"),
(MintAsset, "Mint an asset"),
(CreateCollection, "Create an NFT collection"),
(MintNFT, "Mint an NFT"),
(CreateCollection, "Create a NFT collection"),
(MintNFT, "Mint a NFT"),
(PurchaseOnDemandCoretime, "Purchase on-demand coretime"),
(Transfer, "Transfer balance"),
(Register, "Register a parachain ID with genesis state and code"),
Expand Down

0 comments on commit 020e4bb

Please sign in to comment.