-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let /auth/accounts/<address> client support 0.37-0.39 format #314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and nice flexible solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of typos
packages/sdk38/src/lcdapi/auth.ts
Outdated
/** | ||
* A Cosmos SDK base account. | ||
* | ||
* This type described the base account representation as returned |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: "describes"?
packages/sdk38/src/lcdapi/auth.ts
Outdated
* The public key of the account. This is not available on-chain as long as the account | ||
* did not send a transaction. | ||
* | ||
* This was a type/value object in Cosmos SDK 0.37, changed to bach32 in Cosmos SDK 0.38 ([1]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: "bech32"
packages/sdk38/src/lcdapi/utils.ts
Outdated
import { PubKey } from "../types"; | ||
|
||
/** | ||
* Convers an integer expressed as number or string to a number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: "Converts"
packages/sdk38/src/lcdapi/utils.ts
Outdated
} | ||
|
||
/** | ||
* Convers an integer expressed as number or string to a number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: "Converts"
2bd8479
to
5ad11bd
Compare
Based on #313.
This allows us to use one LCD API client for Comsos SDK 0.37-0.39.
Closes #302
Closes #312