Skip to content

FRAME: Move pallets over to use fungible traits #226

@gavofyork

Description

@gavofyork
  • Move over all pallets using Currency to fungible traits:
    • Basic code switch over: pallets should provide a utility for cancelling a lock/reserve and instating a freeze/hold.
    • Staking pallet should use hold instead of lock.
    • Permissionless fee-free dispatchable in all pallets to move over.
    • Mark all Currency traits as deprecated.

Eventually, we will also want to deprecate and remove Balances dispatchables:

  • Substitute all usages of Balances dispatchables with fungible API.
  • Mark dispatchables as deprecated.
  • Remove them (this can only be done once XCM execution from private accounts is safe and enabled).

Pallet migrations needed

Here's a list of pallets, turning this into a tracking issue of the migration process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I6-metaA specific issue for grouping tasks or bugs of a specific category.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    Status

    Draft

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions