-
Notifications
You must be signed in to change notification settings - Fork 371
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
Upgrade to Cosmos v0.46 #1477
Upgrade to Cosmos v0.46 #1477
Conversation
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Causes failed to load state at height errors
* add store tests for Borrow type * refactor Deposit tests to match
On the
|
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.
had a final look through, found a couple of small things I added to #1522 , but otherwise looks good for internal testnet 🚀
|
||
if rp.RewardsPerSecond.Amount.IsZero() { | ||
return fmt.Errorf("reward amount cannot be zero: %v", rp.RewardsPerSecond) | ||
} | ||
|
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.
nit: what was the reason for this change?
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.
It is passed to sdk.NewDecCoinsFromCoins
in the accumulator which would have the sdk bug in the method if it has a 0 amount
Version upgrades:
Note that Cosmos and Ethermint forked dependencies use a pseudo-version targeting the latest commits on the branches, and should be updated to use a tagged version when review of those dependecies are completed.