File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ Type=oneshot
77WorkingDirectory =/home/user
88ExecStartPre =sleep 60
99ExecStart =/home/user/.cargo/bin/proof_aggregator /home/user/config/config-proof-aggregator.yaml
10- ExecStartPost =/home/user/repos/proof_aggregation/aligned_layer/infra/aggregation_mode/aggregation_mode_shutdown.sh
11- RemainAfterExit =yes
1210Environment ="SP1_PROVER=cuda"
13- EnvironmentFile =/home/app/config/.env.aggregation_mode_shutdown
1411
1512[Install]
1613WantedBy =multi-user.target
Original file line number Diff line number Diff line change 100100# Create keystore
101101cast wallet import proof_aggregation.keystore -k $HOME /.keystores -i
102102
103- # Copy config file
104- # cp repos/proof_aggregation/aligned_layer/config-files/config-proof-aggregator.yaml config/config-proof-aggregator.yaml
103+ # Create config file interactively
105104$HOME /repos/proof_aggregation/aligned_layer/infra/aggregation_mode/config_file.sh $HOME /repos/proof_aggregation/aligned_layer/infra/aggregation_mode/config-proof-aggregator.template.yaml
105+ read -p " Enter a number (last_aggregated_block): " num && echo " {\" last_aggregated_block\" :$num }" > $HOME /config/proof-aggregator.last_aggregated_block.json.test
106106
107107# Build the proof_aggregator
108108cd repos/proof_aggregation/aligned_layer
Original file line number Diff line number Diff line change 11[Unit]
22Description=AggregationMode Timer
3- Requires=aggregation_mode_start .service
3+ Requires=aggregation_mode .service
44
55[Timer]
66Unit=aggregation_mode.service
77AccuracySec=1s
8- OnCalendar=16:55
8+ # Run at 15:00 UTC (12:00 UTC-3) every day
9+ OnCalendar=15:00
910
1011[Install]
1112WantedBy=timers.target
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ prompt_and_replace "<aligned_service_manager_address>" "Aligned Service Manager
3232prompt_and_replace " <proof_aggregation_service_address>" " Proof Aggregation Service Address"
3333prompt_and_replace " <eth_rpc_url>" " Ethereum RPC URL"
3434prompt_and_replace " <eth_ws_url>" " Ethereum WebSocket URL"
35+ prompt_and_replace " last_aggregated_block_filepath" " Last Aggregated Block Filepath"
3536prompt_and_replace " <private_key_store_path>" " ECDSA Private Key Store Path"
3637prompt_and_replace " <private_key_store_password>" " ECDSA Private Key Store Password"
3738
You can’t perform that action at this time.
0 commit comments