Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 list of allowed packet data keys to Allocation of TransferAuthorization #5280
Add list of allowed packet data keys to Allocation of TransferAuthorization #5280
Changes from 24 commits
134df14
254b0b5
0543a9b
26a55d6
cc6abf7
695152a
ddec47c
180e419
92649be
97bf329
8f21fc9
9a90455
7f28ad5
65cc3ad
c42ba43
075b914
54ce770
062f9ee
3bcbdbe
576a8e6
a36979e
08b49a6
a04a68c
15c674b
154a3e0
6cb2914
1a1c9e3
a39cb4d
cb6b948
6f3e206
05c03c3
4d5cd53
6ef45f9
4bc9d00
6adf3b8
481489e
a74aaa2
7d00786
3352e26
1a0bb62
5673453
b003428
9d9d5a3
66bb1e7
aa3b5a1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Are we happy using an experimental feature? @damiannolan @DimitrisJim
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.
I'd have a preference not to use unstable features in general but considering this wouldn't affect our API in any way if its API changed (I'm reminded of this sdk issue cosmos/cosmos-sdk#18415) we should be gtg.
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.
In general I would avoid experimental features, especially since this is being used for an error message format
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.
I feel like this should add additional information here, "invalid memo" on its own wouldn't help me out too much 😄
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.
maybe we should just return an error rather than true/false and rename to something like
validateMemo
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.
yea, I do think this makes most sense.
false
leads to an err, it has no meaningful recovery option so should just omit it altogether.