Skip to content

Refactor libs' BN and Point away from monkey patches #3883

@kajoseph

Description

@kajoseph

The monkey patches and prototype overrides in the libs' crypto/bn.js and crypto/point.js cause issues when trying to use the underlying libraries elsewhere in projects.

These need to be refactored to at least use ES2015+ class-based inheritance as opposed to prototype overrides. Ideally, we could get rid of the dependence on BN.js and elliptic's Point altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions