-
Notifications
You must be signed in to change notification settings - Fork 101
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
chore: cosmos-sdk bump to v0.50 #573
Conversation
Signed-off-by: Spoorthi <[email protected]>
valSet: validatorSet, | ||
valSigners: valSigners, | ||
accPrivKeys: genAccPrivKeys, | ||
} | ||
chain.BeginBlock() |
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 is happening between lines 263-281;
Copypasta?
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.
this will need to be handled when the tests are further fixed. Didnt want to lose the original code by removing it.
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 one comment on a file with a number of lines commented out and inserted exactly as in the commented section. Then followed by a slight variation. Reads unclear.
package gov | ||
|
||
import ( | ||
"cosmossdk.io/collections" | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" | ||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1" | ||
) | ||
|
||
type Keeper struct { | ||
govKeeper govkeeper.Keeper | ||
} | ||
|
||
// NewKeeper creates a new Keeper instance. | ||
func NewKeeper(govkeeper govkeeper.Keeper) Keeper { | ||
return Keeper{ | ||
govKeeper: govkeeper, | ||
} | ||
} | ||
|
||
// GetVote returns the vote of a voter on a proposal. | ||
func (k Keeper) GetVote(ctx sdk.Context, proposalID uint64, voterAddr sdk.AccAddress) (govtypes.Vote, bool) { | ||
vote, err := k.govKeeper.Votes.Get(ctx, collections.Join(proposalID, voterAddr)) | ||
if err != nil { | ||
return govtypes.Vote{}, false | ||
} | ||
return vote, true | ||
} |
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 imagine this had to be kept just because of our custom WASM Binding?
This PR upgrades the following on Archway
v0.45.0-archway
=>v0.50.0-archway
v7.4.0
=>v8.2.1
v0.47.11
=>v0.50.6
Additionally, at the protocol level it does the following
option (cosmos.msg.v1.service) = true;
Misc changes
v1.5.5
as thelatest
is not currently stable.