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

Hotfix/bn #1945

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Hotfix/bn #1945

merged 1 commit into from
Mar 23, 2023

Conversation

dhruvkelawala
Copy link
Contributor

Issue / feature description

Without this fix, briq and other possible NFT projects might get this error


{
  "stack": "Error: invalid BigNumber string (argument=\"value\", value=\"7.04920443230228846156166599026193747582606128149089283666006214600411840512e+74\", code=INVALID_ARGUMENT, version=bignumber/5.7.0)\n    at J.makeError (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:6:31066)\n    at J.throwError (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:6:31192)\n    at J.throwArgumentError (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:6:31249)\n    at J.from (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:5:44707)\n    at Zf (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1236:1583)\n    at ILe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2611:24001)\n    at _p (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:77:20879)\n    at F1 (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:79:46452)\n    at u4 (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:79:41976)\n    at Z7 (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:79:41904)\n    at V5 (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:79:41754)\n    at Eh (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:79:37918)\n    at Yf (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:79:36808)\n    at oe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:122:1600)\n    at MessagePort.ne (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:122:1984)",
  "message": "invalid BigNumber string (argument=\"value\", value=\"7.04920443230228846156166599026193747582606128149089283666006214600411840512e+74\", code=INVALID_ARGUMENT, version=bignumber/5.7.0)",
  "reason": "invalid BigNumber string",
  "code": "INVALID_ARGUMENT",
  "argument": "value",
  "value": "7.04920443230228846156166599026193747582606128149089283666006214600411840512e+74"
}

    at ILe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2611:22841)
    at h2
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1455:609
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1455:156
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:190:19324
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at LLe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2611:24970)
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:190:19324
    at form
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:190:19324
    at KLe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2611:30728)
    at MN (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2628:2680)
    at _7 (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2370:5716)
    at TFe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2628:5046)
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at mXe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:3102:8603)
    at Suspense
    at ECe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2003:3070)
    at n (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:2003:2912)
    at div
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18440
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:193:3338
    at X2e (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:930:2471)
    at sw (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:585:4657)
    at ow (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:585:3062)
    at be (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1:18706)
    at lI (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:585:460)
    at cw (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:585:5120)
    at chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:585:5523
    at Jse (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:595:23389)
    at Dr (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:126:6275)
    at C6e (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:1377:122)
    at ice (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:595:23912)
    at rce (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:595:23654)
    at oce (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:595:24031)
    at kr (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:221:6130)
    at $ (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:39:178067)
    at BQe (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:3128:23678)
    at wt (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:96:9483)
    at he (chrome-extension://dlcobpjiigpikoobohmabehhmhfoodbb/main.js:231:3313)```

### Checklist

- [ ] Rebased to the last commit of the target branch (or merged)
- [ ] Code self-reviewed
- [ ] Code self-tested
- [ ] Tests updated (if needed)
- [ ] All tests are passing locally

Please keep your pull request as small as possible. If you need to make multiple changes, please create separate pull requests for each change. Create a draft pull request if you need early feedback. This will mark the pull request as a work in progress and prevent it from being reviewed or merged until you are ready.

Please move drafts to the ready for review (regular PR) when you are ready to start the review process and other developers will pick it up from there.

@dhruvkelawala dhruvkelawala changed the base branch from develop to main March 23, 2023 12:49
@github-actions
Copy link

Builds for local testing

@github-actions
Copy link

Builds for local testing

@sonarcloud
Copy link

sonarcloud bot commented Mar 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

0.0% 0.0% Coverage
2.1% 2.1% Duplication

@dhruvkelawala dhruvkelawala merged commit 19cf34a into main Mar 23, 2023
@dhruvkelawala dhruvkelawala deleted the hotfix/bn branch March 23, 2023 14:43
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