-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
keys: define proto type #5997
keys: define proto type #5997
Conversation
…cosmos-sdk into fedekunze/5819-move-keys
…dekunze/5819-tm-keys
@alexanderbez
any suggestions on how to overcome this? |
@marbar3778 wdym it doesn't work? Do you have output or logs you can provide? AFAIK, codgen doesn't care where the |
logs:
i had the same issue in tendermint but had to separate things into different pkgs so didn't solve the issue. |
Mhh I'm not familiar with that error. However, |
Do we need to create a sub directory for it? Can we just merge it into the root |
did that in my latest push |
And how about placing |
@marbar3778 tests are failing:
(otherwise this looks good to me) |
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.
LGTM. Just asked for the future deprecation notice to be clarified.
"github.com/tendermint/tendermint/crypto/sr25519" | ||
) | ||
|
||
//TODO: Deprecate this file when tendermint 0.34 is released |
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.
Can you say a little bit more about why and what the condition is? Basically if interfacetype
can be used right?
Note that this might change based on our transition to Using a Not sure where the best place is to discuss this is, maybe this PR? Or maybe we merge this and refactor later? |
havent been keeping up with the proto work. Will close this pr and possibly open once I understand what is the new path for proto |
Description
This is a simpler approach to defining keys then redefining all the types.
cc @alexanderbez, @fedekunze let me know if your are fine with this approach
note: if a release of tendermint is used we will manually have to switch over the keys as [size]byte is used. this will be removed in the next release
Closes: #5819
Replaces #5868
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)