- Fix a bug where CCIP-Read expected a ``{sender}`` in the url for a POST request. If ``{data}`` is missing from the url, assume a POST request is being made regardless of whether ``{sender}`` is present. (`[#3291](https://github.com/ethereum/web3.py/issues/3291) <https://github.com/ethereum/web3.py/issues/3291>`__)
- Fix a bug where non-mainnet chains could not cache requests based on missing ``finalized`` block number. (`[#3508](https://github.com/ethereum/web3.py/issues/3508) <https://github.com/ethereum/web3.py/issues/3508>`__)
- Send ``json``, not ``data`` with CCIP-Read POST requests. (`[#3512](https://github.com/ethereum/web3.py/issues/3512) <https://github.com/ethereum/web3.py/issues/3512>`__)
Improved Documentation
Update the request caching documentation to clarify on when to reach for request caching and how to configure the request validation threshold for certain endpoints. ([#3508](https://github.com/ethereum/web3.py/issues/3508) <https://github.com/ethereum/web3.py/issues/3508>__)
Features
- Allow a time interval, in seconds, to be used as the ``request_cache_validation_threshold`` for request caching. Keep a list of internal default values based on the chain id for some of the bigger chains. (`[#3508](https://github.com/ethereum/web3.py/issues/3508) <https://github.com/ethereum/web3.py/issues/3508>`__)
web3.py v7.3.1 (2024-10-14)
Bugfixes
Properly wrap AsyncBeacon.request_timeout float in a aiohttp.ClientTimeout when making requests. ([#3503](https://github.com/ethereum/web3.py/issues/3503) <https://github.com/ethereum/web3.py/issues/3503>__)
Changes related to an eth-typing bugfix, input types for ABIEvent: ABIComponent -> ABIComponentIndexed. ([#3510](https://github.com/ethereum/web3.py/issues/3510) <https://github.com/ethereum/web3.py/issues/3510>__)
Improved Documentation
- Fix ``EthereumTesterProvider`` signature in docs, added an ``eth_tester`` example. (`[#3500](https://github.com/ethereum/web3.py/issues/3500) <https://github.com/ethereum/web3.py/issues/3500>`__)
- Fix `pip install -e ".[dev]"` command in linux README. (`[#3505](https://github.com/ethereum/web3.py/issues/3505) <https://github.com/ethereum/web3.py/issues/3505>`__)
Internal Changes - for web3.py Contributors
Update the ENSIP-15 to the latest spec and update the test suite. ([#3501](https://github.com/ethereum/web3.py/issues/3501) <https://github.com/ethereum/web3.py/issues/3501>__)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps web3 from 7.3.0 to 7.4.0.
Changelog
Sourced from web3's changelog.
Commits
c16b843
Bump version: 7.3.1 → 7.4.0daab3f4
Compile release notes for v7.4.011d0842
Remove caching decorator from base providers; fix typing:93b5fcd
Test all providers for request caching; add caching to IPCProvider7b60777
Changes from comments on PR #3508:0ecb934
Update request caching documentation120c3bd
Prevent recursion internally when caching requests; add tests:89d9a88
Add support for non-mainnet request cache validation thresholds:8125b3b
Add async changes for previous commit:cce32db
bugfix: CCIP-Read POST should send json data:Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show