Use new errors package due to deprecation
GAtom22 opened this issue · comments
Tom commented
Functionality in "github.com/cosmos/cosmos-sdk/types/errors"
is deprecated:
// Deprecated: functionality of this package has been moved to it's own module:
//
// cosmossdk.io/errors
//
// Please use the above module instead of this package.
Need to migrate all the errors (eg sdkerrors.Wrap
) from
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
to
errorsmod "cosmossdk.io/errors"