Skip to content

allow fromwei and toWei to accept numbers as units

Codecov / codecov/patch failed May 22, 2024 in 1s

85.71% of diff hit (target 91.98%)

View this Pull Request on Codecov

85.71% of diff hit (target 91.98%)

Annotations

Check warning on line 501 in packages/web3-utils/src/converters.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/web3-utils/src/converters.ts#L501

Added line #L501 was not covered by tests

Check warning on line 569 in packages/web3-utils/src/converters.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/web3-utils/src/converters.ts#L569

Added line #L569 was not covered by tests