UpgradeStarted: PlainDescriptor<{
    migrations: number;
}>

A Runtime upgrade started.

Its end is indicated by UpgradeCompleted or UpgradeFailed.

Type declaration

  • migrations: number

    The number of migrations that this upgrade contains.

    This can be used to design a progress indicator in combination with counting the MigrationCompleted and MigrationSkipped events.