Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 25, 2023

Bumps web3 from 5.24.0 to 6.10.0.

Changelog

Sourced from web3's changelog.

web3.py v6.10.0 (2023-09-21)

Breaking Changes (to Beta APIs)


- Breaking change to the API for interacting with a persistent websocket connection via ``AsyncWeb3`` and ``WebsocketProviderV2``. This change internalizes the ``provider.ws`` property and opts for a ``w3.ws`` API achieved via a new ``WebsocketConnection`` class. With these changes, ``eth_subscription`` messages now return the subscription id as the ``subscription`` param and the formatted message as the ``result`` param. (`[#3096](https://github.com/ethereum/web3.py/issues/3096) <https://github.com/ethereum/web3.py/issues/3096>`__)

Bugfixes


- Return `w3.eth.gas_price` when calculating time based gas price strategy for an empty chain. (`[#1149](https://github.com/ethereum/web3.py/issues/1149) &lt;https://github.com/ethereum/web3.py/issues/1149&gt;`__)
- Update `LogReceipt` and `TxReceipt` declarations. Remove `LogReceipt`'s `payload` and `topic` attributes. Refactor `LogEntry` to `LogReceipt`. (`[#3043](https://github.com/ethereum/web3.py/issues/3043) &lt;https://github.com/ethereum/web3.py/issues/3043&gt;`__)
- Fixes ``AsyncEth.max_priority_fee_per_gas``. It wasn't falling back to ``eth_feeHistory`` since the ``MethodUnavailable`` error was introduced. (`[#3084](https://github.com/ethereum/web3.py/issues/3084) &lt;https://github.com/ethereum/web3.py/issues/3084&gt;`__)

Improved Documentation

  • Update WebsocketProviderV2 documentation to reflect the new public websocket API via the WebsocketConnection class. ([#3096](https://github.com/ethereum/web3.py/issues/3096) &lt;https://github.com/ethereum/web3.py/issues/3096&gt;__)

Features


- Improved error messaging for exceptions from malformed JSON-RPC responses. (`[#3053](https://github.com/ethereum/web3.py/issues/3053) &lt;https://github.com/ethereum/web3.py/issues/3053&gt;`__)
- Enable filtering by non-indexed arguments for contract event ``get_logs()``. (`[#3078](https://github.com/ethereum/web3.py/issues/3078) &lt;https://github.com/ethereum/web3.py/issues/3078&gt;`__)
- Add ``eth_maxPriorityFeePerGas`` to ``exception_retry_middleware`` whitelist (`[#3090](https://github.com/ethereum/web3.py/issues/3090) &lt;https://github.com/ethereum/web3.py/issues/3090&gt;`__)
- Sync responses for ``WebsocketProviderV2`` open connections with requests via matching RPC ``id`` values. (`[#3096](https://github.com/ethereum/web3.py/issues/3096) &lt;https://github.com/ethereum/web3.py/issues/3096&gt;`__)
- Properly JSON encode ``AttributeDict``, ``bytes``, and ``HexBytes`` when sending a JSON-RPC request by utilizing the in-house ``Web3JsonEncoder`` class. (`[#3101](https://github.com/ethereum/web3.py/issues/3101) &lt;https://github.com/ethereum/web3.py/issues/3101&gt;`__)

Internal Changes - for web3.py Contributors
</code></pre>
<ul>
<li>Fix an issue with an IPC test present only on MacOSX. (<code>#929 &lt;https://github.com/ethereum/web3.py/issues/929&amp;gt;&lt;/code&gt;__)&lt;/li>
<li>Ignore flake8 rule F401 (unused import) in all <code>init.py</code> files (<code>#3097 &lt;https://github.com/ethereum/web3.py/issues/3097&amp;gt;&lt;/code&gt;__)&lt;/li>
</ul>
<h2>web3.py v6.9.0 (2023-08-23)</h2>
<p>Bugfixes</p>
<pre><code>

  • Fix the type for input in TxData from HexStr -&gt; HexBytes. ([#3074](https://github.com/ethereum/web3.py/issues/3074) &amp;lt;https://github.com/ethereum/web3.py/issues/3074&amp;gt;__)
  • Fix an issue with WebsocketProviderV2 when responses to a request aren't found in the cache (None values). ([#3075](https://github.com/ethereum/web3.py/issues/3075) &amp;lt;https://github.com/ethereum/web3.py/issues/3075&amp;gt;__)
  • Re-expose some websockets constants found in web3.providers.websocket.websocket via web3.providers.websocket. ([#3076](https://github.com/ethereum/web3.py/issues/3076) &amp;lt;https://github.com/ethereum/web3.py/issues/3076&amp;gt;__)
  • Return NotImplemented constant, rather than raising NotImplementedError for NamedElementOnion.__add__(), based on Python standards. ([#3080](https://github.com/ethereum/web3.py/issues/3080) &amp;lt;https://github.com/ethereum/web3.py/issues/3080&amp;gt;__)
    &lt;/tr&gt;&lt;/table&gt;
    </code></pre>
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>

<ul>
<li><a href="https://github.com/ethereum/web3.py/commit/994f96cb223f0d43977f770a2ff60327a4c99215&quot;&gt;&lt;code&gt;994f96c&lt;/code&gt;&lt;/a> Bump version: 6.9.0 → 6.10.0</li>
<li><a href="https://github.com/ethereum/web3.py/commit/2f95e699f2970237a33aa12a17d8dcf7053c105c&quot;&gt;&lt;code&gt;2f95e69&lt;/code&gt;&lt;/a> Compile release notes</li>
<li><a href="https://github.com/ethereum/web3.py/commit/5dca524331f5473308f31e5895e65cd224913d7d&quot;&gt;&lt;code&gt;5dca524&lt;/code&gt;&lt;/a> Handle edge case for initialized chain (<a href="https://redirect.github.com/ethereum/web3.py/issues/3103&quot;&gt;#3103&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/ethereum/web3.py/commit/66f239127d973f67f167b960d6826cd6afddf301&quot;&gt;&lt;code&gt;66f2391&lt;/code&gt;&lt;/a> newsfragment for <a href="https://redirect.github.com/ethereum/web3.py/issues/3101&quot;&gt;#3101&lt;/a&gt;&lt;/li>
<li><a href="https://github.com/ethereum/web3.py/commit/000719b8f31f45d15525c94bcacff5288f8f8d8d&quot;&gt;&lt;code&gt;000719b&lt;/code&gt;&lt;/a> Extend JSON encoding test to test nested AttributeDict objects</li>
<li><a href="https://github.com/ethereum/web3.py/commit/d505bef06f9786e35df05f51b0b49b5d76cf0037&quot;&gt;&lt;code&gt;d505bef&lt;/code&gt;&lt;/a> Properly JSON encode AttributeDict &amp; bytes types for RPC requests</li>
<li><a href="https://github.com/ethereum/web3.py/commit/2c5009b00ed9dff12519871b4193f5d46b606b66&quot;&gt;&lt;code&gt;2c5009b&lt;/code&gt;&lt;/a> newsfragment for <a href="https://redirect.github.com/ethereum/web3.py/issues/929&quot;&gt;#929&lt;/a&gt;&lt;/li>
<li><a href="https://github.com/ethereum/web3.py/commit/9f6b7a916683830e4cc6989a5ba971c87e8c6f3d&quot;&gt;&lt;code&gt;9f6b7a9&lt;/code&gt;&lt;/a> closes <a href="https://redirect.github.com/ethereum/web3.py/issues/929&quot;&gt;#929&lt;/a&gt;&lt;/li>
<li><a href="https://github.com/ethereum/web3.py/commit/d6d1084d155485ce6eb92408ee778aab016ee6d0&quot;&gt;&lt;code&gt;d6d1084&lt;/code&gt;&lt;/a> changes from comments on PR <a href="https://redirect.github.com/ethereum/web3.py/issues/3096&quot;&gt;#3096&lt;/a> &amp; minor cleanup</li>
<li><a href="https://github.com/ethereum/web3.py/commit/a17ff88f57e30b83423f51717aec635aa2ee53cd&quot;&gt;&lt;code&gt;a17ff88&lt;/code&gt;&lt;/a> Prevent circular import by moving around imports in init</li>
<li>Additional commits viewable in <a href="https://github.com/ethereum/web3.py/compare/v5.24.0...v6.10.0&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot compatibility score

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 <dependency name> 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](https://github.com/ethereum/web3.py) from 5.24.0 to 6.10.0.
- [Release notes](https://github.com/ethereum/web3.py/releases)
- [Changelog](https://github.com/ethereum/web3.py/blob/main/docs/releases.rst)
- [Commits](ethereum/web3.py@v5.24.0...v6.10.0)

---
updated-dependencies:
- dependency-name: web3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 25, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 25, 2023

Dependabot tried to add @uxio0 as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/evmos/safe-transaction-service/pulls/57/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the evmos/safe-transaction-service repository. // See: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants