Skip to main content

Questions tagged [pallet-scheduler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Referenda function call after passsing

I want to pass a proposal then have it called once passed after x blocks I set it up like this: pub struct TracksInfo; impl pallet_referenda::TracksInfo<Balance, BlockNumber> for TracksInfo { ...
bobby dy's user avatar
1 vote
1 answer
21 views

Scheduler version

I have added a Scheduler into my pallet, I'm following referenda pallet as model. I have written some tests, and the scheduler functionality is working. However, I have noticed that in my unit tests ...
rvalle's user avatar
  • 45
1 vote
1 answer
42 views

Weight for an extrinsic that schedule another call in the future?

I have an extrinsic for a poll that will end in the future. I used scheduller pallet to make the end of the poll execute. The end of the poll is then made by a root call. Should I add the weight of ...
Xavier's user avatar
  • 415
5 votes
1 answer
52 views

pallet scheduler with timestamp instead of blocknumber?

Is it possible to schedule a call using timestamp from timestamp pallet instead of blocknumber? The docs of scheduler pallet states the following: "This Pallet exposes capabilities for scheduling ...
Xavier's user avatar
  • 415
2 votes
0 answers
31 views

Why does pallet-scheduler retain agendas with unavailable preimages

If I'm reading the code of pallet-scheduler correctly, if the preimage of an agenda is not available, then the agenda remains in storage, but IncompleteSince is not updated, which means that the ...
mkl's user avatar
  • 344