make undefined check #733
on-pull-request.yml
on: pull_request
Verify
/
Lint
10s
E2E-Coverage
6m 6s
Size
1m 39s
Matrix: Verify / Test
Verify
/
Build
55s
Matrix: Verify / Types
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.
|