MCPcopy Create free account
hub / github.com/wevm/viem / constructor

Method constructor

src/zksync/errors/bytecode.ts:26–31  ·  view source on GitHub ↗
({ givenLengthInWords }: { givenLengthInWords: number })

Source from the content-addressed store, hash-verified

24
25export class BytecodeLengthInWordsMustBeOddError extends BaseError {
26 constructor({ givenLengthInWords }: { givenLengthInWords: number }) {
27 super(
28 `Bytecode length in 32-byte words must be odd. Given length in words: ${givenLengthInWords}`,
29 { name: 'BytecodeLengthInWordsMustBeOddError' },
30 )
31 }
32}
33
34export type BytecodeLengthMustBeDivisibleBy32ErrorType =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected