Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump versions to v3.0.23 #2664

Merged
merged 3 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/1kv-backend/templates/kusama-otv-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
source:
repoURL: https://w3f.github.io/helm-charts/
chart: otv-backend
targetRevision: v3.0.21
targetRevision: v3.0.23
plugin:
env:
- name: HELM_VALUES
Expand Down
2 changes: 1 addition & 1 deletion apps/1kv-backend/templates/polkadot-otv-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
source:
repoURL: https://w3f.github.io/helm-charts/
chart: otv-backend
targetRevision: v3.0.21
targetRevision: v3.0.23
plugin:
env:
- name: HELM_VALUES
Expand Down
4 changes: 2 additions & 2 deletions charts/otv-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: 1K Validators Backend
name: otv-backend
version: v3.0.22
appVersion: v3.0.22
version: v3.0.23
appVersion: v3.0.23
apiVersion: v2
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1kv/common",
"version": "3.0.22",
"version": "3.0.23",
"description": "Services for running the Thousand Validator Program.",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
20 changes: 10 additions & 10 deletions packages/common/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ export const DEFAULT_TELEMETRY_ENDPONT =
// List of log labels that are omitted from logging
export const defaultExcludeLabels = [
"Telemetry",
// "Location",
"Location",
// "ValidatorPrefJob",
// "Block",
// "Gateway",
"Gateway",
];

/// Endpoint of the Kusama Thousand Validators backend. Used for the Polkadot program.
Expand All @@ -108,13 +108,13 @@ export const MONITOR_CRON = "0 */15 * * * *";
export const CLEAR_OFFLINE_CRON = "0 0 * * * *";

// Validity Cron Job. This runs every 20 minutes by default
export const VALIDITY_CRON = "0 0-59/8 * * * *";
export const VALIDITY_CRON = "0 0-59/5 * * * *";

// Execution Cron Job. This runs every 15 minutes by default
export const EXECUTION_CRON = "0 0-59/15 * * * *";
export const EXECUTION_CRON = "0 0-59/3 * * * *";

// Scorekeeper Cron Job. This runs every 30 minutes by default
export const SCOREKEEPER_CRON = "0 0-59/30 * * * *";
export const SCOREKEEPER_CRON = "0 0-59/5 * * * *";

// Reward claiming frequency. This runs every 45 minutes by default
export const REWARD_CLAIMING_CRON = "0 0-59/45 * * * *";
Expand All @@ -123,7 +123,7 @@ export const REWARD_CLAIMING_CRON = "0 0-59/45 * * * *";
export const CANCEL_CRON = "0 0-59/25 * * * *";

// Stale Nomination Frequency. This runs every 45 minutes by default
export const STALE_CRON = "0 0-59/45 * * * *";
export const STALE_CRON = "0 0-59/5 * * * *";

// Score Cron Job. This runs every 5 minutes by default
export const SCORE_CRON = "0 0-59/5 * * * *";
Expand All @@ -140,10 +140,10 @@ export const LOCATION_STATS_CRON = "0 0-59/5 * * * *";
export const ERA_POINTS_CRON = "0 0-59/15 * * * *";

// Active Validator Cron Job. This runs ever 12 minutes by default
export const ACTIVE_VALIDATOR_CRON = "0 0-59/12 * * * *";
export const ACTIVE_VALIDATOR_CRON = "0 0-59/5 * * * *";

// Inclusion Cron Job
export const INCLUSION_CRON = "0 0-59/15 * * * *";
export const INCLUSION_CRON = "0 0-59/5 * * * *";

// Unclaimed Era Cron Job. This runs every hour by default
export const UNCLAIMED_ERAS_CRON = "0 0 0-23/1 * * *";
Expand All @@ -152,10 +152,10 @@ export const UNCLAIMED_ERAS_CRON = "0 0 0-23/1 * * *";
export const VALIDATOR_PREF_CRON = "0 0-59/3 * * * *";

// Sesion Key Cron Job. This runs every 15 minutes by default
export const SESSION_KEY_CRON = "0 0-59/15 * * * *";
export const SESSION_KEY_CRON = "0 0-59/5 * * * *";

// Nominator Cron Job. This runs every 15 minutes by default
export const NOMINATOR_CRON = "0 0-59/17 * * * *";
export const NOMINATOR_CRON = "0 0-59/5 * * * *";

export const BLOCK_CRON = "0 0-59/1 * * * *";

Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/nominator/nominator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class Nominator extends EventEmitter {
totalScore = parseFloat(score[0].total);
}

const formattedScore = totalScore.toFixed(1);
const formattedScore = totalScore;

return {
stash: target,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1kv/core",
"version": "3.0.22",
"version": "3.0.23",
"description": "Services for running the Thousand Validator Program.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1kv/gateway",
"version": "3.0.22",
"version": "3.0.23",
"description": "Services for running the Thousand Validator Program.",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/scorekeeper-status-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@1kv/scorekeeper-status-ui",
"private": true,
"version": "3.0.22",
"version": "3.0.23",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion packages/telemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1kv/telemetry",
"version": "3.0.22",
"version": "3.0.23",
"description": "Services for running the Thousand Validator Program.",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1kv/worker",
"version": "3.0.22",
"version": "3.0.23",
"description": "Services for running the Thousand Validator Program.",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down