Skip to content

Commit

Permalink
chore: use a same default value for max_payload_size (#1548)
Browse files Browse the repository at this point in the history
* chore: use a same default value for `max_payload_size`

* chore: remove the useless configuration field `client_version`
  • Loading branch information
yangby-cryptape authored Nov 13, 2023
1 parent 4c3be3d commit cfd291b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 14 deletions.
3 changes: 1 addition & 2 deletions devtools/chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ data_path = "./devtools/chain/data"
http_listening_address = "0.0.0.0:8000"
ws_listening_address = "0.0.0.0:8010"
maxconn = 25000
max_payload_size = 10485760
client_version = "0.1.0"
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
3 changes: 1 addition & 2 deletions devtools/chain/k8s/node_1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ data_path = "./devtools/chain/data1"
http_listening_address = "0.0.0.0:8000"
ws_listening_address = "0.0.0.0:8010"
maxconn = 25000
max_payload_size = 10485760
client_version = "0.1.0"
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
3 changes: 1 addition & 2 deletions devtools/chain/k8s/node_2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ data_path = "./devtools/chain/data2"
http_listening_address = "0.0.0.0:8000"
ws_listening_address = "0.0.0.0:8010"
maxconn = 25000
max_payload_size = 10485760
client_version = "0.1.0"
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
3 changes: 1 addition & 2 deletions devtools/chain/k8s/node_3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ data_path = "./devtools/chain/data3"
http_listening_address = "0.0.0.0:8000"
ws_listening_address = "0.0.0.0:8010"
maxconn = 25000
max_payload_size = 10485760
client_version = "0.1.0"
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
3 changes: 1 addition & 2 deletions devtools/chain/k8s/node_4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ data_path = "./devtools/chain/data4"
http_listening_address = "0.0.0.0:8000"
ws_listening_address = "0.0.0.0:8010"
maxconn = 25000
max_payload_size = 10485760
client_version = "0.1.0"
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
2 changes: 1 addition & 1 deletion devtools/chain/nodes/node_1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data_path = "./devtools/chain/data/node_1"
http_listening_address = "127.0.0.1:8001"
ws_listening_address = "127.0.0.1:8011"
maxconn = 25000
max_payload_size = 1048576
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
2 changes: 1 addition & 1 deletion devtools/chain/nodes/node_2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data_path = "./devtools/chain/data/node_2"
http_listening_address = "127.0.0.1:8002"
ws_listening_address = "127.0.0.1:8012"
maxconn = 25000
max_payload_size = 1048576
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
2 changes: 1 addition & 1 deletion devtools/chain/nodes/node_3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data_path = "./devtools/chain/data/node_3"
http_listening_address = "127.0.0.1:8003"
ws_listening_address = "127.0.0.1:8013"
maxconn = 25000
max_payload_size = 1048576
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down
2 changes: 1 addition & 1 deletion devtools/chain/nodes/node_4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data_path = "./devtools/chain/data/node_4"
http_listening_address = "127.0.0.1:8004"
ws_listening_address = "127.0.0.1:8014"
maxconn = 25000
max_payload_size = 1048576
max_payload_size = 10_485_760

[web3]
max_gas_cap = 50_000_000
Expand Down

0 comments on commit cfd291b

Please sign in to comment.