Skip to content

ethers.utils.zeroPad is undefined #1

@dranastos

Description

@dranastos

Im getting an error at this line

const value = ethers.utils.hexlify(ethers.utils.zeroPad(signerAddress, 32))

I removed the utils in ethers.utils. hexlify and changed to ether.hexlify and that took care of that issue.

however, ethers.utils.zeroPad doesnt work nor does ethers.zeroPad

Whats the solution to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions