Update account address
This commit is contained in:
parent
46fa64ab27
commit
84195a607d
@ -34,7 +34,8 @@ export const handler = async (argv: Arguments) => {
|
||||
assert(chainId, 'Invalid CNS Chain ID.');
|
||||
|
||||
const account = new Account(Buffer.from(privateKey, 'hex'));
|
||||
const fromAddress = account.formattedCosmosAddress;
|
||||
await account.init();
|
||||
const fromAddress = account.address;
|
||||
|
||||
const registry = new Registry(gqlEndpoint, restEndpoint, chainId);
|
||||
const fee = getGasAndFees(argv, cnsConfig);
|
||||
|
@ -51,7 +51,7 @@ describe('Test laconic CLI commands', () => {
|
||||
describe('laconic CNS commands', () => {
|
||||
const testAccount = process.env.TEST_ACCOUNT;
|
||||
assert(testAccount, 'TEST_ACCOUNT not set in env');
|
||||
const testAccount2 = 'ethm1vc62ysqu504at932jjq8pwrqgjt67rx6ggn5yu';
|
||||
const testAccount2 = 'laconic1pmuxrcnuhhf8qdllzuf2ctj2tnwwcg6yswqnyd';
|
||||
const initialAccountBalance = Number('100000000000000000000000000');
|
||||
|
||||
const testAuthorityName = 'laconic';
|
||||
|
Loading…
Reference in New Issue
Block a user