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
feat: add metadata for IBC tokens #3104
feat: add metadata for IBC tokens #3104
Changes from 28 commits
b1359b2
4070c24
d0c2b83
d0662a4
ef8310a
e460e35
850ded9
9e7924a
e257dcb
21c81e5
dafd5f1
7763f74
a2b159f
663a0fd
737cba5
c30d23d
d894142
1640753
9501c78
de08338
324986c
e4e24d2
8001ff5
ff7e7ff
dac13bb
d16383b
c29568a
17f23ae
771dd3c
e94f138
2794a64
b97b8ee
bcfe839
b8e0f63
7091998
ab7c94f
a433aad
ca1304b
1c2626d
0e1c34e
b22484a
ec3d294
aaa6786
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
if we are running migrations such that all traces have metadata set, shouldn't we just make setting metadata a functionality of
SetDenomTrace
? This avoids accidental incidents where the trace is set but the metadata isn't. There should never be an instance when you want to set the denom trace without setting the metadata as well?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 guess we could do that, although
SetDenomTrace
is a setter function for a specific key in the store, so it would squeak to me a bit if we addSetDenomMetadata
there as well. Maybe we could have a helper function that wraps bothSetDenomTrace
andSetDenomMetadata
. Happy to hear other people's thoughts.