Skip to content

make undefined check #735

make undefined check

make undefined check #735

Triggered via pull request October 24, 2024 17:38
Status Failure
Total duration 6m 22s
Artifacts

on-pull-request.yml

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

Annotations

3 errors
packages/permissionless/utils/erc20AllowanceOverride.test.ts > erc20AllowanceOverride > should return the correct structure for valid inputs: packages/permissionless/utils/erc20AllowanceOverride.ts#L27
InvalidAddressError: Address "0xSpenderAddress" 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:27:9 ❯ 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 "0xSpenderAddress" 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#L27
InvalidAddressError: Address "0xSpenderAddress" 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:27:9 ❯ 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 "0xSpenderAddress" is invalid.', version: '2.21.22', walk: 'Function<walk>' }
E2E-Coverage
Process completed with exit code 1.