Implement command getting status

This commit is contained in:
nabarun 2022-04-26 15:39:58 +05:30 committed by Ashwin Phatak
parent 11482ab5c8
commit 7f09a16e2a
3 changed files with 5 additions and 7 deletions

View File

@ -14,7 +14,7 @@
"typescript": "^4.6.3" "typescript": "^4.6.3"
}, },
"dependencies": { "dependencies": {
"chiba-clonk-client": "https://github.com/vulcanize/chiba-clonk-client.git#ec31da8cdea79170a87caf6124d9c12cd54dfbe4", "chiba-clonk-client": "https://github.com/vulcanize/chiba-clonk-client.git#945672d15a4adf1cde8bbca290689aafa6de9f42",
"fs-extra": "^10.1.0", "fs-extra": "^10.1.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",

View File

@ -15,10 +15,8 @@ export const handler = async (argv: Arguments) => {
assert(gqlEndpoint, 'Invalid CNS GQL endpoint.'); assert(gqlEndpoint, 'Invalid CNS GQL endpoint.');
assert(chainId, 'Invalid CNS Chain ID.'); assert(chainId, 'Invalid CNS Chain ID.');
console.log('parse argv', restEndpoint, gqlEndpoint, chainId)
const registry = new Registry(restEndpoint, gqlEndpoint, chainId); const registry = new Registry(restEndpoint, gqlEndpoint, chainId);
// TODO: Implement getStatus method. const result = await registry.getStatus();
// const result = await registry.getStatus(); console.log(JSON.stringify(result, undefined, 2));
// console.log(JSON.stringify(result, undefined, 2));
} }

View File

@ -721,9 +721,9 @@ chalk@^2.4.1:
escape-string-regexp "^1.0.5" escape-string-regexp "^1.0.5"
supports-color "^5.3.0" supports-color "^5.3.0"
"chiba-clonk-client@https://github.com/vulcanize/chiba-clonk-client.git#ec31da8cdea79170a87caf6124d9c12cd54dfbe4": "chiba-clonk-client@https://github.com/vulcanize/chiba-clonk-client.git#945672d15a4adf1cde8bbca290689aafa6de9f42":
version "0.1.0" version "0.1.0"
resolved "https://github.com/vulcanize/chiba-clonk-client.git#ec31da8cdea79170a87caf6124d9c12cd54dfbe4" resolved "https://github.com/vulcanize/chiba-clonk-client.git#945672d15a4adf1cde8bbca290689aafa6de9f42"
dependencies: dependencies:
"@cosmjs/amino" "^0.28.1" "@cosmjs/amino" "^0.28.1"
"@cosmjs/crypto" "^0.28.1" "@cosmjs/crypto" "^0.28.1"