Commit Graph

97 Commits

Author SHA1 Message Date
chonghe
7075ddf5e0 Add vm 2023-10-09 16:56:15 +08:00
Tan Chee Keong
80d423ff23 Fix 2023-10-09 16:53:05 +08:00
Tan Chee Keong
918f7ac72d Add vm 2023-10-09 16:50:16 +08:00
Tan Chee Keong
a0bab5a5ca Add set -e 2023-10-09 16:46:00 +08:00
chonghe
39bd86ae5d Add cargo-fmt 2023-10-05 22:30:46 +08:00
chonghe
7495a14861 Remove am and add vm subcommands 2023-10-05 21:58:26 +08:00
chonghe
fb1e1e7890 Edit exit message to avoid confusion 2023-10-05 21:37:34 +08:00
chonghe
0688991f87 Add local variables 2023-10-03 22:02:23 +08:00
chonghe
4ef39b0908 Add logging when there are changes 2023-10-03 20:49:10 +08:00
chonghe
57217aa4fa To be explicit in replacing the old file 2023-10-03 20:43:55 +08:00
chonghe
5e64c26d8c Fix indent and echo file not found 2023-10-03 20:40:13 +08:00
chonghe
976bcf3f1a Merge branch 'sigp:stable' into book-cli 2023-10-03 19:08:52 +08:00
chonghe
2c798e2777 move then to same line as if 2023-10-03 19:04:21 +08:00
chonghe
ff229b455f remove maxperf 2023-10-03 19:00:28 +08:00
chonghe
f34792abb3 Update scripts/cli.sh
Co-authored-by: Mac L <mjladson@pm.me>
2023-10-03 18:52:39 +08:00
chonghe
535933ea16 Update scripts/cli.sh
Co-authored-by: Mac L <mjladson@pm.me>
2023-10-03 18:52:02 +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
chonghe
f9a3c00518 Update local testnet script (#4733)
There is an issue with the file `scripts/local_testnet/start_local_testnet.sh` - when we use a non-default `$SPEC-PRESET` in `vars.env` it runs into an error: 
```
executing: ./setup.sh >> /home/ck/.lighthouse/local-testnet/testnet/setup.log
parse error: Invalid numeric literal at line 1, column 7
```
@jimmygchen found the issue and the updated script includes the flag `--spec $SPEC-PRESET`
2023-09-21 00:26:55 +00:00
chonghe
7cd6a18ae9 update 2023-09-15 23:20:02 +08:00
chonghe
4e4ec7e71b remove troubleshooting part 2023-09-15 23:16:57 +08:00
chonghe
27d1fb034d revise 2023-09-15 22:03:53 +08:00
chonghe
cb71c7580a add exist and update for future debug 2023-09-15 22:03:36 +08:00
chonghe
ab2574ccdf change back non-debug mode 2023-09-15 21:41:25 +08:00
chonghe
314745a094 add vm 2023-09-15 21:18:31 +08:00
chonghe
5a5bbe7b39 Merge pull request #3 from chong-he/unstable
Merge Unstable
2023-09-15 20:38:31 +08:00
chonghe
9091ebdd4c test 2023-09-15 20:02:05 +08:00
chonghe
34a149a207 Merge branch 'sigp:stable' into book-cli 2023-09-15 18:11:04 +08:00
chonghe
1aaca5b46c testing 2023-09-15 17:39:52 +08:00
chonghe
09f81a4dd2 testing 2023-09-15 17:12:21 +08:00
chonghe
f1c2b542fc test 2023-09-15 16:20:11 +08:00
chonghe
a16c586c09 test make cli 2023-09-15 15:56:56 +08:00
Age Manning
e4ed317b76 Add Experimental QUIC support (#4577)
## Issue Addressed

#4402 

## Proposed Changes

This PR adds QUIC support to Lighthouse. As this is not officially spec'd this will only work between lighthouse <-> lighthouse connections. We attempt a QUIC connection (if the node advertises it) and if it fails we fallback to TCP. 

This should be a backwards compatible modification. We want to test this functionality on live networks to observe any improvements in bandwidth/latency.

NOTE: This also removes the websockets transport as I believe no one is really using it. It should be mentioned in our release however.


Co-authored-by: João Oliveira <hello@jxs.pt>
2023-09-15 03:07:24 +00:00
chonghe
971bee38d1 remove vm.md 2023-09-15 09:39:32 +08:00
chonghe
7f2f9d1345 function 2023-09-15 09:38:10 +08:00
chonghe
ed31b6b077 comment 2023-09-06 16:39:52 +08:00
chonghe
a180809238 Revise cli.sh 2023-09-06 16:39:03 +08:00
chonghe
51b7de4717 Fixed permission 2023-09-06 11:33:07 +08:00
chonghe
fb6f3537bb Indentation and revision 2023-09-06 11:28:59 +08:00
chonghe
cb22bd3c5f remove files 2023-09-05 22:46:09 +08:00
chonghe
c3d1bf3719 Move cli.sh 2023-09-05 21:11:31 +08:00
chonghe
4f111a2e51 Update cli and makefile 2023-09-05 21:01:05 +08:00
chonghe
2d1325c6a1 change exit 1 2023-08-30 21:52:35 +08:00
chonghe
07b9a8fd86 test old cli_manual 2023-08-27 22:09:12 +08:00
chonghe
1e31d33f7d Correct cli.txt directory 2023-08-27 20:25:11 +08:00
chonghe
17786611a0 Update directory in Github 2023-08-27 19:07:35 +08:00
chonghe
e332bee66f Revise to update 2023-08-27 17:26:11 +08:00
chonghe
3c7002811e cli_manual 2023-08-18 08:18:02 +08:00
chonghe
1c1d50d219 update cmd 2023-08-09 21:18:46 +08:00
Mac L
d4170c5698 Fix cli.sh permissions 2023-08-07 11:59:38 +10:00
chonghe
090d20bb8c modified test-suite 2023-08-07 09:01:47 +08:00