diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b9915a1..0805e35b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.22.27 + +- More retryable JSON-RPC errors whitelisted. Now `{'code': -32005, 'message': 'limit exceeded'}`. + # 0.22.26 - Add `eth_defi.confirmation.check_nonce_mismatch` to verify our signed transactions diff --git a/eth_defi/chain.py b/eth_defi/chain.py index 78239812..ea02a9cd 100644 --- a/eth_defi/chain.py +++ b/eth_defi/chain.py @@ -147,10 +147,6 @@ def install_api_call_counter_middleware_on_provider(provider: JSONBaseProvider) api_counter = Counter() def factory(make_request: Callable[[RPCEndpoint, Any], Any], web3: "Web3"): - import ipdb - - ipdb.set_trace() - def middleware(method: RPCEndpoint, params: Any) -> Optional[RPCResponse]: api_counter[method] += 1 api_counter["total"] += 1 diff --git a/pyproject.toml b/pyproject.toml index 713306ae..34145507 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "web3-ethereum-defi" -version = "0.22.25" +version = "0.22.27" description = "Python library for Uniswap, Aave, ChainLink, Enzyme and other protocols on BNB Chain, Polygon, Ethereum and other blockchains" authors = ["Mikko Ohtamaa "] license = "MIT"