From ad4beea3046e0177c6260ed18c771d9ba503fa48 Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Thu, 23 May 2024 00:14:41 +0400 Subject: [PATCH 1/2] chore: lint --- brownie/network/transaction.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/brownie/network/transaction.py b/brownie/network/transaction.py index 7926a0ca6..138402fa1 100644 --- a/brownie/network/transaction.py +++ b/brownie/network/transaction.py @@ -216,7 +216,9 @@ def __init__( # await confirmation of tx in a separate thread which is blocking if # required_confs > 0 or tx has already confirmed (`blockNumber` != None) confirm_thread = threading.Thread( - target=self._await_confirmation, args=(tx.get("blockNumber"), required_confs), daemon=True + target=self._await_confirmation, + args=(tx.get("blockNumber"), required_confs), + daemon=True, ) confirm_thread.start() if is_blocking and (required_confs > 0 or tx.get("blockNumber")): From ef47c3602a6bf976ea44556c83a3d0e2f0ccac94 Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Thu, 23 May 2024 00:18:35 +0400 Subject: [PATCH 2/2] release: update changelog, bump version to v1.20.5 --- CHANGELOG.md | 5 +++++ brownie/_config.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6473f5b86..824351381 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/eth-brownie/brownie) +## [1.20.5](https://github.com/eth-brownie/brownie/tree/v1.20.5) - 2024-05-22 +### Fixed +- Handle missing `blockNumber` while awaiting confirmation ([#1774](https://github.com/eth-brownie/brownie/pull/1774)) +- Search parent paths for file import during source verification ([#1776](https://github.com/eth-brownie/brownie/pull/1776)) + ## [1.20.4](https://github.com/eth-brownie/brownie/tree/v1.20.4) - 2024-05-08 ### Fixed - Fall back to ABI when `Contract.from_explorer` compilation fails ([#1772](https://github.com/eth-brownie/brownie/pull/1772)) diff --git a/brownie/_config.py b/brownie/_config.py index f17b9a02f..2159a892e 100644 --- a/brownie/_config.py +++ b/brownie/_config.py @@ -19,7 +19,7 @@ from brownie._expansion import expand_posix_vars from brownie._singleton import _Singleton -__version__ = "1.20.4" +__version__ = "1.20.5" BROWNIE_FOLDER = Path(__file__).parent DATA_FOLDER = Path.home().joinpath(".brownie") diff --git a/setup.cfg b/setup.cfg index 05091dbc0..6fed16208 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.20.4 +current_version = 1.20.5 [bumpversion:file:setup.py] diff --git a/setup.py b/setup.py index 16a135c60..5ffa3870b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( name="eth-brownie", packages=find_packages(), - version="1.20.4", # don't change this manually, use bumpversion instead + version="1.20.5", # don't change this manually, use bumpversion instead license="MIT", description="A Python framework for Ethereum smart contract deployment, testing and interaction.", # noqa: E501 long_description=long_description,