From 82ba6e98c3e89fdd044d4d57f1ab380b32384134 Mon Sep 17 00:00:00 2001 From: Tobi Okedeji Date: Mon, 29 Apr 2024 15:41:37 +0100 Subject: [PATCH] show errors on make --- allocmd/utilities/constants.py | 2 +- allocmd/utilities/utils.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/allocmd/utilities/constants.py b/allocmd/utilities/constants.py index 81c85a9..0a98771 100644 --- a/allocmd/utilities/constants.py +++ b/allocmd/utilities/constants.py @@ -1,2 +1,2 @@ -cliVersion = "1.0.2" +cliVersion = "1.0.3" diff --git a/allocmd/utilities/utils.py b/allocmd/utilities/utils.py index 1ec7f7b..fb962a2 100644 --- a/allocmd/utilities/utils.py +++ b/allocmd/utilities/utils.py @@ -31,17 +31,16 @@ def create_worker_account(worker_name, faucet_url, type='worker'): new_path = os.environ['PATH'] + os.pathsep + os.path.join(gopath, 'bin') env = os.environ.copy() env['PATH'] = new_path + print(f"allora-chain directory: {allora_chain_dir}") subprocess.run(['make', 'install'], cwd=allora_chain_dir, check=True, - stdout=subprocess.DEVNULL, - stderr=subprocess.DEVNULL) + stdout=subprocess.DEVNULL) subprocess.run(['make', 'init'], cwd=allora_chain_dir, env=env, check=True, - stdout=subprocess.DEVNULL, - stderr=subprocess.DEVNULL) + stdout=subprocess.DEVNULL) key_path = os.path.join(os.getcwd(), f'{worker_name}.{type}.key') with open(key_path, 'w') as file: