From 984e58994596a05745e0ddd72cce5fefc6db8dd7 Mon Sep 17 00:00:00 2001 From: onmax Date: Tue, 19 Nov 2024 01:19:06 -0600 Subject: [PATCH] chore: more renaming --- server/utils/validators.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/utils/validators.ts b/server/utils/validators.ts index 04981f6..7c861c8 100644 --- a/server/utils/validators.ts +++ b/server/utils/validators.ts @@ -126,7 +126,7 @@ export type FetchValidatorsOptions = Zod.infer & { addre type FetchedValidator = Omit & { icon?: string score?: Score - sizeRatio?: number + dominanceRatio?: number } export async function fetchValidators(params: FetchValidatorsOptions): Result { @@ -172,7 +172,7 @@ export async function fetchValidators(params: FetchValidatorsOptions): Result` + dominanceRatio: sql` COALESCE( NULLIF(${tables.activity.dominanceRatioViaBalance}, -1), NULLIF(${tables.activity.dominanceRatioViaSlots}, -1)