# Snapshot report for `src/cli/validate/validations.test.ts`

The actual snapshot is saved in `validations.test.ts.snap`.

Generated by [AVA](https://avajs.dev).

## rejects MultipleUnsafe

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:MultipleUnsafe␊
    ␊
          contracts/test/cli/Validate.sol:53: Use of delegatecall is not allowed␊
              https://zpl.in/upgrades/error-002␊
          ␊
          contracts/test/cli/Validate.sol:58: Use of delegatecall is not allowed␊
              https://zpl.in/upgrades/error-002␊
          ␊
          contracts/test/cli/Validate.sol:44: Use of selfdestruct is not allowed␊
              https://zpl.in/upgrades/error-003`

## rejects HasUpgradeToConstructorUnsafe

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:HasUpgradeToConstructorUnsafe␊
    ␊
          contracts/test/cli/Validate.sol:33: Contract \`HasUpgradeToConstructorUnsafe\` has a constructor␊
              Define an initializer instead␊
              https://zpl.in/upgrades/error-001`

## rejects InheritsMultipleUnsafe

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:InheritsMultipleUnsafe␊
    ␊
          contracts/test/cli/Validate.sol:53: Use of delegatecall is not allowed␊
              https://zpl.in/upgrades/error-002␊
          ␊
          contracts/test/cli/Validate.sol:58: Use of delegatecall is not allowed␊
              https://zpl.in/upgrades/error-002␊
          ␊
          contracts/test/cli/Validate.sol:44: Use of selfdestruct is not allowed␊
              https://zpl.in/upgrades/error-003`

## rejects UpgradesFromUUPS

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:UpgradesFromUUPS (upgrades from contracts/test/cli/Validate.sol:HasUpgradeTo)␊
    ␊
          contracts/test/cli/Validate.sol:72: Implementation is missing a public \`upgradeTo(address)\` or \`upgradeToAndCall(address,bytes)\` function␊
              Inherit UUPSUpgradeable to include one or both of these functions in your contract␊
              @openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol␊
              https://zpl.in/upgrades/error-008`

## rejects UnsafeAndStorageLayoutErrors

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:UnsafeAndStorageLayoutErrors (upgrades from contracts/test/cli/Validate.sol:StorageV1)␊
    ␊
          contracts/test/cli/Validate.sol:97: Use of selfdestruct is not allowed␊
              https://zpl.in/upgrades/error-003␊
    ␊
          contracts/test/cli/Validate.sol:94: Layout changed for \`__gap\` (uint256[49] -> uint256[49])␊
            - Slot changed from 1 to 2␊
            > Set __gap array to size 48`

## rejects BecomesBadLayout

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:BecomesBadLayout (upgrades from contracts/test/cli/Validate.sol:BecomesSafe)␊
    ␊
          BecomesSafe: Deleted \`x\`␊
            > Keep the variable even if unused`

## rejects StillUnsafe

> Snapshot 1

    ` ✘  contracts/test/cli/Validate.sol:StillUnsafe (upgrades from contracts/test/cli/Validate.sol:NonUpgradeable)␊
    ␊
          contracts/test/cli/Validate.sol:119: Use of selfdestruct is not allowed␊
              https://zpl.in/upgrades/error-003`
