Hooks

OnInitialize hooks are only executed when a code change is detected.
OnRuntimeUpgradehooks are mandatorily executed at the very beginning of the block body, before any extrinsics are processed.Inherentsare always executed before any other other signed or unsigned extrinsics.OnIdlehooks are executed after extrinsics if there is weight remaining in the block.OnFinalizehooks are mandatorily executed afterOnIdle.
Last updated
