You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function set_children executes do_schedule_children
function do_schedule_children uses PendingChildKeyCooldown storage to get cooldown_block
storage PendingChildKeyCooldown uses DefaultPendingChildKeyCooldown which is 0 by default.
Theoretically, if we compile a chain from scratch without history, we'll get PendingChildKeyCooldown equal to 0 instead of 7200/15. This happens with localnet now.
Fix should include:
DefaultPendingCooldown is prod_or_fast!(7_200, 15)
DefaultPendingChildKeyCooldown gets from DefaultPendingCooldown.