Commit Graph

95 Commits

Author SHA1 Message Date
Tan Chee Keong
b8df45373f set -e 2023-10-19 07:46:58 +08:00
chonghe
9b8b60e1a7 Add vm 2023-10-19 07:46:58 +08:00
Tan Chee Keong
2527720fb7 Fix 2023-10-19 07:46:58 +08:00
Tan Chee Keong
fe12ae2ce4 Add vm 2023-10-19 07:46:58 +08:00
Tan Chee Keong
2a7c65df47 Add set -e 2023-10-19 07:46:58 +08:00
chonghe
f340d22ff1 Add cargo-fmt 2023-10-19 07:46:57 +08:00
chonghe
fea0f81a0e Remove am and add vm subcommands 2023-10-19 07:46:57 +08:00
chonghe
6b39161c45 Edit exit message to avoid confusion 2023-10-19 07:46:57 +08:00
chonghe
404961b74f Add local variables 2023-10-19 07:46:57 +08:00
chonghe
1651f9871a Add logging when there are changes 2023-10-19 07:46:57 +08:00
chonghe
0c0843072f To be explicit in replacing the old file 2023-10-19 07:46:57 +08:00
chonghe
5e102ff5db Fix indent and echo file not found 2023-10-19 07:46:57 +08:00
chonghe
d78e8f47a1 move then to same line as if 2023-10-19 07:46:57 +08:00
chonghe
05ab3c5f9c remove maxperf 2023-10-19 07:46:57 +08:00
chonghe
3d7e27c504 Update scripts/cli.sh
Co-authored-by: Mac L <mjladson@pm.me>
2023-10-19 07:46:57 +08:00
chonghe
e2faed41c0 Update scripts/cli.sh
Co-authored-by: Mac L <mjladson@pm.me>
2023-10-19 07:46:57 +08:00
chonghe
12afd98258 update 2023-10-19 07:46:57 +08:00
chonghe
4feb11ccb0 remove troubleshooting part 2023-10-19 07:46:56 +08:00
chonghe
c8a396288e revise 2023-10-19 07:46:56 +08:00
chonghe
2f8b5a248e add exist and update for future debug 2023-10-19 07:46:56 +08:00
chonghe
1e0a04138d change back non-debug mode 2023-10-19 07:46:56 +08:00
chonghe
23221b131f add vm 2023-10-19 07:46:56 +08:00
chonghe
459002fc4a test 2023-10-19 07:46:56 +08:00
chonghe
ca46cec6e9 testing 2023-10-19 07:46:56 +08:00
chonghe
070d956d18 testing 2023-10-19 07:46:56 +08:00
chonghe
9db530610e test 2023-10-19 07:46:56 +08:00
chonghe
0a3a48bb0c test make cli 2023-10-19 07:46:56 +08:00
chonghe
46ea2cfa1b remove vm.md 2023-10-19 07:46:56 +08:00
chonghe
d05d94cbcf function 2023-10-19 07:46:56 +08:00
chonghe
3670fc7f2f comment 2023-10-19 07:46:56 +08:00
chonghe
c21a384fa7 Revise cli.sh 2023-10-19 07:46:56 +08:00
chonghe
1385907b2c Fixed permission 2023-10-19 07:46:56 +08:00
chonghe
e6a65cbeb2 Indentation and revision 2023-10-19 07:46:56 +08:00
chonghe
88eccf6cce remove files 2023-10-19 07:46:56 +08:00
chonghe
9d9316e479 Move cli.sh 2023-10-19 07:46:56 +08:00
chonghe
d46d43ccd2 Update cli and makefile 2023-10-19 07:46:55 +08:00
chonghe
0de2d89c1e change exit 1 2023-10-19 07:46:55 +08:00
chonghe
8d19bc2c26 test old cli_manual 2023-10-19 07:46:55 +08:00
chonghe
6f35ca4349 Correct cli.txt directory 2023-10-19 07:46:55 +08:00
chonghe
650ff79256 Update directory in Github 2023-10-19 07:46:55 +08:00
chonghe
5db9fc2108 Revise to update 2023-10-19 07:46:55 +08:00
chonghe
b65697260e cli_manual 2023-10-19 07:46:55 +08:00
chonghe
1ccc039b25 update cmd 2023-10-19 07:46:55 +08:00
Mac L
f935f221a2 Fix cli.sh permissions 2023-10-19 07:46:55 +08:00
chonghe
2b42e2568f modified test-suite 2023-10-19 07:46:55 +08:00
chonghe
f99c03fef7 update 2023-10-19 07:46:55 +08:00
chonghe
ef6f2c0732 update Makefile 2023-10-19 07:46:55 +08:00
chonghe
3700a60840 update bash script 2023-10-19 07:46:55 +08:00
chonghe
b3f803e13c Add cli.sh file 2023-10-19 07:46:55 +08:00
Jimmy Chen
fe3bd03234 Fix local testnet to generate keys in the correct folders (#4752)
Fix local testnet to generate keys in the correct folders when `BN_COUNT` and `VC_COUNT` don't match.

The current script place the generated validator keys in validator folders based on the `BN_COUNT` config, e.g. `node_1/validators`, `node_2/validators`..etc. We should be using `VC_COUNT` here instead, otherwise the number of validator clients may not match the number of directories generated, and would result in either:
1. a VC not having any keys  (when `BN_COUNT` < `VC_COUNT`)
2. a validator key directory not being used (when `BN_COUNT` > `VC_COUNT`).
2023-09-21 00:26:56 +00:00