Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
show errors on make
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed Apr 29, 2024
1 parent 985197b commit 82ba6e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion allocmd/utilities/constants.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cliVersion = "1.0.2"
cliVersion = "1.0.3"

7 changes: 3 additions & 4 deletions allocmd/utilities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 82ba6e9

Please sign in to comment.