./finance/py-eth-utils, Common utility functions for ethereum codebases

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.10.0, Package name: py39-eth-utils-1.10.0, Maintainer: khorben

Common utility functions for codebases which interact with ethereum.


Master sites:

Filesize: 4494.718 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:26:13 by Nia Alarie | Files touched by this commit (119)
Log message:
finance: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 15:54:03 by Nia Alarie | Files touched by this commit (119)
Log message:
finance: Remove SHA1 hashes for distfiles
   2021-02-18 13:35:03 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(finance/py-eth-utils) Fix build by py36, UnicodeDecodeError:
   2021-02-07 21:06:01 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-eth-utils: also PLIST
   2021-02-07 21:01:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-eth-utils: updated to 1.10.0

eth-utils v1.10.0

Bugfixes

When a TypeError or ValueError is raised during \ 
:meth:`~eth_utils.applicators.apply_formatters_to_dict`, eth_utils appends some \ 
useful contextual information. It was trying to re-create the old exception, but \ 
that sometimes fails, like with a :class:`JSONDecodeError`, which expects more \ 
arguments in the constructor. So now we raise a basic TypeError or ValueError.
Update the type signature of :meth:`~eth_utils.address.to_canonical_address`, \ 
:meth:`~eth_utils.address.to_checksum_address`, and \ 
:meth:`~eth_utils.address.to_normalized_address` to allow bytes-typed address \ 
input.

Performance improvements

Significant speedup of :meth:`~eth_utils.hexadecimal.is_hex` and \ 
:meth:`~eth_utils.hexadecimal.is_hexstr`.
Significant speedup of :meth:`~eth_utils.address.is_address`. Running a test \ 
that abi-encodes an array of 10 addresses was about 67% faster.

Internal Changes - for eth-utils Contributors

Upgrade eth-hash to v0.3.1, to use its exported type annotations instead of \ 
casting the results.
   2020-11-25 12:13:19 by Nia Alarie | Files touched by this commit (3)
Log message:
Add PYTHON_VERSIONS_INCOMPATIBLE to packages that fail with 3.6.
   2020-10-08 21:09:05 by Pierre Pronchery | Files touched by this commit (4)
Log message:
py-bump2version: use in place of py-bumpversion

Bumps PKGREVISION in affected packages.
   2020-09-29 21:37:33 by Jonathan Perkin | Files touched by this commit (1)
Log message:
py-eth-utils: Try to fix dependencies.