Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 6b2a129

Browse files
will pankiewiczwill pankiewicz
authored andcommitted
bump version to v3.1.9
1 parent 2c7f856 commit 6b2a129

File tree

14 files changed

+19
-934
lines changed

14 files changed

+19
-934
lines changed

apps/1kv-backend-staging/templates/kusama-otv-backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
"constraints": {
5757
"skipConnectionTime": true,
5858
"skipIdentity": false,
59-
"skipClientUpgrade": true,
59+
"skipClientUpgrade": false,
6060
"skipUnclaimed": true,
6161
"minSelfStake": 10000000000000,
6262
"commission": 150000000,

apps/1kv-backend-staging/templates/polkadot-otv-backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ spec:
6464
"cron": {
6565
"monitor": "0 */15 * * * *",
6666
"monitorEnabled": true,
67-
"clearOfflineEnabled": true,
67+
"clearOfflineEnabled": false,
6868
"validityEnabled": true,
6969
"scoreEnabled": true,
7070
"executionEnabled": true,

apps/1kv-backend/templates/kusama-otv-backend.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
source:
1818
repoURL: https://w3f.github.io/helm-charts/
1919
chart: otv-backend
20-
targetRevision: v3.1.8
20+
targetRevision: v3.1.9
2121
plugin:
2222
env:
2323
- name: HELM_VALUES
@@ -54,7 +54,7 @@ spec:
5454
"skipConnectionTime": false,
5555
"skipIdentity": false,
5656
"skipStakedDestination": true,
57-
"skipClientUpgrade": true,
57+
"skipClientUpgrade": false,
5858
"skipUnclaimed": true,
5959
"minSelfStake": 10000000000000,
6060
"commission": 150000000,

apps/1kv-backend/templates/polkadot-otv-backend.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
source:
1818
repoURL: https://w3f.github.io/helm-charts/
1919
chart: otv-backend
20-
targetRevision: v3.1.8
20+
targetRevision: v3.1.9
2121
plugin:
2222
env:
2323
- name: HELM_VALUES
@@ -53,7 +53,7 @@ spec:
5353
"skipConnectionTime": false,
5454
"skipIdentity": false,
5555
"skipStakedDestination": true,
56-
"skipClientUpgrade": true,
56+
"skipClientUpgrade": false,
5757
"skipUnclaimed": true,
5858
"minSelfStake": 50000000000000,
5959
"commission": 50000000,

charts/otv-backend/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
description: 1K Validators Backend
22
name: otv-backend
3-
version: v3.1.8
4-
appVersion: v3.1.8
3+
version: v3.1.9
4+
appVersion: v3.1.9
55
apiVersion: v2

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@1kv/common",
3-
"version": "3.1.8",
3+
"version": "3.1.9",
44
"description": "Services for running the Thousand Validator Program.",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

packages/common/src/constraints/ValidityChecks.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export const checkLatestClientVersion = async (
136136
: semver.clean(latestRelease.name);
137137

138138
logger.info(
139-
`Checking latest client version: ${nodeVersion} >= ${latestVersion}`,
139+
`Past grace window of latest release, checking latest client version: ${nodeVersion} >= ${latestVersion}`,
140140
constraintsLabel,
141141
);
142142

@@ -158,9 +158,11 @@ export const checkLatestClientVersion = async (
158158
await setLatestClientReleaseValidity(candidate.stash, true);
159159
return true;
160160
} else {
161+
logger.info(`Still in grace window of latest release`, constraintsLabel);
162+
161163
// If not past the grace window, set the release as invalid
162-
await setLatestClientReleaseValidity(candidate.stash, false);
163-
return false;
164+
await setLatestClientReleaseValidity(candidate.stash, true);
165+
return true;
164166
}
165167
} catch (e) {
166168
logger.error(

0 commit comments

Comments
 (0)