Skip to content

Commit

Permalink
Updating of evm-wallet version to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
blnkoff committed Apr 22, 2024
1 parent 0c63da3 commit 884a89b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion evm_extras/tools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import json
from eth_typing import AnyAddress
from evm_wallet import AsyncWallet, Wallet
from hexbytes import HexBytes
from web3 import AsyncWeb3, Web3
from typing import Optional
Expand Down Expand Up @@ -125,7 +126,7 @@ def validate_network(func):
@wraps(func)
def wrapper(self, *args, **kwargs):
network = self.network
wallet = self.wallet
wallet: Wallet | AsyncWallet = self.wallet

if network != wallet.network:
defi = self._defi_name or self.__class__.__name__
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = 'evm_extras'
version = '0.1.3'
version = '0.2.0'
description = 'The package containing utilities to develop Web3-based projects'
authors = ['Alexey <[email protected]>']
license = 'MIT'
Expand All @@ -23,14 +23,14 @@ packages = [{ include = 'evm_extras' }]
python = '^3.11'
web3 = "^6.12.0"
python-extras = "^0.1.6"
evm-wallet = "^1.2.0"
evm-wallet = "^2.0.2"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pytest-asyncio = "^0.23.2"
build = "^1.0.3"
twine = "^4.0.2"
pytest-evm = {version = "^0.1.0", extras = ["dotenv"]}
pytest = "^8.1.1"
pytest-asyncio = "^0.23.6"
pytest-evm = "^0.2.0"

[build-system]
requires = ['poetry-core']
Expand Down

0 comments on commit 884a89b

Please sign in to comment.