Skip to content

Commit

Permalink
deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 5, 2024
1 parent e48a950 commit 659219f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
7 changes: 6 additions & 1 deletion integration_tests/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,12 @@ def setup_custom_cronos(
if wait_port:
wait_for_port(ports.evmrpc_port(base_port))
wait_for_port(ports.evmrpc_ws_port(base_port))
c = Cronos(path / "cronos_777-1", chain_binary=chain_binary or "cronosd")
binary = next(
(b.strip() for b in chain_binary.split(",") if "cronosd" in b),
None,
)
chain_binary = binary if binary else "cronosd"
c = Cronos(path / "cronos_777-1", chain_binary=chain_binary)
w3_wait_for_block(c.w3, 1)
yield c
finally:
Expand Down
8 changes: 4 additions & 4 deletions integration_tests/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration_tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protobuf = "^4.25"
python-dateutil = "^2.8"
web3 = "^6.15"
python-dotenv = "^1.0"
pystarport = { git = "https://github.com/mmsqe/pystarport.git", branch = "fix_cmd" }
pystarport = { git = "https://github.com/crypto-com/pystarport.git", branch = "main" }
websockets = "^12.0"
toml = "^0"
jsonnet = "^0"
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/test_upgrade_with_ibc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ def ibc(tmp_path_factory):
for d in upgrades.iterdir():
d.chmod(mod)

binary = str(upgrades / "genesis/bin/cronosd")
yield from prepare_network(
path,
name,
incentivized=False,
connection_only=True,
post_init=post_init,
chain_binary=str(upgrades / "genesis/bin/cronosd"),
chain_binary=f"chain-maind,{binary}",
relayer=cluster.Relayer.RLY.value,
)

Expand Down
5 changes: 4 additions & 1 deletion nix/testenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ poetry2nix.mkPoetryEnv {
flake8-isort = [ "hatchling" ];
pyunormalize = [ "setuptools" ];
eth-bloom = [ "setuptools" ];
docker = [ "hatchling" "hatch-vcs" ];
docker = [
"hatchling"
"hatch-vcs"
];
};
in
lib.mapAttrs (
Expand Down

0 comments on commit 659219f

Please sign in to comment.