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.

Allow to specify origin for scheduled calls #6372

@xlc

Description

@xlc

We would like to allow calls to be dispatched at given block with a given origin.

Use case:

Acala implements multiple protocols and each protocols have its own council, which have the permission to modify the parameters of its protocol. But protocol council are not suppose to dispatch calls to modify parameters for other protocols.

We need the ability to schedule a parameter modification to be dispatched at later block, but currently the calls are dispatched with ROOT origin, which means any code that are able to schedule task have ROOT access.

We have developed our scheduler with half working dispatch origin feature but there are too many things needs to be considered for a scheduler (mostly weight related) so we will want to avoid to maintain a scheduler ourself given that now there is pallet-scheduler.

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions