Skip to content

Commit 1ab366b

Browse files
apollo_proof_manager: enable proof manager and add to deployments (#11274)
1 parent 083ef6e commit 1ab366b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+583
-66
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"proof_manager_config.persistent_root": "/data/proofs"
3+
}
4+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"proof_manager_config.persistent_root": "/data/proofs"
3+
}

crates/apollo_deployments/resources/services/consolidated/node.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,12 @@
107107
"components.mempool_p2p.remote_server_config.#is_none": true,
108108
"components.mempool_p2p.url": "localhost",
109109
"components.monitoring_endpoint.execution_mode": "Enabled",
110-
"components.proof_manager.execution_mode": "Disabled",
111-
"components.proof_manager.local_server_config.#is_none": true,
110+
"components.proof_manager.execution_mode": "LocalExecutionWithRemoteDisabled",
111+
"components.proof_manager.local_server_config.#is_none": false,
112+
"components.proof_manager.local_server_config.high_priority_requests_channel_capacity": 1024,
113+
"components.proof_manager.local_server_config.inbound_requests_channel_capacity": 1024,
114+
"components.proof_manager.local_server_config.normal_priority_requests_channel_capacity": 1024,
115+
"components.proof_manager.local_server_config.processing_time_warning_threshold_ms": 3000,
112116
"components.proof_manager.max_concurrency": 128,
113117
"components.proof_manager.port": 0,
114118
"components.proof_manager.remote_client_config.#is_none": true,
@@ -158,6 +162,7 @@
158162
"mempool_config.#is_none": false,
159163
"mempool_p2p_config.#is_none": false,
160164
"monitoring_endpoint_config.#is_none": false,
165+
"proof_manager_config.#is_none": false,
161166
"sierra_compiler_config.#is_none": false,
162167
"state_sync_config.#is_none": false
163168
}

crates/apollo_deployments/resources/services/consolidated/replacer_deployment_node.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"crates/apollo_deployments/resources/app_configs/replacer_mempool_config.json",
1616
"crates/apollo_deployments/resources/app_configs/replacer_mempool_p2p_config.json",
1717
"crates/apollo_deployments/resources/app_configs/replacer_monitoring_endpoint_config.json",
18+
"crates/apollo_deployments/resources/app_configs/replacer_proof_manager_config.json",
1819
"crates/apollo_deployments/resources/app_configs/replacer_sierra_compiler_config.json",
1920
"crates/apollo_deployments/resources/app_configs/replacer_state_sync_config.json",
2021
"crates/apollo_deployments/resources/services/consolidated/replacer_node.json"

crates/apollo_deployments/resources/services/consolidated/replacer_node.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,12 @@
107107
"components.mempool_p2p.remote_server_config.#is_none": true,
108108
"components.mempool_p2p.url": "localhost",
109109
"components.monitoring_endpoint.execution_mode": "Enabled",
110-
"components.proof_manager.execution_mode": "Disabled",
111-
"components.proof_manager.local_server_config.#is_none": true,
110+
"components.proof_manager.execution_mode": "LocalExecutionWithRemoteDisabled",
111+
"components.proof_manager.local_server_config.#is_none": false,
112+
"components.proof_manager.local_server_config.high_priority_requests_channel_capacity": 1024,
113+
"components.proof_manager.local_server_config.inbound_requests_channel_capacity": 1024,
114+
"components.proof_manager.local_server_config.normal_priority_requests_channel_capacity": 1024,
115+
"components.proof_manager.local_server_config.processing_time_warning_threshold_ms": 3000,
112116
"components.proof_manager.max_concurrency": 128,
113117
"components.proof_manager.port": 0,
114118
"components.proof_manager.remote_client_config.#is_none": true,
@@ -158,6 +162,7 @@
158162
"mempool_config.#is_none": false,
159163
"mempool_p2p_config.#is_none": false,
160164
"monitoring_endpoint_config.#is_none": false,
165+
"proof_manager_config.#is_none": false,
161166
"sierra_compiler_config.#is_none": false,
162167
"state_sync_config.#is_none": false
163168
}

crates/apollo_deployments/resources/services/distributed/batcher.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,21 @@
114114
"components.mempool_p2p.remote_server_config.#is_none": true,
115115
"components.mempool_p2p.url": "localhost",
116116
"components.monitoring_endpoint.execution_mode": "Enabled",
117-
"components.proof_manager.execution_mode": "Disabled",
117+
"components.proof_manager.execution_mode": "Remote",
118118
"components.proof_manager.local_server_config.#is_none": true,
119119
"components.proof_manager.max_concurrency": 128,
120-
"components.proof_manager.port": 0,
121-
"components.proof_manager.remote_client_config.#is_none": true,
120+
"components.proof_manager.port": 1,
121+
"components.proof_manager.remote_client_config.#is_none": false,
122+
"components.proof_manager.remote_client_config.attempts_per_log": 1,
123+
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
124+
"components.proof_manager.remote_client_config.idle_connections": 10,
125+
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
126+
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
127+
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
128+
"components.proof_manager.remote_client_config.retries": 150,
129+
"components.proof_manager.remote_client_config.set_tcp_nodelay": true,
122130
"components.proof_manager.remote_server_config.#is_none": true,
123-
"components.proof_manager.url": "localhost",
131+
"components.proof_manager.url": "remote_service",
124132
"components.sierra_compiler.execution_mode": "Disabled",
125133
"components.sierra_compiler.local_server_config.#is_none": true,
126134
"components.sierra_compiler.max_concurrency": 128,
@@ -153,6 +161,7 @@
153161
"mempool_config.#is_none": true,
154162
"mempool_p2p_config.#is_none": true,
155163
"monitoring_endpoint_config.#is_none": false,
164+
"proof_manager_config.#is_none": true,
156165
"sierra_compiler_config.#is_none": true,
157166
"state_sync_config.#is_none": true
158167
}

crates/apollo_deployments/resources/services/distributed/class_manager.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
"mempool_config.#is_none": true,
130130
"mempool_p2p_config.#is_none": true,
131131
"monitoring_endpoint_config.#is_none": false,
132+
"proof_manager_config.#is_none": true,
132133
"sierra_compiler_config.#is_none": true,
133134
"state_sync_config.#is_none": true
134135
}

crates/apollo_deployments/resources/services/distributed/committer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
"mempool_config.#is_none": true,
130130
"mempool_p2p_config.#is_none": true,
131131
"monitoring_endpoint_config.#is_none": false,
132+
"proof_manager_config.#is_none": true,
132133
"sierra_compiler_config.#is_none": true,
133134
"state_sync_config.#is_none": true
134135
}

crates/apollo_deployments/resources/services/distributed/consensus_manager.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,21 @@
9999
"components.mempool_p2p.remote_server_config.#is_none": true,
100100
"components.mempool_p2p.url": "localhost",
101101
"components.monitoring_endpoint.execution_mode": "Enabled",
102-
"components.proof_manager.execution_mode": "Disabled",
102+
"components.proof_manager.execution_mode": "Remote",
103103
"components.proof_manager.local_server_config.#is_none": true,
104104
"components.proof_manager.max_concurrency": 128,
105-
"components.proof_manager.port": 0,
106-
"components.proof_manager.remote_client_config.#is_none": true,
105+
"components.proof_manager.port": 1,
106+
"components.proof_manager.remote_client_config.#is_none": false,
107+
"components.proof_manager.remote_client_config.attempts_per_log": 1,
108+
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
109+
"components.proof_manager.remote_client_config.idle_connections": 10,
110+
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
111+
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
112+
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
113+
"components.proof_manager.remote_client_config.retries": 150,
114+
"components.proof_manager.remote_client_config.set_tcp_nodelay": true,
107115
"components.proof_manager.remote_server_config.#is_none": true,
108-
"components.proof_manager.url": "localhost",
116+
"components.proof_manager.url": "remote_service",
109117
"components.sierra_compiler.execution_mode": "Disabled",
110118
"components.sierra_compiler.local_server_config.#is_none": true,
111119
"components.sierra_compiler.max_concurrency": 128,
@@ -154,6 +162,7 @@
154162
"mempool_config.#is_none": true,
155163
"mempool_p2p_config.#is_none": true,
156164
"monitoring_endpoint_config.#is_none": false,
165+
"proof_manager_config.#is_none": true,
157166
"sierra_compiler_config.#is_none": true,
158167
"state_sync_config.#is_none": true
159168
}

crates/apollo_deployments/resources/services/distributed/gateway.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,21 @@
9898
"components.mempool_p2p.remote_server_config.#is_none": true,
9999
"components.mempool_p2p.url": "localhost",
100100
"components.monitoring_endpoint.execution_mode": "Enabled",
101-
"components.proof_manager.execution_mode": "Disabled",
101+
"components.proof_manager.execution_mode": "Remote",
102102
"components.proof_manager.local_server_config.#is_none": true,
103103
"components.proof_manager.max_concurrency": 128,
104-
"components.proof_manager.port": 0,
105-
"components.proof_manager.remote_client_config.#is_none": true,
104+
"components.proof_manager.port": 1,
105+
"components.proof_manager.remote_client_config.#is_none": false,
106+
"components.proof_manager.remote_client_config.attempts_per_log": 1,
107+
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
108+
"components.proof_manager.remote_client_config.idle_connections": 10,
109+
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
110+
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
111+
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
112+
"components.proof_manager.remote_client_config.retries": 150,
113+
"components.proof_manager.remote_client_config.set_tcp_nodelay": true,
106114
"components.proof_manager.remote_server_config.#is_none": true,
107-
"components.proof_manager.url": "localhost",
115+
"components.proof_manager.url": "remote_service",
108116
"components.sierra_compiler.execution_mode": "Disabled",
109117
"components.sierra_compiler.local_server_config.#is_none": true,
110118
"components.sierra_compiler.max_concurrency": 128,
@@ -145,6 +153,7 @@
145153
"mempool_config.#is_none": true,
146154
"mempool_p2p_config.#is_none": true,
147155
"monitoring_endpoint_config.#is_none": false,
156+
"proof_manager_config.#is_none": true,
148157
"sierra_compiler_config.#is_none": true,
149158
"state_sync_config.#is_none": true
150159
}

0 commit comments

Comments
 (0)