From 109d27bae5f1f9688b242809f01237c325406041 Mon Sep 17 00:00:00 2001 From: will pankiewicz Date: Mon, 15 Apr 2024 11:19:30 +0200 Subject: [PATCH 01/13] update number of eras to query era points for --- .../common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts index fffa5305a..55c94c575 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts @@ -67,7 +67,7 @@ export const eraPointsJob = async ( const totalEras = activeEra; let processedEras = 0; - for (let i = activeEra - 1; i >= 0; i--) { + for (let i = activeEra - 1; i >= activeEra - 85; i--) { await individualEraPointsJob(chaindata, i); // Calculate progress percentage From 903ccae97920aba9ca08b2b4eecbe9878af1db5b Mon Sep 17 00:00:00 2001 From: will pankiewicz Date: Mon, 15 Apr 2024 13:16:35 +0200 Subject: [PATCH 02/13] make constant --- packages/common/src/constants.ts | 2 ++ .../src/scorekeeper/jobs/specificJobs/EraPointsJob.ts | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/common/src/constants.ts b/packages/common/src/constants.ts index f9490ab75..03aead93d 100644 --- a/packages/common/src/constants.ts +++ b/packages/common/src/constants.ts @@ -207,3 +207,5 @@ export const USE_PROVIDER = true; export const USE_NOMINATIONS = true; export const USE_RPC = true; export const USE_CLIENT = true; + +export const MAX_ERAS_POINTS = 85; diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts index 55c94c575..f7fd3c058 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts @@ -1,4 +1,4 @@ -import { ChainData, logger, queries } from "../../../index"; +import { ChainData, Constants, logger, queries } from "../../../index"; import { Job, JobConfig, JobRunnerMetadata, JobStatus } from "../JobsClass"; import { jobStatusEmitter } from "../../../Events"; import { withExecutionTimeLogging } from "../../../utils"; @@ -67,7 +67,11 @@ export const eraPointsJob = async ( const totalEras = activeEra; let processedEras = 0; - for (let i = activeEra - 1; i >= activeEra - 85; i--) { + for ( + let i = activeEra - 1; + i >= activeEra - Constants.MAX_ERAS_POINTS; + i-- + ) { await individualEraPointsJob(chaindata, i); // Calculate progress percentage From 1a90976af7444d205629e005bba002847d2257f6 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Fri, 26 Apr 2024 10:34:29 +0200 Subject: [PATCH 03/13] optimize checkValidateIntention --- .../common/src/constraints/CheckCandidates.ts | 8 ++- .../common/src/constraints/ValidityChecks.ts | 24 +-------- .../common/src/constraints/constraints.ts | 9 ++-- packages/common/src/scorekeeper/Round.ts | 3 +- .../jobs/specificJobs/ConstraintsJob.ts | 54 +------------------ 5 files changed, 17 insertions(+), 81 deletions(-) diff --git a/packages/common/src/constraints/CheckCandidates.ts b/packages/common/src/constraints/CheckCandidates.ts index 2d1492598..9c21fde31 100644 --- a/packages/common/src/constraints/CheckCandidates.ts +++ b/packages/common/src/constraints/CheckCandidates.ts @@ -1,4 +1,4 @@ -import { logger } from "../index"; +import { ChainData, logger } from "../index"; import { allCandidates, Candidate, setLastValid, setValid } from "../db"; import { constraintsLabel, OTV } from "./constraints"; import { @@ -22,6 +22,7 @@ import { percentage, timeRemaining } from "../utils/util"; export const checkCandidate = async ( constraints: OTV, candidate: Candidate, + validators: string[], ): Promise => { try { let valid = false; @@ -35,6 +36,7 @@ export const checkCandidate = async ( constraints.config, constraints.chaindata, candidate, + validators, ); if (!validateValid) { logger.info( @@ -166,14 +168,16 @@ export const checkCandidate = async ( export const checkAllCandidates = async ( constraints: OTV, + chaindata: ChainData, ): Promise => { try { const candidates = await allCandidates(); + const validators = await chaindata.getValidators(); logger.info(`checking ${candidates.length} candidates`, constraintsLabel); for (const [index, candidate] of candidates.entries()) { const start = Date.now(); - const isValid = await constraints.checkCandidate(candidate); + const isValid = await constraints.checkCandidate(candidate, validators); const end = Date.now(); const time = `(${end - start}ms)`; const remaining = timeRemaining( diff --git a/packages/common/src/constraints/ValidityChecks.ts b/packages/common/src/constraints/ValidityChecks.ts index 969266e2e..344320d9f 100644 --- a/packages/common/src/constraints/ValidityChecks.ts +++ b/packages/common/src/constraints/ValidityChecks.ts @@ -46,9 +46,9 @@ export const checkValidateIntention = async ( config: Config.ConfigSchema, chaindata: ChainData, candidate: Candidate, + validators: string[], ): Promise => { try { - const validators = await chaindata.getValidators(); if ( !validators?.length || validators.includes(Util.formatAddress(candidate?.stash, config)) @@ -65,28 +65,6 @@ export const checkValidateIntention = async ( } }; -// checks the validate intention for all validators -export const checkAllValidateIntentions = async ( - config: Config.ConfigSchema, - chaindata: ChainData, - candidates: Candidate[], -): Promise => { - try { - const validators = await chaindata.getValidators(); - for (const candidate of candidates) { - if (!validators.includes(Util.formatAddress(candidate.stash, config))) { - await setValidateIntentionValidity(candidate, false); - } else { - await setValidateIntentionValidity(candidate, true); - } - } - return true; - } catch (e) { - logger.error(`Error checking validate intentions: ${e}`, constraintsLabel); - throw new Error("could not make validity check"); - } -}; - // checks that the validator is on the latest client version export const checkLatestClientVersion = async ( config: Config.ConfigSchema, diff --git a/packages/common/src/constraints/constraints.ts b/packages/common/src/constraints/constraints.ts index 8d2ac88a9..a321c1fd3 100644 --- a/packages/common/src/constraints/constraints.ts +++ b/packages/common/src/constraints/constraints.ts @@ -100,12 +100,15 @@ export class OTV implements Constraints { // Checks the validity of all candidates async checkAllCandidates(): Promise { - return await checkAllCandidates(this); + return await checkAllCandidates(this, this.chaindata); } // Check the candidate and set any invalidity fields - async checkCandidate(candidate: Candidate): Promise { - return await checkCandidate(this, candidate); + async checkCandidate( + candidate: Candidate, + validators: string[], + ): Promise { + return await checkCandidate(this, candidate, validators); } async scoreAllCandidates(): Promise { diff --git a/packages/common/src/scorekeeper/Round.ts b/packages/common/src/scorekeeper/Round.ts index 634f4c756..6238d7342 100644 --- a/packages/common/src/scorekeeper/Round.ts +++ b/packages/common/src/scorekeeper/Round.ts @@ -76,10 +76,11 @@ export const startRound = async ( // Get all Candidates and set validity const allCandidates = await queries.allCandidates(); + const validators = await chaindata.getValidators(); // Set Validity for (const [index, candidate] of allCandidates.entries()) { - const isValid = await constraints.checkCandidate(candidate); + const isValid = await constraints.checkCandidate(candidate, validators); const progress = Math.floor((index / allCandidates.length) * 100); jobStatusEmitter.emit("jobProgress", { diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/ConstraintsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/ConstraintsJob.ts index 916d046ee..4677eed01 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/ConstraintsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/ConstraintsJob.ts @@ -35,6 +35,7 @@ export const validityJob = async ( try { const { constraints } = metadata; const candidates = await allCandidates(); + const validators = await metadata.chaindata.getValidators(); logger.info(`Checking ${candidates.length} candidates`, constraintsLabel); // Calculate total number of candidates @@ -43,7 +44,7 @@ export const validityJob = async ( for (const [index, candidate] of candidates.entries()) { const start = Date.now(); - const isValid = await constraints.checkCandidate(candidate); + const isValid = await constraints.checkCandidate(candidate, validators); const end = Date.now(); const time = `(${end - start}ms)`; const remaining = timeRemaining(index + 1, totalCandidates, end - start); @@ -82,57 +83,6 @@ export const validityJobWithTiming = withExecutionTimeLogging( "Validity Job Done", ); -export const candidateValidityJob = async ( - constraints: Constraints.OTV, - candidateAddress: string, -) => { - try { - const start = Date.now(); - - const candidate = await queries.getCandidateByStash(candidateAddress); - if (candidate) { - await constraints.checkCandidate(candidate); - - const end = Date.now(); - const executionTime = (end - start) / 1000; - - logger.info( - `validity for ${candidate.name} Done. (${executionTime}s)`, - constraintsLabel, - ); - } - } catch (e) { - logger.error(`Error running validity job: ${e}`, constraintsLabel); - } -}; - -export const individualScoreJob = async ( - constraints: Constraints.OTV, - candidateAddress: string, -) => { - try { - const start = Date.now(); - const candidate = await queries.getCandidateByStash(candidateAddress); - if (candidate) { - let scoreMetadata = await queries.getLatestValidatorScoreMetadata(); - if (!scoreMetadata) { - logger.warn( - `no score metadata, cannot score candidates`, - constraintsLabel, - ); - await constraints.setScoreMetadata(); - scoreMetadata = await queries.getLatestValidatorScoreMetadata(); - } - await constraints.scoreCandidate(candidate, scoreMetadata); - - const end = Date.now(); - const executionTime = (end - start) / 1000; - } - } catch (e) { - logger.error(`Error running individual score job: ${e}`, constraintsLabel); - } -}; - export const scoreJob = async ( metadata: JobRunnerMetadata, ): Promise => { From 6c808f6b1ac457410060914591b3d7e1043ed4ff Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Fri, 26 Apr 2024 11:53:32 +0200 Subject: [PATCH 04/13] implement skipIdentity flag --- packages/common/src/constraints/CheckCandidates.ts | 6 ++++-- packages/common/src/constraints/ValidityChecks.ts | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/common/src/constraints/CheckCandidates.ts b/packages/common/src/constraints/CheckCandidates.ts index 9c21fde31..889ebc45d 100644 --- a/packages/common/src/constraints/CheckCandidates.ts +++ b/packages/common/src/constraints/CheckCandidates.ts @@ -34,7 +34,6 @@ export const checkCandidate = async ( const validateValid = await checkValidateIntention( constraints.config, - constraints.chaindata, candidate, validators, ); @@ -64,7 +63,10 @@ export const checkCandidate = async ( ); } - const identityValid = await checkIdentity(constraints.chaindata, candidate); + const identityValid = + constraints.config?.constraints?.skipIdentity == true + ? true + : (await checkIdentity(constraints.chaindata, candidate)) || false; if (!identityValid) { logger.info(`${candidate.name} identity not valid`, constraintsLabel); } diff --git a/packages/common/src/constraints/ValidityChecks.ts b/packages/common/src/constraints/ValidityChecks.ts index 344320d9f..212bec714 100644 --- a/packages/common/src/constraints/ValidityChecks.ts +++ b/packages/common/src/constraints/ValidityChecks.ts @@ -44,7 +44,6 @@ export const checkOnline = async (candidate: Candidate): Promise => { // Check the validate intention for a single validator export const checkValidateIntention = async ( config: Config.ConfigSchema, - chaindata: ChainData, candidate: Candidate, validators: string[], ): Promise => { From 628c1d37f97b8ddded2882eb576de25ce1c05d85 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Fri, 26 Apr 2024 11:55:18 +0200 Subject: [PATCH 05/13] version --- charts/otv-backend/Chart.yaml | 4 ++-- packages/common/package.json | 2 +- packages/core/package.json | 2 +- packages/gateway/package.json | 2 +- packages/scorekeeper-status-ui/package.json | 2 +- packages/telemetry/package.json | 2 +- packages/worker/package.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/otv-backend/Chart.yaml b/charts/otv-backend/Chart.yaml index da86495f6..2a1cb7a71 100644 --- a/charts/otv-backend/Chart.yaml +++ b/charts/otv-backend/Chart.yaml @@ -1,5 +1,5 @@ description: 1K Validators Backend name: otv-backend -version: v3.2.1 -appVersion: v3.2.1 +version: v3.2.2 +appVersion: v3.2.2 apiVersion: v2 diff --git a/packages/common/package.json b/packages/common/package.json index 09a336bf1..9fcd12d14 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/common", - "version": "3.2.1", + "version": "3.2.2", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/core/package.json b/packages/core/package.json index 52b9bd2fb..f5ec53ce9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/core", - "version": "3.2.1", + "version": "3.2.2", "description": "Services for running the Thousand Validator Program.", "main": "index.js", "scripts": { diff --git a/packages/gateway/package.json b/packages/gateway/package.json index 24e1c58c6..8328385bd 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/gateway", - "version": "3.2.1", + "version": "3.2.2", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/scorekeeper-status-ui/package.json b/packages/scorekeeper-status-ui/package.json index 4d0fff943..f11c25185 100644 --- a/packages/scorekeeper-status-ui/package.json +++ b/packages/scorekeeper-status-ui/package.json @@ -1,7 +1,7 @@ { "name": "@1kv/scorekeeper-status-ui", "private": true, - "version": "3.2.1", + "version": "3.2.2", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index a12aab6ee..ed6369392 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/telemetry", - "version": "3.2.1", + "version": "3.2.2", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 6998a9a36..42a6f5ace 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,6 +1,6 @@ { "name": "@1kv/worker", - "version": "3.2.1", + "version": "3.2.2", "description": "Services for running the Thousand Validator Program.", "main": "build/index.js", "types": "build/index.d.ts", From 5437613c07775e13517c59722710710bc37ae126 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Mon, 13 May 2024 22:26:36 +0200 Subject: [PATCH 06/13] fix progress percentage --- packages/common/src/constants.ts | 2 +- .../scorekeeper/jobs/specificJobs/EraPointsJob.ts | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/packages/common/src/constants.ts b/packages/common/src/constants.ts index 03aead93d..bfbffd995 100644 --- a/packages/common/src/constants.ts +++ b/packages/common/src/constants.ts @@ -208,4 +208,4 @@ export const USE_NOMINATIONS = true; export const USE_RPC = true; export const USE_CLIENT = true; -export const MAX_ERAS_POINTS = 85; +export const ERAPOINTS_JOB_MAX_ERAS = 84; diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts index f7fd3c058..ee478e4ac 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts @@ -63,20 +63,15 @@ export const eraPointsJob = async ( // - if a record doesn't exist, create it const [activeEra, err] = await chaindata.getActiveEraIndex(); - // Calculate total number of eras to process - const totalEras = activeEra; - let processedEras = 0; - for ( - let i = activeEra - 1; - i >= activeEra - Constants.MAX_ERAS_POINTS; - i-- + let i = activeEra - 1, processedEras = 1; + i >= activeEra - Constants.ERAPOINTS_JOB_MAX_ERAS; + i--, processedEras ++ ) { await individualEraPointsJob(chaindata, i); // Calculate progress percentage - processedEras++; - const progress = (processedEras / totalEras) * 100; + const progress = (processedEras / Constants.ERAPOINTS_JOB_MAX_ERAS) * 100; // Emit progress update with active era as iteration jobStatusEmitter.emit("jobProgress", { From 9e6668ca65ec253bb154db471ff3d08f324d9cda Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Mon, 13 May 2024 22:30:47 +0200 Subject: [PATCH 07/13] lint --- .../common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts index ee478e4ac..5591da5e5 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts @@ -66,7 +66,7 @@ export const eraPointsJob = async ( for ( let i = activeEra - 1, processedEras = 1; i >= activeEra - Constants.ERAPOINTS_JOB_MAX_ERAS; - i--, processedEras ++ + i--, processedEras++ ) { await individualEraPointsJob(chaindata, i); From d15533e2f0bf9b5d226c514b9b422d6b0e6ef0ae Mon Sep 17 00:00:00 2001 From: Florian Franzen Date: Mon, 6 May 2024 16:12:22 +0200 Subject: [PATCH 08/13] chaindata: always track active, not current era Co-authored-by: penumbra23 --- packages/common/src/chaindata/queries/Era.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/chaindata/queries/Era.ts b/packages/common/src/chaindata/queries/Era.ts index 8a5896f95..bea7f34b9 100644 --- a/packages/common/src/chaindata/queries/Era.ts +++ b/packages/common/src/chaindata/queries/Era.ts @@ -204,12 +204,12 @@ export const findEraBlockHash = async ( return ["", "API at block hash is null"]; } - const testEra = await apiAt.query.staking.currentEra(); + const testEra = await apiAt.query.staking.activeEra(); if (testEra && testEra.isEmpty) { logger.info(`Test era is empty: ${JSON.stringify(testEra)}`); return ["", "Test era is none"]; } - const testIndex = testEra.unwrap().toNumber(); + const testIndex = testEra.unwrap().index.toNumber(); if (era == testIndex) { return [blockHash.toString(), null]; } From cecba8bf460eccc6bf3400b4434d2828419295e0 Mon Sep 17 00:00:00 2001 From: Florian Franzen Date: Mon, 6 May 2024 13:18:10 +0200 Subject: [PATCH 09/13] chaindata: use next era to fetch previous --- packages/common/src/chaindata/queries/Era.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/common/src/chaindata/queries/Era.ts b/packages/common/src/chaindata/queries/Era.ts index bea7f34b9..277d41c10 100644 --- a/packages/common/src/chaindata/queries/Era.ts +++ b/packages/common/src/chaindata/queries/Era.ts @@ -46,7 +46,10 @@ export const getTotalEraPoints = async ( if (!chainType) { return {} as EraPointsInfo; } - const [blockHash, err] = await chaindata.findEraBlockHash(era, chainType); + const [blockHash, err] = await chaindata.findEraBlockHash( + era + 1, + chainType, + ); if (blockHash) { const apiAt = await chaindata?.api?.at(blockHash); From 9fc9aa0f5d3cc413431c97bd258bf8fd7d7da57d Mon Sep 17 00:00:00 2001 From: Florian Franzen Date: Mon, 6 May 2024 17:40:16 +0200 Subject: [PATCH 10/13] stats: support scoring of single item vectors --- packages/common/src/constraints/score.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/constraints/score.ts b/packages/common/src/constraints/score.ts index 96e845d57..556bc666a 100644 --- a/packages/common/src/constraints/score.ts +++ b/packages/common/src/constraints/score.ts @@ -99,7 +99,7 @@ export const getStats = (arr: number[]): Stats => { const arrQ75 = arr.length !== 0 ? q75(arr) : 0; const arrQ90 = arr.length !== 0 ? q90(arr) : 0; const arrMean = arr.length !== 0 ? mean(arr) : 0; - const arrStd = arr.length !== 0 ? std(arr) : 0; + const arrStd = arr.length > 1 ? std(arr) : 0; return { values: arr, From ea413e4f89a4531c446bf426b2352051786c95f4 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Tue, 14 May 2024 20:38:05 +0200 Subject: [PATCH 11/13] fix log --- .../common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts index 5591da5e5..a00492484 100644 --- a/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts +++ b/packages/common/src/scorekeeper/jobs/specificJobs/EraPointsJob.ts @@ -82,7 +82,7 @@ export const eraPointsJob = async ( }); logger.info( - `Processed Era Points for Era: ${i} (${activeEra - i}/${activeEra})`, + `Processed Era Points for Era: ${i} (${activeEra - i}/${Constants.ERAPOINTS_JOB_MAX_ERAS})`, erapointsLabel, ); } From b7817a2fc6095cfb53c8239f8d29abeb86fddc86 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Tue, 14 May 2024 21:19:25 +0200 Subject: [PATCH 12/13] https://github.com/w3f/1k-validators-be/pull/2869 --- packages/common/src/db/models.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/db/models.ts b/packages/common/src/db/models.ts index 33cf506bb..dcd03ea5c 100644 --- a/packages/common/src/db/models.ts +++ b/packages/common/src/db/models.ts @@ -143,8 +143,8 @@ export interface ValidatorSet { } export const ValidatorSetSchema = new Schema({ - session: Number, - era: Number, + session: { type: Number, index: true }, + era: { type: Number, index: true }, validators: [String], }); From a08a17b9f71908c28a1849e5248db4bdd34c3009 Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Wed, 15 May 2024 14:46:04 +0200 Subject: [PATCH 13/13] targetRevision --- apps/1kv-backend/templates/kusama-otv-backend.yaml | 2 +- apps/1kv-backend/templates/polkadot-otv-backend.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/1kv-backend/templates/kusama-otv-backend.yaml b/apps/1kv-backend/templates/kusama-otv-backend.yaml index 2c628af74..b5fa87656 100644 --- a/apps/1kv-backend/templates/kusama-otv-backend.yaml +++ b/apps/1kv-backend/templates/kusama-otv-backend.yaml @@ -17,7 +17,7 @@ spec: source: repoURL: https://w3f.github.io/helm-charts/ chart: otv-backend - targetRevision: v3.2.1 + targetRevision: v3.2.2 plugin: env: - name: HELM_VALUES diff --git a/apps/1kv-backend/templates/polkadot-otv-backend.yaml b/apps/1kv-backend/templates/polkadot-otv-backend.yaml index c2ffd0032..ac715b70a 100644 --- a/apps/1kv-backend/templates/polkadot-otv-backend.yaml +++ b/apps/1kv-backend/templates/polkadot-otv-backend.yaml @@ -17,7 +17,7 @@ spec: source: repoURL: https://w3f.github.io/helm-charts/ chart: otv-backend - targetRevision: v3.2.1 + targetRevision: v3.2.2 plugin: env: - name: HELM_VALUES