The tutorial bases on ignite 0.17.3, which itself uses tendermint/spm.
Adding import "github.com/tendermint/spm/cosmoscmd" and replacing this line by encCdc := cosmoscmd.MakeEncodingConfig(ModuleBasics) should behave the same, if I understood the code correctly.
If my assumption is correct, this change would simplify the tutorial, because app/encoding.go and app/param/proto.go could be omitted.
With the current ignite version,
the import has to be changed to "github.com/ignite/cli/ignite/pkg/cosmoscmd"
The tutorial bases on ignite 0.17.3, which itself uses tendermint/spm. Adding
import "github.com/tendermint/spm/cosmoscmd"
and replacing this line byencCdc := cosmoscmd.MakeEncodingConfig(ModuleBasics)
should behave the same, if I understood the code correctly.If my assumption is correct, this change would simplify the tutorial, because app/encoding.go and app/param/proto.go could be omitted.
With the current ignite version, the import has to be changed to
"github.com/ignite/cli/ignite/pkg/cosmoscmd"
_Originally posted by @l-wegner in https://github.com/cosmos/b9-checkers-academy-draft/pull/12#discussion_r943615706_