Skip to content

Allow transaction payment from proxy target accountΒ #348

@xlc

Description

@xlc

For example, I have main account A, which have a proxy with account B.
In order to invoke call from account A via B, I need to make sure account B have enough funds for transaction fees.

It will be better to have ability to let account A to pay the transaction fee, so account B does not need to have any funds.

This will make rotate signing account easy. Just add account C and remove B, without worry about transfer funds around.

In order to implement this, we need a SignedExtension to validate the proxy call to prevent it from been included into transaction pool / block if the proxy is invalid.

And customize transaction payment pallet so it is possible to pay transaction fee using a different account.

And adjust nonce / account ref code so that the nonce of account B get wiped when it is not a signing account for any other accounts & have no existential deposit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I5-enhancementAn additional feature request.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    Status

    Draft

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions