Skip to content

Commit

Permalink
fix: dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
darwintree committed Aug 23, 2024
1 parent 3151662 commit eae6733
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"cfx-account>=1.0.0",
"cfx-utils>=1.0.2",
# "cached_property==1.5.2", # required by cfx-account
# "eth-account>=0.6.0,<0.7.0"
"eth-account<0.11.0"
], # add any additional packages that
# needs to be installed along with your package. Eg: 'caer'
extras_require=extras_require,
Expand Down
2 changes: 1 addition & 1 deletion tests/_test_helpers/ENV_SETTING.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import os

TAG = "2.3.1"
TAG = "2.4.0"
TESTNET_TAG = "2.3.0-3-testnet"
REPO_NAME = "confluxchain/conflux-rust"
DEV_IMAGE_FULL_NAME = f"{REPO_NAME}:{TAG}"
Expand Down
2 changes: 1 addition & 1 deletion tests/rpcs/test_cfx_rpcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_get_code(self, w3: Web3, contract_address: Base32Address):
assert isinstance(contract_code, bytes) # reorg might happen, so we only assert the variable type

user_code = w3.cfx.get_code(w3.cfx.account.create().address)
assert not user_code
assert user_code == HexBytes("0x")

def test_get_admin(self, w3: Web3, contract_address: Base32Address):
# test different cases
Expand Down

0 comments on commit eae6733

Please sign in to comment.