Skip to content

Commit

Permalink
Numpy pin down (#224)
Browse files Browse the repository at this point in the history
- Take updates from #223
- Try to deal with Numpy 2.0 released incompatibilities, we still need to stick to older Numpy
- Have Github CI workflow to cover previously skipped old tests
  • Loading branch information
miohtama committed Aug 14, 2024
1 parent aefc8bb commit af88df1
Show file tree
Hide file tree
Showing 5 changed files with 1,973 additions and 1,606 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
JSON_RPC_POLYGON_ARCHIVE: ${{ secrets.JSON_RPC_POLYGON_ARCHIVE }}
JSON_RPC_POLYGON: ${{ secrets.JSON_RPC_POLYGON }}
JSON_RPC_ETHEREUM: ${{ secrets.JSON_RPC_ETHEREUM }}
ETHEREUM_JSON_RPC: ${{ secrets.JSON_RPC_ETHEREUM }}
# Disabled for now
# https://github.com/reviewdog/action-flake8/issues/40
# - name: Run flake8
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
- Fixed: Whitelist HTTP 403 Forbidden for dRPC as a retryable error
- Add: `wait_and_broadcast_multiple_nodes(inter_node_delay)` to fix Alchemy https://github.com/ethereum/go-ethereum/issues/26890
- Internal change: Move `deploy_guard()` to its own function and refactor Enzyme vault deployment to more manageable
- Dependencies: Numpy < 2.x for now as it breaks too much stuff, updating dependencies is a headache
- Add and fixed: Various logging and diagnostics lines


# 0.25.7

Expand Down
2 changes: 1 addition & 1 deletion eth_defi/uniswap_v3/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def decode_pool_created(web3: Web3, log: LogResult) -> dict:
return result


def decode_swap(web3: Web3, log: LogResult) -> dict:
def decode_swap(log: LogResult) -> dict:
"""Process swap event. The event signature is:
.. code-block::
Expand Down
Loading

0 comments on commit af88df1

Please sign in to comment.