Conversation
update all calls, remove all periodic tests
|
Gemini review The changes look fantastic and perfectly achieve the goal of removing the periodic feature to simplify the scheduler. Here is a summary of my review: Completeness: I verified that all traces of periodic logic (like the Period type, maybe_periodic parameters in schedule functions, and weight configs) have been cleanly removed from the scheduler primitives, traits, and pallets. Here is what I cleaned up in the doc comments locally: Removed which may be periodic from pallets/scheduler/README.md ^^ these changes were committed... no more periodic in comments |
NotesThere's some annoying v3:: scheduler traits defined in this class These are used in pallet_referenda, they are defined in frame_support So we could delete them if we get rid of or fork pallet referenda. |
v3:: functions usagepallet_referenda is the only consumer of
Periodic is never used. Every call passes The path to removing v3: Since The plan would be:
This touches several crates and is a meaningful refactor. Want me to go ahead with this, or would you rather keep the v3 impls as thin shims for now? They're only ~50 lines and they just delegate to your internal methods. |
crash on periodic from the v3 shims (never invoked by our current deps)
Remove Periodic