From 4b0ba89b8b3179e3402c118d3b4763a0f01fc59b Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Sun, 5 May 2024 00:42:30 +0400 Subject: [PATCH 1/2] chore: linting --- brownie/network/contract.py | 2 +- brownie/network/middlewares/caching.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/brownie/network/contract.py b/brownie/network/contract.py index a8046c250..82f4f8c54 100644 --- a/brownie/network/contract.py +++ b/brownie/network/contract.py @@ -88,7 +88,7 @@ "moonscan": "MOONSCAN_TOKEN", "gnosisscan": "GNOSISSCAN_TOKEN", "base": "BASESCAN_TOKEN", - "blast": "BLASTSCAN_TOKEN" + "blast": "BLASTSCAN_TOKEN", } diff --git a/brownie/network/middlewares/caching.py b/brownie/network/middlewares/caching.py index 469904fa4..a62cebcf5 100644 --- a/brownie/network/middlewares/caching.py +++ b/brownie/network/middlewares/caching.py @@ -117,7 +117,7 @@ def start_block_filter_loop(self): @classmethod def get_layer(cls, w3: Web3, network_type: str) -> Optional[int]: - if CONFIG.settings['eager_caching'] is False: + if CONFIG.settings["eager_caching"] is False: # do not cache when user doesn't want it return None if network_type != "live": From 06c5f1ef0a73ac0f064f87dba2cf848b08564883 Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Sun, 5 May 2024 00:58:01 +0400 Subject: [PATCH 2/2] release: update changelog, bump version to v1.20.3 --- CHANGELOG.md | 9 +++++++++ brownie/_config.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb1cd1117..811ac917d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,17 @@ This changelog format is based on [Keep a Changelog](https://keepachangelog.com/ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased](https://github.com/eth-brownie/brownie) + +## [1.20.3](https://github.com/eth-brownie/brownie/tree/v1.20.3) - 2024-05-05 ### Added +- Config setting to disable short-term caching ([#1767](https://github.com/eth-brownie/brownie/pull/1767)) - Support for blast chain contract verification ([#1765](https://github.com/eth-brownie/brownie/pull/1765)) +- Support for additional anvil cmdline args ([#1756](https://github.com/eth-brownie/brownie/pull/1756)) + +### Fixed +- Target different blocks for live/dev networks when adding POA middleware ([#1769](https://github.com/eth-brownie/brownie/pull/1769)) +- Dict keys for nested tuples in returndata ([#1768](https://github.com/eth-brownie/brownie/pull/1768)) +- Solidity error code decoding ([#1758](https://github.com/eth-brownie/brownie/pull/1758)) ## [1.20.2](https://github.com/eth-brownie/brownie/tree/v1.20.2) - 2024-02-24 ### Added diff --git a/brownie/_config.py b/brownie/_config.py index b536f4e83..cef9e5f8b 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.2" +__version__ = "1.20.3" BROWNIE_FOLDER = Path(__file__).parent DATA_FOLDER = Path.home().joinpath(".brownie") diff --git a/setup.cfg b/setup.cfg index 7495dd6d4..f5fedd285 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.20.2 +current_version = 1.20.3 [bumpversion:file:setup.py] diff --git a/setup.py b/setup.py index 3bce0ac9a..af6c38a4c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( name="eth-brownie", packages=find_packages(), - version="1.20.2", # don't change this manually, use bumpversion instead + version="1.20.3", # 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,