From 17ff3296ed54ff1cdce25747f2672a97cbb83df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Mlinari=C4=87?= <35880252+nmlinaric@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:45:38 +0200 Subject: [PATCH] fix: property name in base config typing (#300) --- packages/sdk/src/localConfig.ts | 6 +++--- packages/sdk/src/types/config.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/sdk/src/localConfig.ts b/packages/sdk/src/localConfig.ts index 64caca25c..df06d9bbf 100644 --- a/packages/sdk/src/localConfig.ts +++ b/packages/sdk/src/localConfig.ts @@ -27,7 +27,7 @@ export const localConfig: RawConfig = { }, ], nativeTokenSymbol: 'eth', - nativeTokenName: 'ether', + nativeTokenFullName: 'ether', nativeTokenDecimals: BigInt(18), blockConfirmations: 1, startBlock: BigInt(3054823), @@ -91,7 +91,7 @@ export const localConfig: RawConfig = { }, ], nativeTokenSymbol: 'eth', - nativeTokenName: 'ether', + nativeTokenFullName: 'ether', nativeTokenDecimals: BigInt(18), blockConfirmations: 1, startBlock: BigInt(425), @@ -136,7 +136,7 @@ export const localConfig: RawConfig = { name: 'Substrate', type: Network.SUBSTRATE, nativeTokenSymbol: 'pha', - nativeTokenName: 'pha', + nativeTokenFullName: 'pha', nativeTokenDecimals: BigInt(18), blockConfirmations: 1, bridge: '0x', diff --git a/packages/sdk/src/types/config.ts b/packages/sdk/src/types/config.ts index fbee26af8..870cdb0bd 100644 --- a/packages/sdk/src/types/config.ts +++ b/packages/sdk/src/types/config.ts @@ -24,7 +24,7 @@ export interface BaseConfig { type: T; bridge: string; nativeTokenSymbol: string; - nativeTokenName: string; + nativeTokenFullName: string; nativeTokenDecimals: BigInt; startBlock: BigInt; blockConfirmations: number;