-
Notifications
You must be signed in to change notification settings - Fork 553
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
feat: integrate with v0.52.x (2/n) #4423
Conversation
@julienrbrt the export genesis command is not working
|
besides the genesis export command, everything is ok for me |
The |
I also got some unhandled errors not in this PR. In the app.DistrKeeper.ValidatorHistoricalRewards.Set(ctx, collections.Join(sdk.ValAddress(validator), uint64(0)), distrtypes.NewValidatorHistoricalRewards(sdk.DecCoins{}, 1))
app.DistrKeeper.ValidatorCurrentRewards.Set(ctx, validator, distrtypes.NewValidatorCurrentRewards(sdk.DecCoins{}, 1))
app.DistrKeeper.ValidatorsAccumulatedCommission.Set(ctx, validator, distrtypes.InitialValidatorAccumulatedCommission())
app.DistrKeeper.ValidatorOutstandingRewards.Set(ctx, validator, distrtypes.ValidatorOutstandingRewards{Rewards: sdk.DecCoins{}}) and deprecated addresses decode in this file also |
Maybe we should avoid scaffolding |
we need refactor the |
wdyt remove the |
I tried to review the PR, but it was hard because there were many files and also too many plush file changes. So, I scaffolded a chain and some types so I could check all the codes and change, and these are all my suggestions; I think we don't need to solve everything in this PR. We can open issues to solve later and before the v29. wdyt? |
I'll check about export, but the rest was indeed planned for a follow-up |
good point on the error, made me remember we have errors/v2! Updated. The rest will be done in a follow up. |
Follow-up of #4289
The previous PR implemented the required changes for the app and the minimum changes for the modules.
The follow-up will do the two remaining tasks:
While the modules are working fine currently for 0.52, this bring them to the latest recommendations. The changes allows to make modules simpler, and baseapp and v2 compatible.