forked from cerc-io/laconic-sdk
Blind attempt to re-brand
This commit is contained in:
+2
-2
@@ -30,7 +30,7 @@ const auctionTests = (numBidders = 3) => {
|
||||
});
|
||||
|
||||
test('Reserve authority.', async () => {
|
||||
authorityName = `chiba-clonk-${Date.now()}`;
|
||||
authorityName = `laconic-${Date.now()}`;
|
||||
await registry.reserveAuthority({ name: authorityName }, accounts[0].privateKey, fee);
|
||||
});
|
||||
|
||||
@@ -115,7 +115,7 @@ if (!process.env.TEST_AUCTIONS_ENABLED) {
|
||||
test('skipping auction tests', () => {});
|
||||
} else {
|
||||
/**
|
||||
Running these tests requires name auctions enabled. In chiba-clonk repo run:
|
||||
Running these tests requires name auctions enabled. In laconicd repo run:
|
||||
|
||||
TEST_AUCTION_ENABLED=true ./init.sh
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ import {
|
||||
MessageMsgRevealBid
|
||||
} from './messages/auction';
|
||||
|
||||
const DEFAULT_WRITE_ERROR = 'Unable to write to chiba-clonk.';
|
||||
const DEFAULT_WRITE_ERROR = 'Unable to write to laconicd.';
|
||||
|
||||
// Parse Tx response from cosmos-sdk.
|
||||
export const parseTxResponse = (result: any, parseResponse?: (data: string) => any) => {
|
||||
|
||||
@@ -50,7 +50,7 @@ const nameserviceExpiryTests = () => {
|
||||
})
|
||||
|
||||
test('Reserve authority and set bond', async () => {
|
||||
authorityName = `chiba-clonk-${Date.now()}`;
|
||||
authorityName = `laconic-${Date.now()}`;
|
||||
await registry.reserveAuthority({ name: authorityName }, privateKey, fee);
|
||||
await registry.setAuthorityBond({ name: authorityName, bondId }, privateKey, fee);
|
||||
const [authority] = await registry.lookupAuthorities([authorityName]);
|
||||
@@ -102,7 +102,7 @@ if (!process.env.TEST_NAMESERVICE_EXPIRY) {
|
||||
test('skipping nameservice expiry tests', () => {});
|
||||
} else {
|
||||
/**
|
||||
Running these tests requires timers to be set. In chiba-clonk repo run:
|
||||
Running these tests requires timers to be set. In laconicd repo run:
|
||||
|
||||
TEST_NAMESERVICE_EXPIRY=true ./init.sh
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@ export const getConfig = () => {
|
||||
assert(process.env.PRIVATE_KEY);
|
||||
|
||||
return {
|
||||
chainId: process.env.COSMOS_CHAIN_ID || 'chibaclonk_9000-1',
|
||||
chainId: process.env.COSMOS_CHAIN_ID || 'laconic_9000-1',
|
||||
privateKey: process.env.PRIVATE_KEY,
|
||||
restEndpoint: process.env.CHIBA_CLONK_REST_ENDPOINT || 'http://localhost:1317',
|
||||
gqlEndpoint: process.env.CHIBA_CLONK_GQL_ENDPOINT || 'http://localhost:9473/api',
|
||||
restEndpoint: process.env.LACONICD_REST_ENDPOINT || 'http://localhost:1317',
|
||||
gqlEndpoint: process.env.LACONICD_GQL_ENDPOINT || 'http://localhost:9473/api',
|
||||
fee: {
|
||||
amount: '20',
|
||||
denom: 'aphoton',
|
||||
|
||||
Reference in New Issue
Block a user