Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(controller-utils): support bn.js v4 input to BN functions #4844

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 24, 2024

  1. feat: support bn.js v4 input to controller-utils BN functions

    Affected functions:
    - BNToHex
    - fractionBN
    - fromHex
    - toHex
    
    If input is v4 instance, return as v4. Otherwise use v5, as previously.
    legobeat committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f0fee88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e5dfd5 View commit details
    Browse the repository at this point in the history