Skip to content

Commit 44be0c1

Browse files
committed
conf: add ws endpoint in chain config
1 parent 0fb4353 commit 44be0c1

File tree

21 files changed

+41
-14
lines changed

21 files changed

+41
-14
lines changed

Cargo.lock

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ mkconfig NUM_NODES DATETIME *ARGS:
9999
--http-api "127.0.0.1:8004" \
100100
--chain-namespace 10101 \
101101
--parent-rpc-url "http://127.0.0.1:8545" \
102+
--parent-ws-url "ws://127.0.0.1:8545" \
102103
--parent-chain-id 31337 \
103104
--parent-ibox-contract "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1" \
104105
--key-manager-contract "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35" \
@@ -114,6 +115,7 @@ mkconfig_docker DATETIME *ARGS:
114115
--mode "increment-address" \
115116
--chain-namespace 10101 \
116117
--parent-rpc-url "http://127.0.0.1:8545" \
118+
--parent-ws-url "ws://127.0.0.1:8545" \
117119
--parent-chain-id 31337 \
118120
--parent-ibox-contract "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1" \
119121
--key-manager-contract "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35" \
@@ -129,6 +131,7 @@ mkconfig_nitro DATETIME *ARGS:
129131
--nitro-addr "localhost:55000" \
130132
--chain-namespace 412346 \
131133
--parent-rpc-url "http://127.0.0.1:8545" \
134+
--parent-ws-url "ws://127.0.0.1:8545" \
132135
--parent-chain-id 1337 \
133136
--parent-ibox-contract "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1" \
134137
--key-manager-contract "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35" \

test-configs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ To generate configs for all nodes in a new committee:
2626

2727
``` sh
2828
# see mkconfig.rs Args or `mkconfig --help` for more options
29-
just mkconfig 5 2025-01-09T02:00:00Z --seed 42
30-
just mkconfig 13 2025-01-09T02:00:00Z --nitro-addr "localhost:55000"
29+
just mkconfig 5 2025-09-01T02:00:00Z --seed 42
30+
just mkconfig 13 2025-09-01T02:00:00Z --nitro-addr "localhost:55000"
3131

3232
# recipe for docker env is fixed at 5 nodes
33-
just mkconfig_docker 2025-01-09T02:00:00Z --seed 42
33+
just mkconfig_docker 2025-09-01T02:00:00Z --seed 42
3434

3535
# recipe for nitro CI test, fixed at 2 nodes with nitro chain config
36-
just mkconfig_nitro 2025-01-09T02:00:00Z --seed 42
36+
just mkconfig_nitro 2025-09-01T02:00:00Z --seed 42
3737
```
3838

3939
### On test wallet mnemonic

test-configs/c0/node_0.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace = 10101
2525
[chain.parent]
2626
id = 31337
2727
rpc_url = "http://127.0.0.1:8545/"
28+
ws_url = "ws://127.0.0.1:8545/"
2829
ibox_contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
2930
block_tag = "finalized"
3031
key_manager_contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/c0/node_1.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace = 10101
2525
[chain.parent]
2626
id = 31337
2727
rpc_url = "http://127.0.0.1:8545/"
28+
ws_url = "ws://127.0.0.1:8545/"
2829
ibox_contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
2930
block_tag = "finalized"
3031
key_manager_contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/c0/node_2.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace = 10101
2525
[chain.parent]
2626
id = 31337
2727
rpc_url = "http://127.0.0.1:8545/"
28+
ws_url = "ws://127.0.0.1:8545/"
2829
ibox_contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
2930
block_tag = "finalized"
3031
key_manager_contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/c0/node_3.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace = 10101
2525
[chain.parent]
2626
id = 31337
2727
rpc_url = "http://127.0.0.1:8545/"
28+
ws_url = "ws://127.0.0.1:8545/"
2829
ibox_contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
2930
block_tag = "finalized"
3031
key_manager_contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/c0/node_4.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace = 10101
2525
[chain.parent]
2626
id = 31337
2727
rpc_url = "http://127.0.0.1:8545/"
28+
ws_url = "ws://127.0.0.1:8545/"
2829
ibox_contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
2930
block_tag = "finalized"
3031
key_manager_contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/docker/committee.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
effective_timestamp = "2025-09-01T20:00:00Z"
1+
effective_timestamp = "2025-09-01T02:00:00Z"
22

33
[[members]]
44
signing_key = "eiwaGN1NNaQdbnR9FsjKzUeLghQZsTLPjiL4RcQgfLoX"

test-configs/docker/node_0.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace = 10101
2525
[chain.parent]
2626
id = 31337
2727
rpc_url = "http://127.0.0.1:8545/"
28+
ws_url = "ws://127.0.0.1:8545/"
2829
ibox_contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
2930
block_tag = "finalized"
3031
key_manager_contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

0 commit comments

Comments
 (0)