Skip to content

Commit 3630400

Browse files
Move the comments on the aggregate_and_submit_proofs_on_chain send loop
1 parent d623ed0 commit 3630400

File tree

1 file changed

+4
-4
lines changed
  • aggregation_mode/proof_aggregator/src/backend

1 file changed

+4
-4
lines changed

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ impl ProofAggregator {
175175
hex::encode(blob_versioned_hash)
176176
);
177177

178-
// Iterate until we can send the proof on-chain
178+
// We start on 24 hours because the proof aggregator runs once a day, so the time elapsed
179+
// should be considered over a 24h period.
179180
let mut time_elapsed = Duration::from_secs(24 * 3600);
180181

182+
// Iterate until we can send the proof on-chain
181183
loop {
182-
// We add 24 hours because the proof aggregator runs once a day, so the time elapsed
183-
// should be considered over a 24h period.
184-
184+
// Fetch gas price from network
185185
let gas_price = self
186186
.rpc_provider
187187
.get_gas_price()

0 commit comments

Comments
 (0)