From 75f0626095a11e3a0d0137f5aa30d1d40f1a6674 Mon Sep 17 00:00:00 2001 From: Troy Kessler <43882936+troykessler@users.noreply.github.com> Date: Fri, 10 Nov 2023 10:53:19 +0100 Subject: [PATCH] feat: migrate decimals and korellia-2 (#98) * feat: migrate decimals and korellia-2 --- common/protocol/package.json | 2 +- common/sdk/package.json | 2 +- common/sdk/src/constants.ts | 14 +++++++------- tools/kysor/package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common/protocol/package.json b/common/protocol/package.json index e258f6b5..8a5eace3 100644 --- a/common/protocol/package.json +++ b/common/protocol/package.json @@ -23,7 +23,7 @@ "@bundlr-network/client": "^0.8.9", "@cosmjs/proto-signing": "^0.27.1", "@cosmjs/stargate": "^0.27.1", - "@kyvejs/sdk": "1.1.0-rc0", + "@kyvejs/sdk": "1.1.0-rc1", "@kyvejs/types": "1.2.0-rc0", "@types/cli-progress": "^3.9.2", "@types/jsonfile": "^6.0.1", diff --git a/common/sdk/package.json b/common/sdk/package.json index bc60eb29..fbac2a4e 100644 --- a/common/sdk/package.json +++ b/common/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@kyvejs/sdk", - "version": "1.1.0-rc0", + "version": "1.1.0-rc1", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ diff --git a/common/sdk/src/constants.ts b/common/sdk/src/constants.ts index f23b1596..19d451fb 100644 --- a/common/sdk/src/constants.ts +++ b/common/sdk/src/constants.ts @@ -40,7 +40,7 @@ export const SUPPORTED_CHAIN_CONFIGS = { coinDecimals: 6, gasPrice: 0.02, }, - korellia: { + "korellia-2": { chainId: "korellia-2", chainName: "KYVE Korellia", rpc: "https://rpc-eu-1.korellia.kyve.network", @@ -48,7 +48,7 @@ export const SUPPORTED_CHAIN_CONFIGS = { coin: "KYVE", coinDenom: "tkyve", coinDecimals: 6, - gasPrice: 1, + gasPrice: 0.02, }, "kyve-beta": { chainId: "kyve-beta", @@ -57,8 +57,8 @@ export const SUPPORTED_CHAIN_CONFIGS = { rest: "https://api.beta.kyve.network", coin: "KYVE", coinDenom: "tkyve", - coinDecimals: 9, - gasPrice: 1, + coinDecimals: 6, + gasPrice: 0.02, }, "kyve-alpha": { chainId: "kyve-alpha", @@ -67,8 +67,8 @@ export const SUPPORTED_CHAIN_CONFIGS = { rest: "https://api.alpha.kyve.network", coin: "KYVE", coinDenom: "tkyve", - coinDecimals: 9, - gasPrice: 1, + coinDecimals: 6, + gasPrice: 0.02, }, "kyve-local": { chainId: "kyve-local", @@ -78,7 +78,7 @@ export const SUPPORTED_CHAIN_CONFIGS = { coin: "KYVE", coinDenom: "tkyve", coinDecimals: 6, - gasPrice: 1, + gasPrice: 0.02, }, }; diff --git a/tools/kysor/package.json b/tools/kysor/package.json index 1d338c11..c6364841 100644 --- a/tools/kysor/package.json +++ b/tools/kysor/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "@iarna/toml": "^2.2.5", - "@kyvejs/sdk": "1.1.0-rc0", + "@kyvejs/sdk": "1.1.0-rc1", "@kyvejs/types": "1.2.0-rc0", "axios": "^0.27.2", "bignumber.js": "^9.1.0",