ethjs-unit icon indicating copy to clipboard operation
ethjs-unit copied to clipboard

A simple module for handling Ethereum units.

Results 8 ethjs-unit issues
Sort by recently updated
recently updated
newest added

# ethjs-unit ## Issue Type - [x ] Bug (https://github.com/ethjs/ethjs-unit/blob/master/.github/CONTRIBUTING.md#bug-reports) - [ ] Feature (https://github.com/ethjs/ethjs-unit/blob/master/.github/CONTRIBUTING.md#feature-requests) ## Description We would like to gain insight into the process for pegging our non-native...

This PR fixes the issue https://github.com/ethjs/ethjs-unit/issues/6. Released as: `@ton.js/[email protected]` for testing and a as quick fix.

## Issue Type - [X] Bug (https://github.com/ethjs/ethjs-unit/blob/master/.github/CONTRIBUTING.md#bug-reports) - [ ] Feature (https://github.com/ethjs/ethjs-unit/blob/master/.github/CONTRIBUTING.md#feature-requests) ## Description The `toWei()` function will return incorrect results when passing numbers smaller than `1e-6` to it. For...

Someone already made a PR but I see this package not being updated for a long time. We are shipping 6 versions of bn.js because crypto dev aren't updating their...

Fixes #1 and also adds tests for the 2 missing branches (unrelated to this PR) so now coverage is 100% across the board.

## Issue Type - [x] Bug (https://github.com/ethjs/ethjs-unit/blob/master/.github/CONTRIBUTING.md#bug-reports) - [ ] Feature (https://github.com/ethjs/ethjs-unit/blob/master/.github/CONTRIBUTING.md#feature-requests) ## Description `#toWei` breaks for decimal inputs of "wei" and "noether" ## Steps to reproduce ```javascript // these...

This updates bn.js to its latest v4 version (i.e. `4.11.8`). Motivated by the fact that Web3.js (one of the largest users of this library) is also using this latest version....

Bumps [webpack](https://github.com/webpack/webpack) from 2.1.0-beta.15 to 5.94.0. Release notes Sourced from webpack's releases. v5.94.0 Bug Fixes Added runtime condition for harmony reexport checked Handle properly data/http/https protocols in source maps Make...

dependencies