File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " xian-core"
3
- version = " 1.0.2 "
3
+ version = " 1.0.4 "
4
4
description = " Xian Network Python ABCI Server for CometBFT"
5
5
authors = [
" Xian Network <[email protected] >" ]
6
6
readme = " README.md"
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ def run_command(command):
16
16
17
17
def node_up (with_bds = False ):
18
18
"""Start the node"""
19
+ cwd = os .getcwd ()
19
20
logger .info ("Starting Xian node..." )
20
21
21
22
if with_bds :
@@ -33,10 +34,10 @@ def node_up(with_bds=False):
33
34
return False
34
35
35
36
# Start Xian ABCI
36
- run_command (f'pm2 start " { sys . executable } -m xian. xian_abci" --name xian -f' )
37
+ run_command (f'cd { cwd } /src/xian && pm2 start xian_abci.py --name xian -f' )
37
38
38
39
# Start CometBFT
39
- run_command (f'pm2 start "cometbft node --rpc.laddr tcp://0.0.0.0:26657" --name cometbft -f' )
40
+ run_command (f'cd { cwd } && pm2 start "cometbft node --rpc.laddr tcp://0.0.0.0:26657" --name cometbft -f' )
40
41
41
42
logger .info ("Node started. Use 'xian logs' to view logs." )
42
43
return True
You can’t perform that action at this time.
0 commit comments