diff --git a/migrations/account_type/migration.go b/migrations/account_type/migration.go index cdd68592bd..a270963d6d 100644 --- a/migrations/account_type/migration.go +++ b/migrations/account_type/migration.go @@ -285,33 +285,33 @@ func (m *AccountTypeMigration) maybeConvertAccountType(staticType interpreter.St default: // Is it safe to do so? switch staticType { - case interpreter.PrimitiveStaticTypePublicAccount: + case interpreter.PrimitiveStaticTypePublicAccount: //nolint:staticcheck GoDeprecation return unauthorizedAccountReferenceType - case interpreter.PrimitiveStaticTypeAuthAccount: + case interpreter.PrimitiveStaticTypeAuthAccount: //nolint:staticcheck GoDeprecation return authAccountReferenceType - case interpreter.PrimitiveStaticTypeAuthAccountCapabilities, - interpreter.PrimitiveStaticTypePublicAccountCapabilities: + case interpreter.PrimitiveStaticTypeAuthAccountCapabilities, //nolint:staticcheck GoDeprecation + interpreter.PrimitiveStaticTypePublicAccountCapabilities: //nolint:staticcheck GoDeprecation return interpreter.PrimitiveStaticTypeAccount_Capabilities - case interpreter.PrimitiveStaticTypeAuthAccountAccountCapabilities: + case interpreter.PrimitiveStaticTypeAuthAccountAccountCapabilities: //nolint:staticcheck GoDeprecation return interpreter.PrimitiveStaticTypeAccount_AccountCapabilities - case interpreter.PrimitiveStaticTypeAuthAccountStorageCapabilities: + case interpreter.PrimitiveStaticTypeAuthAccountStorageCapabilities: //nolint:staticcheck GoDeprecation return interpreter.PrimitiveStaticTypeAccount_StorageCapabilities - case interpreter.PrimitiveStaticTypeAuthAccountContracts, - interpreter.PrimitiveStaticTypePublicAccountContracts: + case interpreter.PrimitiveStaticTypeAuthAccountContracts, //nolint:staticcheck GoDeprecation + interpreter.PrimitiveStaticTypePublicAccountContracts: //nolint:staticcheck GoDeprecation return interpreter.PrimitiveStaticTypeAccount_Contracts - case interpreter.PrimitiveStaticTypeAuthAccountKeys, - interpreter.PrimitiveStaticTypePublicAccountKeys: + case interpreter.PrimitiveStaticTypeAuthAccountKeys, //nolint:staticcheck GoDeprecation + interpreter.PrimitiveStaticTypePublicAccountKeys: //nolint:staticcheck GoDeprecation return interpreter.PrimitiveStaticTypeAccount_Keys - case interpreter.PrimitiveStaticTypeAuthAccountInbox: + case interpreter.PrimitiveStaticTypeAuthAccountInbox: //nolint:staticcheck GoDeprecation return interpreter.PrimitiveStaticTypeAccount_Inbox - case interpreter.PrimitiveStaticTypeAccountKey: + case interpreter.PrimitiveStaticTypeAccountKey: //nolint:staticcheck GoDeprecation return interpreter.AccountKeyStaticType } }