Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

refactor: Remove the unnecessary chainId parameter #5949

@in74mz

Description

@in74mz

This is not a Bug Report, Feature Request, or related to Documentation

  • I have searched the existing issues

Is there an existing issue for this?

  • I have searched the existing issues

What's up?

Description

The toChecksumAddress() function had an unnecessary chainId parameter.
In fact, the chainId parameter is not used within the toChecksumAddress() function, so I've removed it because it might raise questions about why it exists when you want to use that function.
(web3.js/packages/web3-utils/types/index.d.ts)

Examples/References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.x1.0 related issuesBugAddressing a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions