Skip to content

Commit

Permalink
bump version to v2.6.64
Browse files Browse the repository at this point in the history
  • Loading branch information
will pankiewicz authored and will pankiewicz committed Sep 29, 2022
1 parent 4fc143b commit eb0866c
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion charts/otv-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description: 1K Validators Backend
name: otv-backend
version: v2.6.63
version: v2.6.64
apiVersion: v2
2 changes: 1 addition & 1 deletion charts/otv-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resources:

image:
repo: web3f/otv-backend
tag: 2.6.63
tag: 2.6.64

certificate:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions helmfile.d/10-otv-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
74 changes: 37 additions & 37 deletions src/scorekeeper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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...`
Expand Down

0 comments on commit eb0866c

Please sign in to comment.