Skip to content

Commit

Permalink
updated debug files (#166)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Anderson <[email protected]>
  • Loading branch information
dmikey authored Aug 30, 2024
1 parent b1a1ab4 commit 7b4d66d
Show file tree
Hide file tree
Showing 12 changed files with 141 additions and 77 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ dist/
runtime/
*.env
__debug*

*.exe
.b7s_*
*.exe
.vscode/
202 changes: 127 additions & 75 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,77 +1,129 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Head Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--peer-db",
"/tmp/b7s/head-peer-db",
"--function-db",
"/tmp/b7s/head-fdb",
"--log-level",
"debug",
"--port",
"9527",
"--role",
"head",
"--workspace",
"/tmp/debug/head",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident1/priv.bin",
"--rest-api",
":8081"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--peer-db",
"/tmp/b7s/worker-peer-db",
"--function-db",
"/tmp/b7s/worker-fdb",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Manager",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/manager",
"args": [
"-l",
"3333",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--allowed-peer",
"QmSz8bJZjg9gWfvrJjYibo4UhSo8dXYtpNRb4kxn28SoHG"
],
"cwd": "${workspaceFolder}"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Launch Head Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/head-db",
"--log-level",
"debug",
"--port",
"9527",
"--role",
"head",
"--workspace",
"/tmp/debug/head",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident1/priv.bin",
"--rest-api",
":8081"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker 1",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/worker1-db",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker 2",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/worker2-db",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident3/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker 3",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/worker3-db",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident4/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Manager",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/manager",
"args": [
"-l",
"3333",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--allowed-peer",
"QmSz8bJZjg9gWfvrJjYibo4UhSo8dXYtpNRb4kxn28SoHG"
],
"cwd": "${workspaceFolder}"
}
]
}
1 change: 1 addition & 0 deletions configs/testkeys/ident3/identity
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWDQrRTPyYGMtNigi4giFuN2mGSrVwz5CfqGeaz8vVJKTG
1 change: 1 addition & 0 deletions configs/testkeys/ident3/peerid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWDQrRTPyYGMtNigi4giFuN2mGSrVwz5CfqGeaz8vVJKTG
2 changes: 2 additions & 0 deletions configs/testkeys/ident3/priv.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@���PB�g7�{}`�仌���bGc5y�
5h�9�ϼJ�q���X��}s��-�D�8G�C
Expand Down
1 change: 1 addition & 0 deletions configs/testkeys/ident3/pub.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
 5h�9�ϼJ�q���X��}s��-�D�8G�C
1 change: 1 addition & 0 deletions configs/testkeys/ident3/pubkey.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CAESIDVowTm5z7xKH+Fx+P+yWL2gfXO6+C3CRAjooxc4R9hD
1 change: 1 addition & 0 deletions configs/testkeys/ident4/identity
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWQMjaFg6nypNHiahyzG7L3Vpgod9NfBxrUbj1n25KycKA
1 change: 1 addition & 0 deletions configs/testkeys/ident4/peerid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWQMjaFg6nypNHiahyzG7L3Vpgod9NfBxrUbj1n25KycKA
1 change: 1 addition & 0 deletions configs/testkeys/ident4/priv.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@�rW�,��B��K���Yts�8��P��۝��]���� �<G<��rr�l�_��j���N������)
1 change: 1 addition & 0 deletions configs/testkeys/ident4/pub.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
 � �<G<��rr�l�_��j���N������)
1 change: 1 addition & 0 deletions configs/testkeys/ident4/pubkey.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CAESINgM0zxHPJTil3JymmyzX466agf69PFOhQ4QiqSquJ0p

0 comments on commit 7b4d66d

Please sign in to comment.