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)