Skip to content

Commit 6a698cd

Browse files
committed
Use different IP address.
1 parent 5da36f5 commit 6a698cd

File tree

8 files changed

+55
-55
lines changed

8 files changed

+55
-55
lines changed

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ netsim: build_release build-test-utils
265265
--env RUST_LOG \
266266
--uid $(id -u) \
267267
--gid $(id -g) \
268-
--spawn "1:anvil --host 10.0.1.0 --port 8545" \
268+
--spawn "1:anvil --host 11.0.1.0 --port 8545" \
269269
--run "2:sleep 3" \
270-
--run "3:scripts/deploy-test-contract test-configs/linux/committee.toml http://10.0.1.0:8545" \
271-
--spawn "4:target/release/block-maker --bind 10.0.1.0:55000 -c test-configs/linux/committee.toml" \
270+
--run "3:scripts/deploy-test-contract test-configs/linux/committee.toml http://11.0.1.0:8545" \
271+
--spawn "4:target/release/block-maker --bind 11.0.1.0:55000 -c test-configs/linux/committee.toml" \
272272
--spawn "4:target/release/yapper -c test-configs/linux/committee.toml" \
273273
--spawn-as-root "5:target/release/run-committee -u $(id -u) -g $(id -g) -c test-configs/linux/" \
274274
target/release/block-checker -- -c test-configs/linux -b 200

test-configs/linux/committee.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,38 @@ effective_timestamp = "2025-09-01T02:00:00Z"
55
signing_key = "eiwaGN1NNaQdbnR9FsjKzUeLghQZsTLPjiL4RcQgfLoX"
66
dh_key = "AZrLbV37HAGhBWh49JHzup6Wfpu2AAGWGJJnxCDJibiY"
77
dkg_enc_key = "7PdmfTS45d2hTXB8NcrTmvDwUVBimpYBbrBaGnu3i5Ne65krVfUpbe7bYRHS3AEg7H"
8-
public_address = "10.0.0.1:8000"
9-
internal_api = "10.0.0.1:8003"
10-
http_api = "10.0.0.1:8004"
8+
public_address = "11.0.0.1:8000"
9+
internal_api = "11.0.0.1:8003"
10+
http_api = "11.0.0.1:8004"
1111

1212
[[members]]
1313
signing_key = "vGKKAxVNfkSCdn8qh36nXdSZqyhPq644sQBoeZtcEUCR"
1414
dh_key = "FHTJAk6oyt3jefEp1ZrPEn2MkqRt2LibEFd57AnEUZdb"
1515
dkg_enc_key = "7p1BtEz7WnFMt6Hr28X3Rngqza6i8hRoswhzZRFd6GzgkspLKHBfDocHP8DwzXiNiZ"
16-
public_address = "10.0.0.10:8010"
17-
internal_api = "10.0.0.10:8013"
18-
http_api = "10.0.0.10:8014"
16+
public_address = "11.0.0.10:8010"
17+
internal_api = "11.0.0.10:8013"
18+
http_api = "11.0.0.10:8014"
1919

2020
[[members]]
2121
signing_key = "264jMLf85hfufg4ck97Hw2jiL6i1PHNoGUqxUqfhtssaE"
2222
dh_key = "63eYNKoW2PsWZFhHHj3eZwHTdPE7gEjEDM7gGeDf9Uaj"
2323
dkg_enc_key = "62bnAAbU58zZUcGqy9JKGZRZHkm3g7JZB2DtJGQyChXQBPGvXSS6fF21yoxiVuD1eb"
24-
public_address = "10.0.0.20:8020"
25-
internal_api = "10.0.0.20:8023"
26-
http_api = "10.0.0.20:8024"
24+
public_address = "11.0.0.20:8020"
25+
internal_api = "11.0.0.20:8023"
26+
http_api = "11.0.0.20:8024"
2727

2828
[[members]]
2929
signing_key = "v6UBdLT5BvMhLW7iKv7M2xYeaW2SCAsnZ5PiSg6AaKfA"
3030
dh_key = "Do2GmAexW5MUdD8nToDiBWGbDgk1AwXoxtLTyirDtKQh"
3131
dkg_enc_key = "7aZBFZUEbXxFH9SiGJeUyjzas4mYJ1R13mTPsPeawVU7JFuocfvX9XsRT8qgr17RCe"
32-
public_address = "10.0.0.30:8030"
33-
internal_api = "10.0.0.30:8033"
34-
http_api = "10.0.0.30:8034"
32+
public_address = "11.0.0.30:8030"
33+
internal_api = "11.0.0.30:8033"
34+
http_api = "11.0.0.30:8034"
3535

3636
[[members]]
3737
signing_key = "tV66KknkDH47hRSNzwJtt7Q7EZtxVxQsNnUGoAJdDn6J"
3838
dh_key = "HXaesvEGFiDgrVTix1fKzSLTarFexTZSJD6ymSrF7vPL"
3939
dkg_enc_key = "6R69TzDg3jo1MTex9Uter9XQud458YPpSvXirkYdS295PV81CRvgz5jVWQbkCpZnYV"
40-
public_address = "10.0.0.40:8040"
41-
internal_api = "10.0.0.40:8043"
42-
http_api = "10.0.0.40:8044"
40+
public_address = "11.0.0.40:8040"
41+
internal_api = "11.0.0.40:8043"
42+
http_api = "11.0.0.40:8044"

test-configs/linux/net.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
[nat]
22
table = "nat"
33
device = "eth0"
4-
cidr = "10.0.0.0/8"
4+
cidr = "11.0.0.0/8"
55

66
[bridge]
77
name = "bridge"
8-
cidr = "10.0.1.0/16"
8+
cidr = "11.0.1.0/16"
99

1010
[[device]]
1111
node = "node_0"
1212
name = "dev1"
13-
cidr = "10.0.0.1/16"
13+
cidr = "11.0.0.1/16"
1414
delay = "50ms"
1515
jitter = "50ms"
1616

1717
[[device]]
1818
node = "node_1"
1919
name = "dev2"
20-
cidr = "10.0.0.10/16"
20+
cidr = "11.0.0.10/16"
2121
delay = "50ms"
2222
jitter = "50ms"
2323

2424
[[device]]
2525
node = "node_2"
2626
name = "dev3"
27-
cidr = "10.0.0.20/16"
27+
cidr = "11.0.0.20/16"
2828
delay = "50ms"
2929
jitter = "50ms"
3030

3131
[[device]]
3232
node = "node_3"
3333
name = "dev4"
34-
cidr = "10.0.0.30/16"
34+
cidr = "11.0.0.30/16"
3535
delay = "50ms"
3636
jitter = "50ms"
3737

3838
[[device]]
3939
node = "node_4"
4040
name = "dev5"
41-
cidr = "10.0.0.40/16"
41+
cidr = "11.0.0.40/16"
4242
delay = "50ms"
4343
jitter = "50ms"

test-configs/linux/node_0.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
stamp = "/tmp/timeboost.0.stamp"
22

33
[net.public]
4-
address = "10.0.0.1:8000"
5-
http-api = "10.0.0.1:8004"
4+
address = "11.0.0.1:8000"
5+
http-api = "11.0.0.1:8004"
66

77
[net.internal]
8-
address = "10.0.0.1:8003"
9-
nitro = "10.0.1.0:55000"
8+
address = "11.0.0.1:8003"
9+
nitro = "11.0.1.0:55000"
1010

1111
[keys.signing]
1212
secret = "3hzb3bRzn3dXSV1iEVE6mU4BF2aS725s8AboRxLwULPp"
@@ -25,8 +25,8 @@ namespace = 10101
2525

2626
[chain.parent]
2727
id = 31337
28-
rpc-url = "http://10.0.1.0:8545/"
29-
ws-url = "ws://10.0.1.0:8545/"
28+
rpc-url = "http://11.0.1.0:8545/"
29+
ws-url = "ws://11.0.1.0:8545/"
3030
ibox-contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
3131
block-tag = "finalized"
3232
key-manager-contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/linux/node_1.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
stamp = "/tmp/timeboost.1.stamp"
22

33
[net.public]
4-
address = "10.0.0.10:8010"
5-
http-api = "10.0.0.10:8014"
4+
address = "11.0.0.10:8010"
5+
http-api = "11.0.0.10:8014"
66

77
[net.internal]
8-
address = "10.0.0.10:8013"
9-
nitro = "10.0.1.0:55000"
8+
address = "11.0.0.10:8013"
9+
nitro = "11.0.1.0:55000"
1010

1111
[keys.signing]
1212
secret = "FWJzNGvEjFS3h1N1sSMkcvvroWwjT5LQuGkGHu9JMAYs"
@@ -25,8 +25,8 @@ namespace = 10101
2525

2626
[chain.parent]
2727
id = 31337
28-
rpc-url = "http://10.0.1.0:8545/"
29-
ws-url = "ws://10.0.1.0:8545/"
28+
rpc-url = "http://11.0.1.0:8545/"
29+
ws-url = "ws://11.0.1.0:8545/"
3030
ibox-contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
3131
block-tag = "finalized"
3232
key-manager-contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/linux/node_2.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
stamp = "/tmp/timeboost.2.stamp"
22

33
[net.public]
4-
address = "10.0.0.20:8020"
5-
http-api = "10.0.0.20:8024"
4+
address = "11.0.0.20:8020"
5+
http-api = "11.0.0.20:8024"
66

77
[net.internal]
8-
address = "10.0.0.20:8023"
9-
nitro = "10.0.1.0:55000"
8+
address = "11.0.0.20:8023"
9+
nitro = "11.0.1.0:55000"
1010

1111
[keys.signing]
1212
secret = "2yWTaC6MWvNva97t81cd9QX5qph68NnB1wRVwAChtuGr"
@@ -25,8 +25,8 @@ namespace = 10101
2525

2626
[chain.parent]
2727
id = 31337
28-
rpc-url = "http://10.0.1.0:8545/"
29-
ws-url = "ws://10.0.1.0:8545/"
28+
rpc-url = "http://11.0.1.0:8545/"
29+
ws-url = "ws://11.0.1.0:8545/"
3030
ibox-contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
3131
block-tag = "finalized"
3232
key-manager-contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/linux/node_3.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
stamp = "/tmp/timeboost.3.stamp"
22

33
[net.public]
4-
address = "10.0.0.30:8030"
5-
http-api = "10.0.0.30:8034"
4+
address = "11.0.0.30:8030"
5+
http-api = "11.0.0.30:8034"
66

77
[net.internal]
8-
address = "10.0.0.30:8033"
9-
nitro = "10.0.1.0:55000"
8+
address = "11.0.0.30:8033"
9+
nitro = "11.0.1.0:55000"
1010

1111
[keys.signing]
1212
secret = "CUpkbkn8bix7ZrbztPKJwu66MRpJrc1Wr2JfdrhetASk"
@@ -25,8 +25,8 @@ namespace = 10101
2525

2626
[chain.parent]
2727
id = 31337
28-
rpc-url = "http://10.0.1.0:8545/"
29-
ws-url = "ws://10.0.1.0:8545/"
28+
rpc-url = "http://11.0.1.0:8545/"
29+
ws-url = "ws://11.0.1.0:8545/"
3030
ibox-contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
3131
block-tag = "finalized"
3232
key-manager-contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

test-configs/linux/node_4.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
stamp = "/tmp/timeboost.4.stamp"
22

33
[net.public]
4-
address = "10.0.0.40:8040"
5-
http-api = "10.0.0.40:8044"
4+
address = "11.0.0.40:8040"
5+
http-api = "11.0.0.40:8044"
66

77
[net.internal]
8-
address = "10.0.0.40:8043"
9-
nitro = "10.0.1.0:55000"
8+
address = "11.0.0.40:8043"
9+
nitro = "11.0.1.0:55000"
1010

1111
[keys.signing]
1212
secret = "6LMMEuoPRCkpDsnxnANCRCBC6JagdCHs2pjNicdmQpQE"
@@ -25,8 +25,8 @@ namespace = 10101
2525

2626
[chain.parent]
2727
id = 31337
28-
rpc-url = "http://10.0.1.0:8545/"
29-
ws-url = "ws://10.0.1.0:8545/"
28+
rpc-url = "http://11.0.1.0:8545/"
29+
ws-url = "ws://11.0.1.0:8545/"
3030
ibox-contract = "0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1"
3131
block-tag = "finalized"
3232
key-manager-contract = "0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35"

0 commit comments

Comments
 (0)