Skip to content

Commit c3bd411

Browse files
committed
fix: update validation types and improve Lazer configuration handling
1 parent 555df18 commit c3bd411

File tree

5 files changed

+326
-113
lines changed

5 files changed

+326
-113
lines changed

governance/xc_admin/packages/xc_admin_common/src/programs/core/core_functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
DownloadableProduct,
3333
PriceRawConfig,
3434
RawConfig,
35-
ValidationResult,
35+
CoreValidationResult,
3636
} from "../types";
3737
import { Program } from "@coral-xyz/anchor";
3838
import { PythOracle } from "@pythnetwork/client/lib/anchor";
@@ -309,7 +309,7 @@ export function validateUploadedConfig(
309309
existingConfig: Record<string, DownloadableProduct>,
310310
uploadedConfig: Record<string, DownloadableProduct>,
311311
cluster: PythCluster,
312-
): ValidationResult {
312+
): CoreValidationResult {
313313
try {
314314
const existingSymbols = new Set(Object.keys(existingConfig));
315315
const changes: Record<

0 commit comments

Comments
 (0)