From d71773a3b175f3ab419cc32ee5e782b72028fa8c Mon Sep 17 00:00:00 2001 From: arthcp Date: Fri, 5 Jul 2024 18:34:13 +0400 Subject: [PATCH] feat: ethereum and neox finality change --- scripts/rpcConfig/constants/defaultFinalityBucket.ts | 1 - scripts/rpcConfig/constants/finality.ts | 5 +++++ scripts/rpcConfig/constants/version.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/rpcConfig/constants/defaultFinalityBucket.ts b/scripts/rpcConfig/constants/defaultFinalityBucket.ts index e6504b21..05f73eba 100644 --- a/scripts/rpcConfig/constants/defaultFinalityBucket.ts +++ b/scripts/rpcConfig/constants/defaultFinalityBucket.ts @@ -10,5 +10,4 @@ export const getDefaultFinalityBucket = ( export const defaultFinalityBucket = { [ChainSlug.POLYGON_MAINNET]: FinalityBucket.medium, - [ChainSlug.MAINNET]: FinalityBucket.medium, }; diff --git a/scripts/rpcConfig/constants/finality.ts b/scripts/rpcConfig/constants/finality.ts index 75a1a162..05010091 100644 --- a/scripts/rpcConfig/constants/finality.ts +++ b/scripts/rpcConfig/constants/finality.ts @@ -16,4 +16,9 @@ export const finalityOverrides: { [FinalityBucket.medium]: 256, [FinalityBucket.slow]: 1000, }, + [ChainSlug.NEOX_TESTNET]: { + [FinalityBucket.fast]: 1, + [FinalityBucket.medium]: 10, + [FinalityBucket.slow]: 100, + }, }; diff --git a/scripts/rpcConfig/constants/version.ts b/scripts/rpcConfig/constants/version.ts index 3360efb8..9adfb8d0 100644 --- a/scripts/rpcConfig/constants/version.ts +++ b/scripts/rpcConfig/constants/version.ts @@ -2,5 +2,5 @@ import { DeploymentMode } from "../../../src"; export const version = { [DeploymentMode.DEV]: "1.0.5", - [DeploymentMode.PROD]: "1.0.30", + [DeploymentMode.PROD]: "1.0.31", };