Update laconic2d repo path in CI
All checks were successful
Tests / sdk_tests (pull_request) Successful in 19m36s

This commit is contained in:
Prathamesh Musale 2024-03-14 14:00:44 +05:30
parent 2e5fff814d
commit 5ec09c7d57
8 changed files with 11 additions and 8 deletions

View File

@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3
with:
path: "./laconic2d/"
repository: deep-stack/laconic2d # TODO: Use cerc-io/laconic2d
repository: cerc-io/laconic2d
fetch-depth: 0
ref: main
- name: Environment

View File

@ -1,6 +1,6 @@
# registry-sdk
Client library used by TS/JS applications to communicate with laconicd.
Client library used by TS/JS applications to communicate with laconic2d.
## Tests
@ -38,7 +38,7 @@ Follow these steps to run the tests:
- Run the tests with auctions enabled
- In laconicd repo run:
- In laconic2d repo run:
```bash
TEST_AUCTION_ENABLED=true ./scripts/init.sh clean
@ -58,7 +58,7 @@ Follow these steps to run the tests:
- Run the tests for record and authority expiry
- In laconicd repo run:
- In laconic2d repo run:
```bash
TEST_REGISTRY_EXPIRY=true ./scripts/init.sh clean
@ -87,7 +87,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 laconicd 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 laconic2d 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

@ -5,6 +5,7 @@ import * as bip39 from 'bip39';
import canonicalStringify from 'canonical-json';
import secp256k1 from 'secp256k1';
import { sha256 } from 'js-sha256';
import { toHex } from '@cosmjs/encoding';
import { encodeSecp256k1Pubkey } from '@cosmjs/amino';
import { DirectSecp256k1Wallet } from '@cosmjs/proto-signing';

View File

@ -115,7 +115,7 @@ if (!process.env.TEST_AUCTIONS_ENABLED) {
test('skipping auction tests', () => {});
} else {
/**
Running these tests requires name auctions enabled. In laconicd repo run:
Running these tests requires name auctions enabled. In laconic2d repo run:
TEST_AUCTION_ENABLED=true ./init.sh

View File

@ -1,4 +1,5 @@
import { sha256 } from 'js-sha256';
import { DeliverTxResponse, StdFee } from '@cosmjs/stargate';
import { RegistryClient } from './registry-client';

View File

@ -21,7 +21,7 @@ import { MsgCommitBidResponse, MsgRevealBidResponse } from './proto2/cerc/auctio
import { MsgCancelBondResponse, MsgCreateBondResponse, MsgRefillBondResponse, MsgWithdrawBondResponse } from './proto2/cerc/bond/v1/tx';
import { bankTypes } from './types/cosmos/bank/message';
const DEFAULT_WRITE_ERROR = 'Unable to write to laconicd.';
const DEFAULT_WRITE_ERROR = 'Unable to write to laconic2d.';
export const laconicDefaultRegistryTypes: ReadonlyArray<[string, GeneratedType]> = [
...defaultRegistryTypes,

View File

@ -103,7 +103,7 @@ if (!process.env.TEST_NAMESERVICE_EXPIRY) {
test('skipping nameservice expiry tests', () => {});
} else {
/**
Running these tests requires timers to be set. In laconicd repo run:
Running these tests requires timers to be set. In laconic2d repo run:
TEST_REGISTRY_EXPIRY=true ./init.sh

View File

@ -1,5 +1,6 @@
import * as Block from 'multiformats/block';
import { sha256 as hasher } from 'multiformats/hashes/sha2';
import * as dagCBOR from '@ipld/dag-cbor';
import * as dagJSON from '@ipld/dag-json';