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

Commit 176a265

Browse files
authored
Merge pull request #2791 from w3f/will-v3.1.9
v3.1.9
2 parents 2c7f856 + 807dbd3 commit 176a265

File tree

16 files changed

+21
-988
lines changed

16 files changed

+21
-988
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
@@ -55,7 +55,7 @@ spec:
5555
"constraints": {
5656
"skipConnectionTime": false,
5757
"skipIdentity": false,
58-
"skipClientUpgrade": true,
58+
"skipClientUpgrade": false,
5959
"skipUnclaimed": true,
6060
"minSelfStake": 50000000000000,
6161
"commission": 50000000,

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)