Skip to content

(Investigate) Move call definition into extrinsic traits #441

Open
@haerdib

Description

@haerdib

According to #434 (comment):

I'm wondering if we couldn't also "move" these types into the trait?
Do you think it's overkill or is there a specific reason not to do it?

One should look into if it makes sense to move the call definitions

/// Call for a balance transfer.
pub type TransferCall<Address, Balance> = (CallIndex, Address, Compact<Balance>);
/// Call to the balance of an account.
pub type SetBalanceCall<Address, Balance> =
(CallIndex, Address, Compact<Balance>, Compact<Balance>);

as a trait type. Should be a simplification, not something that makes things more compilacated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions