Layr-Labs / incredible-squaring-avs

Basic repo demoing a simple AVS middleware with full eigenlayer integration
Other
159 stars 101 forks source link

refactor: aggregator uses flags instead of config-file #60

Open 0xpanicError opened 1 month ago

0xpanicError commented 1 month ago

Working on this issue: https://github.com/Layr-Labs/incredible-squaring-avs/issues/57

Refactored the aggregator such that make start-aggregator uses flags instead of config-files for the following variables:

# 'production' only prints info and above. 'development' also prints debug
environment: production
eth_rpc_url: http://localhost:8545
eth_ws_url: ws://localhost:8545
# address which the aggregator listens on for operator signed messages
aggregator_server_ip_port_address: localhost:8090

Question: Should I delete the config-files/aggregator.yaml file ?

0xpanicError commented 1 month ago

@samlaf looking at how eigenda implements flags, I think we can create a separate file for flags inside core/config given they're getting slightly large.