-
Notifications
You must be signed in to change notification settings - Fork 302
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
Refactor Denom to DenomMetadata for compatibility with Cosmos SDK #2520
Conversation
6c1d58b
to
06e9216
Compare
a056691
to
8ee9e16
Compare
8ee9e16
to
0d8ba48
Compare
0d8ba48
to
951f815
Compare
951f815
to
50543f9
Compare
50543f9
to
0816a2e
Compare
0816a2e
to
9c3cb80
Compare
9c3cb80
to
cb4827a
Compare
#[serde(try_from = "pb::Asset", into = "pb::Asset")] | ||
pub struct Asset { | ||
pub id: Id, | ||
pub denom: Denom, | ||
pub denom: DenomMetadata, | ||
} |
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.
What's the point of the Asset
proto message, now that we have DenomMetadata
?
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.
Hmm, yes, seems redundant. Should I add removing Asset
and replacing with DenomMetadata
to this refactor?
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 don't know. This PR is already terrifyingly large, maybe we should try to land it and then do the Asset
removal in another step?
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 was hoping you would suggest that :) sounds great
cb4827a
to
7e25939
Compare
This looks like a move in the right direction -- there are probably further things we'll want to do, but we should merge this now to avoid generating conflicts (cc @plaidfinch ) |
Matches changes in penumbra-zone/penumbra#2520
Closes #2310