Skip to content
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

Compare Cosmos SDK v0.43-beta1 #2

Closed
wants to merge 50 commits into from
Closed

Conversation

willclarktech
Copy link
Contributor

@webmaster128 I'm not 100% on what I'm looking for here, but it looks pretty compatible overall.

Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

This is interesting. Bringing up some discussion with the Cosmos SDK team now. Let's not merge this for now.

@@ -189,7 +195,7 @@ export interface TallyResult {
export interface Vote {
proposalId: Long;
voter: string;
option: VoteOption;
options: WeightedVoteOption[];
Copy link
Member

Choose a reason for hiding this comment

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

This looks incompatible as we cannot use this type for 0.42 chains anymore. Was discussed here: cosmos/cosmos-sdk#7802 (comment)

@@ -74,6 +116,7 @@ export interface GetTxsEventRequest {
events: string[];
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
orderBy: OrderBy;
Copy link
Member

Choose a reason for hiding this comment

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

This requires clients to set a value which does not exist in 0.42. For some reason this enum field is required by ts-proto while the message field pagination is optional.

Copy link
Member

Choose a reason for hiding this comment

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

But with fromPartial this should not be an issue.

@@ -56,7 +55,7 @@ export interface QueryUpgradedConsensusStateRequest {
* RPC method.
*/
export interface QueryUpgradedConsensusStateResponse {
upgradedConsensusState?: Any;
upgradedConsensusState: Uint8Array;
Copy link
Member

Choose a reason for hiding this comment

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

This seems breaking as well (cosmos/cosmos-sdk#8673 (comment))

@webmaster128
Copy link
Member

Closing in favour of #4

@webmaster128 webmaster128 deleted the cosmos-sdk-0.43 branch October 12, 2022 14:04
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.

2 participants