Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Treasury pallet should support origin success param as max-spend  #11116

@gavofyork

Description

@gavofyork

Currently there's only one approve origin for the treasury pallet which is able to approve any spend.

Actually, the spend origin should accept a parameter, and the Success associated type should be a Balance. The value of this balance should be at least the amount of spending desired in the call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions