From 48507ca46ad302a26441b7a232648d9eb5d3e158 Mon Sep 17 00:00:00 2001 From: nabarun Date: Wed, 6 Apr 2022 10:16:38 +0530 Subject: [PATCH] Rename ethermint to chibaclonk --- README.md | 4 ++-- src/index.ts | 2 +- src/testing/helper.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aa2d29d..92d7737 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Follow these steps to run the tests: - Get the account details using: ```bash - ethermintd keys list + chibaclonkd keys list ``` - Use the address of key `mykey` and assign it to `ACCOUNT_ADDRESS` in the `.env` file. @@ -26,7 +26,7 @@ Follow these steps to run the tests: - To export the private key run: ```bash - ethermintd keys export mykey --unarmored-hex --unsafe + chibaclonkd keys export mykey --unarmored-hex --unsafe ``` - Copy the private key and assign it to variable `PRIVATE_KEY` in the `.env` file. diff --git a/src/index.ts b/src/index.ts index 71009de..0fbc3c1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ import { createTxMsgReserveAuthority, MessageMsgReserveAuthority } from './messa const DEFAULT_WRITE_ERROR = 'Unable to write to chiba-clonk.'; -export const DEFAULT_CHAIN_ID = 'ethermint_9000-1'; +export const DEFAULT_CHAIN_ID = 'chibaclonk_9000-1'; // Parse Tx response from cosmos-sdk. export const parseTxResponse = (result: any) => { diff --git a/src/testing/helper.ts b/src/testing/helper.ts index db71c63..63af956 100644 --- a/src/testing/helper.ts +++ b/src/testing/helper.ts @@ -5,7 +5,7 @@ export const getConfig = () => { assert(process.env.ACCOUNT_ADDRESS); return { - chainId: process.env.CHIBA_CLONK_CHAIN_ID || 'ethermint_9000-1', + chainId: process.env.CHIBA_CLONK_CHAIN_ID || 'chibaclonk_9000-1', privateKey: process.env.PRIVATE_KEY, accountAddress: process.env.ACCOUNT_ADDRESS, restEndpoint: process.env.CHIBA_CLONK_REST_ENDPOINT || 'http://localhost:1317',