Open julienrbrt opened 14 hours ago
@julienrbrt the export genesis command is not working
[IGNITE] error exporting state: genesis export error in mars: collections: not found: key 'no_key' of type github.com/cosmos/gogoproto/mars.mars.v1.Bla
besides the genesis export command, everything is ok for me
The app/export.go
file still has sdk.Context
declaration and sdk.ValAddressFromBech32(addr)
decode. Do you know if we have plans to cover the refactor later?
I also got some unhandled errors not in this PR. In the cmd/chaind/cmd/testnet.go
there is a block:
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 NewWeightedProposalMsg
method into the x/chain/module/simulation.go
file
we need refactor the FindAccount
method from x/module/simulation/helpers.go
wdyt remove the ErrSample
from x/module/types/errors.go
I tried to review the PR but have been having issues because there are many files and too many plush files chance. 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?
Follow-up of https://github.com/ignite/cli/pull/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.