This repository was archived by the owner on Dec 23, 2025. It is now read-only.
utils to compute withdrawal address #46
Annotations
2 errors
|
run-tests
Process completed with exit code 1.
|
|
test/withdrawal-execution.test.ts > getWithdrawalAddress > should return a valid withdrawal address:
src/messages/v2.2/withdrawal-execution.ts#L84
InvalidAddressError: Address "undefined" is invalid.
- Address must be a hex value of 20 bytes (40 hex characters).
- Address must match its checksum counterpart.
Version: viem@2.33.3
❯ encode node_modules/viem/utils/abi/encodePacked.ts:97:36
❯ Module.encodePacked node_modules/viem/utils/abi/encodePacked.ts:74:15
❯ Module.getWithdrawalAddress src/messages/v2.2/withdrawal-execution.ts:84:5
❯ test/withdrawal-execution.test.ts:16:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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 "undefined" is invalid.', version: '2.33.3', walk: 'Function<walk>' }
|