Skip to content

make undefined check #733

make undefined check

make undefined check #733

Triggered via pull request October 24, 2024 16:14
Status Failure
Total duration 6m 16s
Artifacts

on-pull-request.yml

on: pull_request
Matrix: Verify / Test
Matrix: Verify / Types
Fit to window
Zoom out
Zoom in

Annotations

5 errors
packages/permissionless/utils/erc20AllowanceOverride.test.ts > erc20AllowanceOverride > should return the correct structure for valid inputs: packages/permissionless/utils/erc20AllowanceOverride.ts#L39
InvalidAddressError: Address "0xOwnerAddress" is invalid. - Address must be a hex value of 20 bytes (40 hex characters). - Address must match its checksum counterpart. Version: 2.21.22 ❯ encodeAddress node_modules/viem/utils/abi/encodeAbiParameters.ts:219:32 ❯ prepareParam node_modules/viem/utils/abi/encodeAbiParameters.ts:159:12 ❯ prepareParams node_modules/viem/utils/abi/encodeAbiParameters.ts:124:25 ❯ Module.encodeAbiParameters node_modules/viem/utils/abi/encodeAbiParameters.ts:97:26 ❯ Module.erc20AllowanceOverride packages/permissionless/utils/erc20AllowanceOverride.ts:39:21 ❯ packages/permissionless/utils/erc20AllowanceOverride.test.ts:18:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ '- Address must be a hex value of 20 bytes (40 hex characters).', '- Address must match its checksum counterpart.' ], shortMessage: 'Address "0xOwnerAddress" is invalid.', version: '2.21.22', walk: 'Function<walk>' }
packages/permissionless/utils/erc20AllowanceOverride.test.ts > erc20AllowanceOverride > should use the default amount when none is provided: packages/permissionless/utils/erc20AllowanceOverride.ts#L39
InvalidAddressError: Address "0xOwnerAddress" is invalid. - Address must be a hex value of 20 bytes (40 hex characters). - Address must match its checksum counterpart. Version: 2.21.22 ❯ encodeAddress node_modules/viem/utils/abi/encodeAbiParameters.ts:219:32 ❯ prepareParam node_modules/viem/utils/abi/encodeAbiParameters.ts:159:12 ❯ prepareParams node_modules/viem/utils/abi/encodeAbiParameters.ts:124:25 ❯ Module.encodeAbiParameters node_modules/viem/utils/abi/encodeAbiParameters.ts:97:26 ❯ Module.erc20AllowanceOverride packages/permissionless/utils/erc20AllowanceOverride.ts:39:21 ❯ packages/permissionless/utils/erc20AllowanceOverride.test.ts:41:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ '- Address must be a hex value of 20 bytes (40 hex characters).', '- Address must match its checksum counterpart.' ], shortMessage: 'Address "0xOwnerAddress" is invalid.', version: '2.21.22', walk: 'Function<walk>' }
packages/permissionless/utils/erc20BalanceOverride.test.ts > erc20BalanceOverride > should return the correct structure for valid inputs: packages/permissionless/utils/erc20BalanceOverride.ts#L25
InvalidAddressError: Address "0xOwnerAddress" is invalid. - Address must be a hex value of 20 bytes (40 hex characters). - Address must match its checksum counterpart. Version: 2.21.22 ❯ encodeAddress node_modules/viem/utils/abi/encodeAbiParameters.ts:219:32 ❯ prepareParam node_modules/viem/utils/abi/encodeAbiParameters.ts:159:12 ❯ prepareParams node_modules/viem/utils/abi/encodeAbiParameters.ts:124:25 ❯ Module.encodeAbiParameters node_modules/viem/utils/abi/encodeAbiParameters.ts:97:26 ❯ Module.erc20BalanceOverride packages/permissionless/utils/erc20BalanceOverride.ts:25:9 ❯ packages/permissionless/utils/erc20BalanceOverride.test.ts:17:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ '- Address must be a hex value of 20 bytes (40 hex characters).', '- Address must match its checksum counterpart.' ], shortMessage: 'Address "0xOwnerAddress" is invalid.', version: '2.21.22', walk: 'Function<walk>' }
packages/permissionless/utils/erc20BalanceOverride.test.ts > erc20BalanceOverride > should use the default balance when none is provided: packages/permissionless/utils/erc20BalanceOverride.ts#L25
InvalidAddressError: Address "0xOwnerAddress" is invalid. - Address must be a hex value of 20 bytes (40 hex characters). - Address must match its checksum counterpart. Version: 2.21.22 ❯ encodeAddress node_modules/viem/utils/abi/encodeAbiParameters.ts:219:32 ❯ prepareParam node_modules/viem/utils/abi/encodeAbiParameters.ts:159:12 ❯ prepareParams node_modules/viem/utils/abi/encodeAbiParameters.ts:124:25 ❯ Module.encodeAbiParameters node_modules/viem/utils/abi/encodeAbiParameters.ts:97:26 ❯ Module.erc20BalanceOverride packages/permissionless/utils/erc20BalanceOverride.ts:25:9 ❯ packages/permissionless/utils/erc20BalanceOverride.test.ts:39:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: [ '- Address must be a hex value of 20 bytes (40 hex characters).', '- Address must match its checksum counterpart.' ], shortMessage: 'Address "0xOwnerAddress" is invalid.', version: '2.21.22', walk: 'Function<walk>' }
E2E-Coverage
Process completed with exit code 1.