diff --git a/e2e/e2etests/e2etests.go b/e2e/e2etests/e2etests.go index b56c673563..cabc1e394f 100644 --- a/e2e/e2etests/e2etests.go +++ b/e2e/e2etests/e2etests.go @@ -130,7 +130,7 @@ const ( TestCriticalAdminTransactionsName = "critical_admin_transactions" TestPauseERC20CustodyName = "pause_erc20_custody" TestMigrateERC20CustodyFundsName = "migrate_erc20_custody_funds" - TestMigrateTSSName = "migrate_TSS" + TestMigrateTSSName = "migrate_tss" TestSolanaWhitelistSPLName = "solana_whitelist_spl" TestOperationalFlagsName = "operational_flags" diff --git a/x/observer/types/errors.go b/x/observer/types/errors.go index 218521f242..edfd3040a1 100644 --- a/x/observer/types/errors.go +++ b/x/observer/types/errors.go @@ -46,10 +46,11 @@ var ( ErrObserverSetNotFound = errorsmod.Register(ModuleName, 1130, "observer set not found") ErrTssNotFound = errorsmod.Register(ModuleName, 1131, "tss not found") - ErrInboundDisabled = errorsmod.Register(ModuleName, 1132, "inbound tx processing is disabled") - ErrInvalidZetaCoinTypes = errorsmod.Register(ModuleName, 1133, "invalid zeta coin types") - ErrNotObserver = errorsmod.Register(ModuleName, 1134, "sender is not an observer") - ErrDuplicateObserver = errorsmod.Register(ModuleName, 1135, "observer already exists") - ErrObserverNotFound = errorsmod.Register(ModuleName, 1136, "observer not found") - ErrInvalidObserverAddress = errorsmod.Register(ModuleName, 1137, "invalid observer address") + ErrInboundDisabled = errorsmod.Register(ModuleName, 1132, "inbound tx processing is disabled") + ErrInvalidZetaCoinTypes = errorsmod.Register(ModuleName, 1133, "invalid zeta coin types") + ErrNotObserver = errorsmod.Register(ModuleName, 1134, "sender is not an observer") + ErrDuplicateObserver = errorsmod.Register(ModuleName, 1135, "observer already exists") + ErrObserverNotFound = errorsmod.Register(ModuleName, 1136, "observer not found") + ErrInvalidObserverAddress = errorsmod.Register(ModuleName, 1137, "invalid observer address") + ErrOperationalFlagsRestartHeightNegative = errorsmod.Register(ModuleName, 1138, "restart height cannot be negative") ) diff --git a/x/observer/types/operational.go b/x/observer/types/operational.go index fbc27454c4..2a4be035f6 100644 --- a/x/observer/types/operational.go +++ b/x/observer/types/operational.go @@ -1,13 +1,5 @@ package types -import ( - "errors" -) - -var ( - ErrOperationalFlagsRestartHeightNegative = errors.New("restart height cannot be negative") -) - func (f *OperationalFlags) Validate() error { if f.RestartHeight < 0 { return ErrOperationalFlagsRestartHeightNegative