This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add optional param hex to getTransaction and getBlock.
#5845
Merged
Muhammad-Altabba
merged 19 commits into
1.x
from
fix/5761/enable-hexToNumber-to-handle-large-numbers
Feb 23, 2023
Merged
Changes from 7 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f3886dc
update `hexToNumber` to return big numbers as strings
Muhammad-Altabba c3c132a
update a typo and whitespaces
Muhammad-Altabba 46f7a9d
allow `hexToNumber` to handle numbers smaller than `MIN_SAFE_INTEGER`
Muhammad-Altabba aa119ff
remove some newlines
Muhammad-Altabba 33ec247
fix `toNumber` test-cases and modify its signature
Muhammad-Altabba bfa61d2
clean some code at test/utils.toNumber.js
Muhammad-Altabba 4426daa
update CHANGELOG.md
Muhammad-Altabba dcec0ec
add `bigIntOnOverflow`optional param to `hexToNumber` and `toNumber`
Muhammad-Altabba 29f968a
add optional `hexFormat` to `getTransaction` and `getBlock`
Muhammad-Altabba b4eef63
update CHANGELOG.md
Muhammad-Altabba 9f7a030
update test cases for `utils.toNumber`
Muhammad-Altabba 1c2925c
Merge branch 'fix/5761/enable-hexToNumber-to-handle-large-numbers' of…
Muhammad-Altabba 32da100
fix accessing `this` if undefined at `formatOutput`
Muhammad-Altabba 5e28472
revert changes at `dist` folder
Muhammad-Altabba 893d266
update CHANGELOG.md
Muhammad-Altabba 2ef010f
use `this?.hexFormat` at `formatOutput`
Muhammad-Altabba 1ef98f6
updates `hexToNumber` documentation
Muhammad-Altabba 8920dac
Merge branch 'fix/5761/enable-hexToNumber-to-handle-large-numbers' of…
Muhammad-Altabba a51abcc
defaults `bigIntOnOverflow` to `false` in `hexToNumber` and `toNumber`
Muhammad-Altabba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.