Skip to content

Commit

Permalink
chore: pin @ethersproject/bignumber to fix BigNumber pretty logging
Browse files Browse the repository at this point in the history
This ensures `BigNumber` constructor instance is the same across CLI and
SDK, and CLI's logging `util.inspect.custom` method properly pretty
print BigNumber instances in logs
  • Loading branch information
andrevmatos committed Oct 9, 2021
1 parent d14cbe7 commit 284d421
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"@types/node": "^14.17.21",
"jest-environment-jsdom": "^27.2.4",
"jest": "^27.2.4",
"**/redux-observable/rxjs": "^7.4.0"
"**/redux-observable/rxjs": "^7.4.0",
"@ethersproject/bignumber": "^5.4.2"
}
}
11 changes: 1 addition & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@
"@ethersproject/bytes" "^5.4.0"
"@ethersproject/properties" "^5.4.0"

"@ethersproject/[email protected]", "@ethersproject/bignumber@^5.4.2":
"@ethersproject/[email protected]", "@ethersproject/bignumber@^5.4.0", "@ethersproject/bignumber@^5.4.2":
version "5.4.2"
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.4.2.tgz#44232e015ae4ce82ac034de549eb3583c71283d8"
integrity sha512-oIBDhsKy5bs7j36JlaTzFgNPaZjiNDOXsdSgSpXRucUl+UA6L/1YLlFeI3cPAoodcenzF4nxNPV13pcy7XbWjA==
Expand All @@ -1494,15 +1494,6 @@
"@ethersproject/logger" "^5.4.0"
bn.js "^4.11.9"

"@ethersproject/bignumber@^5.4.0":
version "5.4.1"
resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.4.1.tgz#64399d3b9ae80aa83d483e550ba57ea062c1042d"
integrity sha512-fJhdxqoQNuDOk6epfM7yD6J8Pol4NUCy1vkaGAkuujZm0+lNow//MKu1hLhRiYV4BsOHyBv5/lsTjF+7hWwhJg==
dependencies:
"@ethersproject/bytes" "^5.4.0"
"@ethersproject/logger" "^5.4.0"
bn.js "^4.11.9"

"@ethersproject/[email protected]", "@ethersproject/bytes@^5.4.0":
version "5.4.0"
resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.4.0.tgz#56fa32ce3bf67153756dbaefda921d1d4774404e"
Expand Down

0 comments on commit 284d421

Please sign in to comment.