message: name a magic number
diff: import { isAddress } from 'web3-utils';
  export function validateMerchantId(value: string) {
  + const subdomainFriendlyLength = 50;
  if (!value.trim().length) return 'This field is required';
  if (/[^a-z0-9]/.test(value))
  return 'The Merchant ID can only contain lowercase letters or numbers, no special characters';
  - else if (value.length > 50)
  - return `The Merchant ID cannot be more than 50 characters long. It is currently ${value.length} characters long`;
  + else if (value.length > subdomainFriendlyLength)
  + return `The Merchant ID cannot be more than ${subdomainFriendlyLength} characters long. It is currently ${value.length} characters long`;
  return '';
  }
  