Skip to content

Commit 268f306

Browse files
authored
feat: update deps (#22)
1 parent 1cfbf1e commit 268f306

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
black == 22.10.0
1+
black==24.2.0
22
bumpversion == 0.6.0
33
isort == 5.10.1
4-
eth-brownie @ git+https://github.com/stakefish/[email protected]
4+
eth-brownie==1.20.7
55
pytest-asyncio == 0.20.3
66
pytest-mock == 3.10.0
77
twine == 6.0.0
8-
importlib-metadata == 7.1.0
8+
importlib-metadata == 7.0.1

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
web3==5.31.3
1+
web3==6.15.1
22
tenacity==8.1.0
3-
python-gitlab==4.3.0
3+
python-gitlab==5.6.0
4+
requests>=2.32.0

web3_utils/hash_event_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def hash_event_param(param: str):
5-
return str(Web3.toHex(Web3.solidityKeccak(["bytes"], [param])))
5+
return str(Web3.to_hex(Web3.solidity_keccak(["bytes"], [param])))

web3_utils/normalize_address.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def normalize_address(address: str) -> ChecksumAddress:
7-
if Web3.isAddress(address) == False:
7+
if Web3.is_address(address) == False:
88
raise InvalidAddress(address)
99

10-
return Web3.toChecksumAddress(HexStr(address))
10+
return Web3.to_checksum_address(HexStr(address))

0 commit comments

Comments
 (0)