forked from yetanotherco/aligned_layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-aggregator.yaml
65 lines (60 loc) · 3.44 KB
/
config-aggregator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Common variables for all the services
# 'production' only prints info and above. 'development' also prints debug
environment: "production"
aligned_layer_deployment_config_file_path: "./contracts/script/output/devnet/alignedlayer_deployment_output.json"
eigen_layer_deployment_config_file_path: "./contracts/script/output/devnet/eigenlayer_deployment_output.json"
eth_rpc_url: "http://localhost:8545"
eth_rpc_url_fallback: "http://localhost:8545"
eth_ws_url: "ws://localhost:8545"
eth_ws_url_fallback: "ws://localhost:8545"
eigen_metrics_ip_port_address: "localhost:9090"
## ECDSA Configurations
ecdsa:
private_key_store_path: "config-files/anvil.aggregator.ecdsa.key.json"
private_key_store_password: ""
## BLS Configurations
bls:
private_key_store_path: "config-files/anvil.aggregator.bls.key.json"
private_key_store_password: ""
# ## Batcher configurations # batcher:
# block_interval: 3
# batch_size_interval: 10
# max_proof_size: 67108864 # 64 MiB
# max_batch_size: 268435456 # 256 MiB
# pre_verification_is_enabled: true
## Aggregator Configurations
aggregator:
server_ip_port_address: localhost:8090
bls_public_key_compendium_address: 0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44
avs_service_manager_address: 0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690
enable_metrics: true
metrics_ip_port_address: localhost:9091
telemetry_ip_port_address: localhost:4001
garbage_collector_period: 2m #The period of the GC process. Suggested value for Prod: '168h' (7 days)
garbage_collector_tasks_age: 20 #The age of tasks that will be removed by the GC, in blocks. Suggested value for prod: '216000' (30 days)
garbage_collector_tasks_interval: 10 #The interval of queried blocks to get an old batch. Suggested value for prod: '900' (3 hours)
bls_service_task_timeout: 168h # The timeout of bls aggregation service tasks. Suggested value for prod '168h' (7 days)
gas_base_bump_percentage: 25 # Percentage to overestimate gas price when sending a task
gas_bump_incremental_percentage: 20 # An extra percentage to overestimate in each bump of respond to task. This is additive between tries
# Gas used formula = est_gas_by_node * (gas_base_bump_percentage + gas_bum_incremental_percentage * i) / 100, where i is the iteration number.
gas_bump_percentage_limit: 150 # The max percentage to bump the gas price.
# The Gas formula is percentage (gas_base_bump_percentage + gas_bump_incremental_percentage * i) / 100) is checked against this value
# If it is higher, it will default to `gas_bump_percentage_limit`
time_to_wait_before_bump: 72s # The time to wait for the receipt when responding to task. Suggested value 72 seconds (6 blocks)
## Operator Configurations
# operator:
# aggregator_rpc_server_ip_port_address: localhost:8090
# address: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
# earnings_receiver_address: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
# delegation_approver_address: "0x0000000000000000000000000000000000000000"
# staker_opt_out_window_blocks: 0
# metadata_url: "https://yetanotherco.github.io/operator_metadata/metadata.json"
# enable_metrics: true
# metrics_ip_port_address: localhost:9092
# max_batch_size: 268435456 # 256 MiB
# # Operators variables needed for register it in EigenLayer
# el_delegation_manager_address: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9"
# private_key_store_path: config-files/anvil.ecdsa.key.json
# bls_private_key_store_path: config-files/anvil.bls.key.json
# signer_type: local_keystore
# chain_id: 31337