File tree Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 4040 run : |
4141 # Start the local testnet with mxpy
4242 mkdir -p ~/localnet && cd ~/localnet
43- mxpy localnet setup
44- nohup mxpy localnet start > localnet.log 2>&1 & echo $! > localnet.pid
43+ mxpy localnet setup --configfile=${GITHUB_WORKSPACE}/localnet.toml
44+ nohup mxpy localnet start --configfile=${GITHUB_WORKSPACE}/localnet.toml > localnet.log 2>&1 & echo $! > localnet.pid
4545 sleep 120 # Allow time for the testnet to fully start
4646
4747 # Step 6: Install Node.js and dependencies
Original file line number Diff line number Diff line change 11src /testdata /**
22src /testutils /**
3+ localnet.toml
Original file line number Diff line number Diff line change 1+ [general ]
2+ log_level = " *:DEBUG"
3+ genesis_delay_seconds = 10
4+ rounds_per_epoch = 50
5+ round_duration_milliseconds = 6000
6+
7+ [metashard ]
8+ consensus_size = 1
9+ num_observers = 0
10+ num_validators = 1
11+
12+ [shards ]
13+ num_shards = 3
14+ consensus_size = 1
15+ num_observers_per_shard = 0
16+ num_validators_per_shard = 1
17+
18+ [networking ]
19+ host = " 127.0.0.1"
20+ port_seednode = 9999
21+ port_seednode_rest_api = 10000
22+ p2p_id_seednode = " 16Uiu2HAkx4QqgXXDdHdUWbLu5kxhd3Uo2hqB2FfCxmxH5Sd7bZFk"
23+ port_proxy = 7950
24+ port_first_observer = 21100
25+ port_first_observer_rest_api = 10100
26+ port_first_validator = 21500
27+ port_first_validator_rest_api = 10200
28+
29+ [software .mx_chain_go ]
30+ resolution = " remote"
31+ archive_url = " https://github.com/multiversx/mx-chain-go/archive/refs/heads/master.zip"
32+ archive_download_folder = " ~/multiversx-sdk/localnet_software_remote/downloaded/mx-chain-go"
33+ archive_extraction_folder = " ~/multiversx-sdk/localnet_software_remote/extracted/mx-chain-go"
34+ local_path = " ~/multiversx-sdk/localnet_software_local/mx-chain-go"
35+
36+ [software .mx_chain_proxy_go ]
37+ resolution = " remote"
38+ archive_url = " https://github.com/multiversx/mx-chain-proxy-go/archive/refs/heads/master.zip"
39+ archive_download_folder = " ~/multiversx-sdk/localnet_software_remote/downloaded/mx-chain-proxy-go"
40+ archive_extraction_folder = " ~/multiversx-sdk/localnet_software_remote/extracted/mx-chain-proxy-go"
41+ local_path = " ~/multiversx-sdk/localnet_software_local/mx-chain-proxy-go"
You can’t perform that action at this time.
0 commit comments