Skip to content

Commit

Permalink
Merge pull request #30 from iamdefinitelyahuman/v1.2.5
Browse files Browse the repository at this point in the history
v1.2.5
  • Loading branch information
iamdefinitelyahuman authored Feb 1, 2024
2 parents cfc9450 + 6611b63 commit ee4558e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ All notable changes to this project are documented in this file.
This changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/iamdefinitelyahuman/eth-event)\
## [Unreleased](https://github.com/iamdefinitelyahuman/eth-event)

## [1.2.5](https://github.com/iamdefinitelyahuman/eth-event/releases/tag/v1.2.5) - 2024-02-02
### Fixed
- Loosen dependencies
- Revert to `hexbytes<1`

## [1.2.4](https://github.com/iamdefinitelyahuman/eth-event/releases/tag/v1.2.4) - 2024-01-31
### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# eth-event

[![Pypi Status](https://img.shields.io/pypi/v/eth-event.svg)](https://pypi.org/project/eth-event/) [![Build Status](https://img.shields.io/github/workflow/status/iamdefinitelyahuman/eth-event/main%20workflow)](https://github.com/iamdefinitelyahuman/eth-event/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/iamdefinitelyahuman/eth-event)](https://codecov.io/gh/iamdefinitelyahuman/eth-event)
[![Pypi Status](https://img.shields.io/pypi/v/eth-event.svg)](https://pypi.org/project/eth-event/) [![Build Status](https://img.shields.io/github/actions/workflow/status/iamdefinitelyahuman/eth-event/main.yaml?branch=master)](https://github.com/iamdefinitelyahuman/eth-event/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/iamdefinitelyahuman/eth-event)](https://codecov.io/gh/iamdefinitelyahuman/eth-event)

Tools for Ethereum event decoding and topic generation.

Expand Down
4 changes: 2 additions & 2 deletions eth_event/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ def decode_traceTransaction(


def _0xstring(value: bytes) -> str:
# prepend bytes with 0x to avoid a breaking change from HexBytes v1
return f"0x{HexBytes(value).hex()}"
# placeholder, will be used to prepend bytes with 0x to avoid HexBytes v1 breaking change
return f"{HexBytes(value).hex()}"


def _params(abi_params: List) -> List:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.2.4
current_version = 1.2.5

[bumpversion:file:setup.py]

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="eth-event",
version="1.2.4", # do not edit directly, use bumpversion
version="1.2.5", # do not edit directly, use bumpversion
license="MIT",
description="Ethereum event decoder and topic generator",
long_description=long_description,
Expand All @@ -23,10 +23,10 @@
packages=find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.6, <4",
install_requires=[
"eth-abi>=5,<6",
"eth-abi>=4,<6",
"eth-hash[pycryptodome]>=0.2.0,<1.0.0",
"eth-utils>=3,<4",
"hexbytes>=1,<2",
"eth-utils>=2,<4",
"hexbytes<1",
],
classifiers=[
"Development Status :: 3 - Alpha",
Expand Down

0 comments on commit ee4558e

Please sign in to comment.