Skip to content

fix: add cosmos_proto implements#12639

Merged
mergify[bot] merged 3 commits intocosmos:mainfrom
pyramation:cosmos-proto-implements-interface
Jul 20, 2022
Merged

fix: add cosmos_proto implements#12639
mergify[bot] merged 3 commits intocosmos:mainfrom
pyramation:cosmos-proto-implements-interface

Conversation

@pyramation
Copy link
Contributor

@pyramation pyramation commented Jul 19, 2022

It seems that we're missing the cosmos_proto.implements_interface on many proposal messages/structs

this is a draft to discuss adding options in protos for better codegen tooling. It seems that the following messages/structs are meant to implement Content:

option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"

Would this be a breaking change? Happy to improve/amend this so it's mergeable.

related issue: #12640

@pyramation pyramation marked this pull request as ready for review July 20, 2022 00:17
@pyramation pyramation requested a review from a team July 20, 2022 00:17
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. Note, these are legacy proposals and most likely will not be used going forward.

@mergify mergify bot merged commit 64674ba into cosmos:main Jul 20, 2022
@tac0turtle
Copy link
Contributor

@AmauryM does this need to be back ported to 0.46?

@amaury1093
Copy link
Contributor

Maybe that's a question for @pyramation ? It's totally fine to backport it if you need it in v0.45 or v0.46

@pyramation
Copy link
Contributor Author

@AmauryM does this need to be back ported to 0.46?

we should definitely have this in 0.46 if we want codgen tooling, so I believe so!

@tac0turtle
Copy link
Contributor

@Mergifyio backport release/0.46.x

@mergify
Copy link
Contributor

mergify bot commented Jul 21, 2022

backport release/0.46.x

❌ No backport have been created

Details
  • Backport to branch release/0.46.x failed: Branch not found

@tac0turtle
Copy link
Contributor

https://github.com/Mergifyio backport release/v0.46.x

mergify bot pushed a commit that referenced this pull request Jul 21, 2022
It seems that we're missing the `cosmos_proto.implements_interface` on many proposal messages/structs

this is a draft to discuss adding options in protos for better codegen tooling. It seems that the following messages/structs are meant to implement `Content`:

```
option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"
```

Would this be a breaking change? Happy to improve/amend this so it's mergeable.

related issue: #12640

(cherry picked from commit 64674ba)
@mergify
Copy link
Contributor

mergify bot commented Jul 21, 2022

backport release/v0.46.x

✅ Backports have been created

Details

amaury1093 pushed a commit that referenced this pull request Jul 21, 2022
It seems that we're missing the `cosmos_proto.implements_interface` on many proposal messages/structs

this is a draft to discuss adding options in protos for better codegen tooling. It seems that the following messages/structs are meant to implement `Content`:

```
option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"
```

Would this be a breaking change? Happy to improve/amend this so it's mergeable.

related issue: #12640

(cherry picked from commit 64674ba)

Co-authored-by: Dan Lynch <pyramation@gmail.com>
@pyramation pyramation deleted the cosmos-proto-implements-interface branch July 22, 2022 18:46
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.

4 participants