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

Restore BN export #428

Merged
merged 1 commit into from
Mar 23, 2021
Merged

Restore BN export #428

merged 1 commit into from
Mar 23, 2021

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Mar 23, 2021

The BN export was removed in #398. I hadn't anticipated at the time that this would constitute a breaking change. It turns out that this export was relied upon in mobile in one place.

It has been temporarily restored, along with a comment that suggests we remove it in the next major version.

The `BN` export was removed in #398. I hadn't anticipated at the time
that this would constitute a breaking change. It turns out that this
export was relied upon in mobile in one place.

It has been temporarily restored, along with a comment that suggests
we remove it in the next major version.
@Gudahtt Gudahtt requested a review from a team as a code owner March 23, 2021 22:00
@Gudahtt
Copy link
Member Author

Gudahtt commented Mar 23, 2021

Here's where I found it being used: https://github.com/MetaMask/metamask-mobile/pull/2416/files#r599951773

@rickycodes
Copy link
Member

rickycodes commented Mar 23, 2021

It turns out that this export was relied upon in mobile in one place.

we should definitely fix that.

@Gudahtt Gudahtt merged commit 059129f into develop Mar 23, 2021
@Gudahtt Gudahtt deleted the re-add-BN-export branch March 23, 2021 22:39
rickycodes added a commit to MetaMask/metamask-mobile that referenced this pull request Mar 24, 2021
As mentioned in MetaMask/core#428 the `BN` export was removed in MetaMask/core#398. This is the only instance where it's being imported this way. We should update this now as the `BN` export will be removed from `controllers` in a future version.
rickycodes added a commit to MetaMask/metamask-mobile that referenced this pull request Mar 25, 2021
As mentioned in MetaMask/core#428 the `BN` export was removed in MetaMask/core#398. This is the only instance where it's being imported this way. We should update this now as the `BN` export will be removed from `controllers` in a future version.
cronny25 pushed a commit to cronny25/metamask-mobile that referenced this pull request Jul 27, 2022
As mentioned in MetaMask/core#428 the `BN` export was removed in MetaMask/core#398. This is the only instance where it's being imported this way. We should update this now as the `BN` export will be removed from `controllers` in a future version.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The `BN` export was removed in #398. I hadn't anticipated at the time
that this would constitute a breaking change. It turns out that this
export was relied upon in mobile in one place.

It has been temporarily restored, along with a comment that suggests
we remove it in the next major version.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The `BN` export was removed in #398. I hadn't anticipated at the time
that this would constitute a breaking change. It turns out that this
export was relied upon in mobile in one place.

It has been temporarily restored, along with a comment that suggests
we remove it in the next major version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants