792c1ff756
* evm: params * setup * bump commit * fixes * increase gas usage * tests * evm denom param * more config updates * update genesis * update ante handler * csdb param test * more tests and fixes * update statedb.Copy * lint * additional test * fix importer tests * fix AnteHandler test * minor update * revert * undo gas update * stringer test * changelog * fix csdb index error (#493) * attempt to fix * cleanup * add idx check * update csdb.Copy * update default hash * update querier * update rpc tests * fix estimate gas test Co-authored-by: noot <36753753+noot@users.noreply.github.com> Co-authored-by: noot <elizabethjbinks@gmail.com>
19 lines
687 B
Go
19 lines
687 B
Go
package types
|
|
|
|
import (
|
|
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
|
)
|
|
|
|
// NOTE: We can't use 1 since that error code is reserved for internal errors.
|
|
|
|
var (
|
|
// ErrInvalidState returns an error resulting from an invalid Storage State.
|
|
ErrInvalidState = sdkerrors.Register(ModuleName, 2, "invalid storage state")
|
|
|
|
// ErrChainConfigNotFound returns an error if the chain config cannot be found on the store.
|
|
ErrChainConfigNotFound = sdkerrors.Register(ModuleName, 3, "chain configuration not found")
|
|
|
|
// ErrInvalidChainConfig returns an error resulting from an invalid ChainConfig.
|
|
ErrInvalidChainConfig = sdkerrors.Register(ModuleName, 4, "invalid chain configuration")
|
|
)
|