make undefined check #733
Annotations
5 errors
Run tests & coverage:
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>' }
|
Run tests & coverage:
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>' }
|
Run tests & coverage:
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>' }
|
Run tests & coverage:
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>' }
|
Run tests & coverage
Process completed with exit code 1.
|
Loading