Blind attempt to re-brand

This commit is contained in:
David Boreham 2022-09-28 13:20:15 -06:00
parent 27a176fbad
commit b07df23804
6 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# chiba-clonk-client
# laconic-client
## Tests
@ -12,7 +12,7 @@ Follow these steps to run the tests:
- Copy [.env.example](./.env.example) file and create a `.env` file.
- Clone the [chiba-clonk repo](https://github.com/vulcanize/chiba-clonk) and change to repo directory.
- Clone the [laconicd repo](https://github.com/cerc-io/laconicd) and change to repo directory.
- Run the chain using `./init.sh`.
@ -24,7 +24,7 @@ Follow these steps to run the tests:
- Copy the private key and assign it to variable `PRIVATE_KEY` in the `.env` file.
- Run the tests in chiba-clonk-client repo:
- Run the tests in laconic-client repo:
```bash
yarn test
@ -32,7 +32,7 @@ Follow these steps to run the tests:
- Run the tests with auctions enabled
- In chiba-clonk repo run:
- In laconicd repo run:
```bash
TEST_AUCTION_ENABLED=true ./init.sh
@ -52,7 +52,7 @@ Follow these steps to run the tests:
- Run the tests for record and authority expiry
- In chiba-clonk repo run:
- In laconicd repo run:
```bash
TEST_NAMESERVICE_EXPIRY=true ./init.sh
@ -81,7 +81,7 @@ Follow these steps to run the tests:
failed to execute message; message index: 0: Invalid signature.: unauthorized
```
- When sending `setRecord` message, an integer value passed in watcher attributes is parsed as float type in chiba-clonk while [unmarshalling json](https://pkg.go.dev/encoding/json#Unmarshal).
- When sending `setRecord` message, an integer value passed in watcher attributes is parsed as float type in laconicd while [unmarshalling json](https://pkg.go.dev/encoding/json#Unmarshal).
- `setRecord` message throws error when fileds in [Record](./src/types.ts) message are not assigned.
```

View File

@ -1,9 +1,9 @@
{
"name": "chiba-clonk-client",
"name": "laconic-client",
"version": "0.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "git@github.com:vulcanize/chiba-clonk-client.git",
"repository": "git@github.com:cerc-io/laconic-client.git",
"author": "",
"license": "UNLICENSED",
"devDependencies": {

View File

@ -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

View File

@ -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) => {

View File

@ -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

View File

@ -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',