Skip to content

Commit

Permalink
Upgrade to web3 v6
Browse files Browse the repository at this point in the history
  • Loading branch information
ninazo committed Nov 27, 2023
1 parent dad9d36 commit cb25d35
Show file tree
Hide file tree
Showing 4 changed files with 548 additions and 475 deletions.
2 changes: 1 addition & 1 deletion offchain/web3/contract_caller.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Optional, Any

from eth_abi import encode_abi, decode_abi # type: ignore[attr-defined]
from eth_abi import encode as encode_abi, decode as decode_abi # type: ignore[attr-defined]
from eth_utils import to_hex # type: ignore[attr-defined]

from offchain.concurrency import parmap
Expand Down
2 changes: 1 addition & 1 deletion offchain/web3/read_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Any, Literal, Optional, Union

import aiohttp
from eth_abi import decode_abi, encode_abi
from eth_abi import decode as decode_abi, encode as encode_abi
from eth_utils import to_hex
from web3 import Web3
from web3.eth import AsyncEth
Expand Down
Loading

0 comments on commit cb25d35

Please sign in to comment.