diff --git a/cmd/kwild/server/migration.go b/cmd/kwild/server/migration.go index 815b83daf..f5267a840 100644 --- a/cmd/kwild/server/migration.go +++ b/cmd/kwild/server/migration.go @@ -71,8 +71,8 @@ func PrepareForMigration(ctx context.Context, kwildCfg *commonCfg.KwildConfig, g } // if we reach here, then we still need to download the genesis state - // Therefore, the genesis app hash, validator set, and chain id should not - // already be set in the genesis config. + // Therefore, the genesis app hash, validator set, chain id, initial height, + // and migration info should not already be set in the genesis config. if genesisCfg.DataAppHash != nil || genesisCfg.Validators != nil || genesisCfg.ChainID != "" || genesisCfg.InitialHeight != 0 || genesisCfg.ConsensusParams.Migration.IsMigration() { return nil, nil, errors.New("migration genesis config should not have app hash, validators, initial height, migration info, or chain id set")