Skip to content
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

Add default stargaze amino types to cosmwasm client #1384

Merged

Conversation

NoahSaso
Copy link
Contributor

@NoahSaso NoahSaso commented Mar 7, 2023

The SigningStargazeClient exports its default registry types to be consumed by the SigningCosmWasmClient, with the wasm types added on top of the default registry. However, this was not being done for Amino types.

This PR exports the SigningStargateClient's default amino types to be consumed by the SigningCosmWasmClient, adding the wasm amino types on top, following the same pattern.

We ran into this issue over at DAO DAO when someone tried to use SigningCosmWasmClient to vote on a governance proposal. The PR to fix that is here: DA0-DA0/dao-dao-ui#1165
...though ideally I can undo that fix once this PR is merged and published.

Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM overall. Could you add a CHANGELOG entry to the Unreleased section?

packages/cosmwasm-stargate/src/signingcosmwasmclient.ts Outdated Show resolved Hide resolved
Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. When the linter is happy, this can go in.

Also could you add a CHANGELOG.md entry for the new symbol (Unreleased/Added section)?

packages/cosmwasm-stargate/src/signingcosmwasmclient.ts Outdated Show resolved Hide resolved
packages/stargate/src/signingstargateclient.ts Outdated Show resolved Hide resolved
@NoahSaso
Copy link
Contributor Author

NoahSaso commented Mar 8, 2023

Nice. When the linter is happy, this can go in.

Also could you add a CHANGELOG.md entry for the new symbol (Unreleased/Added section)?

Oops, forgot! On it.

@NoahSaso
Copy link
Contributor Author

NoahSaso commented Mar 9, 2023

dang the linter was still not satisfied 😫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants