From eb0866c797989493899cd6e6af14384fd16ae803 Mon Sep 17 00:00:00 2001 From: will pankiewicz Date: Thu, 29 Sep 2022 09:09:19 -0400 Subject: [PATCH] bump version to v2.6.64 --- charts/otv-backend/Chart.yaml | 2 +- charts/otv-backend/values.yaml | 2 +- helmfile.d/10-otv-backend.yaml | 4 +- package.json | 2 +- src/index.ts | 2 +- src/scorekeeper.ts | 74 +++++++++++++++++----------------- 6 files changed, 43 insertions(+), 43 deletions(-) diff --git a/charts/otv-backend/Chart.yaml b/charts/otv-backend/Chart.yaml index 2d58bc2bc..664ff271d 100644 --- a/charts/otv-backend/Chart.yaml +++ b/charts/otv-backend/Chart.yaml @@ -1,4 +1,4 @@ description: 1K Validators Backend name: otv-backend -version: v2.6.63 +version: v2.6.64 apiVersion: v2 diff --git a/charts/otv-backend/values.yaml b/charts/otv-backend/values.yaml index cdc9b101b..8d710b289 100644 --- a/charts/otv-backend/values.yaml +++ b/charts/otv-backend/values.yaml @@ -17,7 +17,7 @@ resources: image: repo: web3f/otv-backend - tag: 2.6.63 + tag: 2.6.64 certificate: enabled: true diff --git a/helmfile.d/10-otv-backend.yaml b/helmfile.d/10-otv-backend.yaml index 6a8926988..08cbcf018 100644 --- a/helmfile.d/10-otv-backend.yaml +++ b/helmfile.d/10-otv-backend.yaml @@ -11,7 +11,7 @@ releases: namespace: kusama {{ if eq .Environment.Name "production" }} chart: w3f/otv-backend - version: v2.6.63 + version: v2.6.64 {{ else }} chart: ../charts/otv-backend {{ end }} @@ -27,7 +27,7 @@ releases: namespace: polkadot {{ if eq .Environment.Name "production" }} chart: w3f/otv-backend - version: v2.6.63 + version: v2.6.64 {{ else }} chart: ../charts/otv-backend {{ end }} diff --git a/package.json b/package.json index ccada774b..562386e3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "1k-validators-be", - "version": "2.6.63", + "version": "2.6.64", "description": "Services for running the Thousand Validator Program.", "main": "index.js", "scripts": { diff --git a/src/index.ts b/src/index.ts index e574d8501..c98812331 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ import { startClearAccumulatedOfflineTimeJob, startMonitorJob } from "./cron"; const isCI = process.env.CI; -const version = "v2.6.63"; +const version = "v2.6.64"; const catchAndQuit = async (fn: any) => { try { diff --git a/src/scorekeeper.ts b/src/scorekeeper.ts index 02cb10f81..aa7eee75d 100644 --- a/src/scorekeeper.ts +++ b/src/scorekeeper.ts @@ -576,21 +576,21 @@ export default class ScoreKeeper { // Start all Cron Jobs try { - await startMonitorJob(this.config, this.db, this.monitor); - await startValidatityJob( - this.config, - this.db, - this.constraints, - this.chaindata, - candidates - ); - - await startEraPointsJob(this.config, this.db, this.chaindata); - await startActiveValidatorJob(this.config, this.db, this.chaindata); - await startInclusionJob(this.config, this.db, this.chaindata); - await startSessionKeyJob(this.config, this.db, this.chaindata); + // await startMonitorJob(this.config, this.db, this.monitor); + // await startValidatityJob( + // this.config, + // this.db, + // this.constraints, + // this.chaindata, + // candidates + // ); + // + // await startEraPointsJob(this.config, this.db, this.chaindata); + // await startActiveValidatorJob(this.config, this.db, this.chaindata); + // await startInclusionJob(this.config, this.db, this.chaindata); + // await startSessionKeyJob(this.config, this.db, this.chaindata); // await startUnclaimedEraJob(this.config, this.db, this.chaindata); - await startValidatorPrefJob(this.config, this.db, this.chaindata); + // await startValidatorPrefJob(this.config, this.db, this.chaindata); // if (this.claimer) { // await startRewardClaimJob( // this.config, @@ -608,31 +608,31 @@ export default class ScoreKeeper { this.db, this.bot ); - await startCancelCron( - this.config, - this.handler, - this.db, - this.nominatorGroups, - this.chaindata, - this.bot - ); - await startStaleNominationCron( - this.config, - this.handler, - this.db, - this.nominatorGroups, - this.chaindata, - this.bot - ); - await startScoreJob(this.config, this.constraints); - await startEraStatsJob(this.db, this.config, this.chaindata); - await startLocationStatsJob(this.config, this.db, this.chaindata); - await startCouncilJob(this.config, this.db, this.chaindata); + // await startCancelCron( + // this.config, + // this.handler, + // this.db, + // this.nominatorGroups, + // this.chaindata, + // this.bot + // ); + // await startStaleNominationCron( + // this.config, + // this.handler, + // this.db, + // this.nominatorGroups, + // this.chaindata, + // this.bot + // ); + // await startScoreJob(this.config, this.constraints); + // await startEraStatsJob(this.db, this.config, this.chaindata); + // await startLocationStatsJob(this.config, this.db, this.chaindata); + // await startCouncilJob(this.config, this.db, this.chaindata); // Subscan job currently leads to 429 due to API rate limiting. // await startSubscanJob(this.config, this.db, this.subscan); - await startDemocracyJob(this.config, this.db, this.chaindata); - await startNominatorJob(this.config, this.db, this.chaindata); - await startDelegationJob(this.config, this.db, this.chaindata); + // await startDemocracyJob(this.config, this.db, this.chaindata); + // await startNominatorJob(this.config, this.db, this.chaindata); + // await startDelegationJob(this.config, this.db, this.chaindata); } catch (e) { logger.info( `{Scorekeeper::RunCron} There was an error running some cron jobs...`