We've tried to use the scheduler pallet using both enact_authorized_upgrade
and setCode
, but because the scheduler pallet executes on_initialize and it appears that the upgrades cannot happen without the validation data which doesn't exist yet on_initialize
(See: Runtime upgrade error: parachainSystem.ValidationDataNotAvailable)
Is there some other way that I have missed to be able to predetermine the block of a sudo upgrade?