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

Adding errors to unsupported TypeUrls #1039

Closed
wants to merge 7 commits into from
Closed

Conversation

msteiner96
Copy link
Member

Resolves #1026

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.

A test or two that trigget the new error would be nice

packages/stargate/src/aminotypes.ts Show resolved Hide resolved
packages/stargate/src/aminotypes.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.

Looks good so far. I see two things as open:

  • Could you update this to latest main? (Check uniqueness of Amino type in fromAmino #1046 changed the code a bit)
  • Could you rename "no implemented" to "not supported" in the error text and config type? This seems to be matching a bit better when the type is implemented but buggy.

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.

Add authz and feegrant messages to default types
2 participants