evmos / ethermint

Ethermint is a Cosmos SDK library for running scalable and interoperable EVM chains

Home Page:https://docs.evmos.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use new errors package due to deprecation

GAtom22 opened this issue · comments

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"