We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 533e62a commit 4650034Copy full SHA for 4650034
1 file changed
batcher/client/src/main.rs
@@ -1,6 +1,6 @@
1
use std::{path::PathBuf, sync::Arc, time::Duration};
2
3
-use alloy_primitives::Address;
+use alloy_primitives::{Address, hex};
4
use env_logger::Env;
5
use futures_util::{
6
future,
@@ -149,6 +149,12 @@ async fn receive(
149
let deserialized_data: BatchInclusionData = serde_json::from_slice(&data).unwrap();
150
info!("Batcher response received: {}", deserialized_data);
151
152
+ let batch_merkle_root_hex = hex::encode(deserialized_data.batch_merkle_root);
153
+ info!(
154
+ "See the batch in the explorer:\nhttps://explorer.alignedlayer.com/batches/0x{}",
155
+ batch_merkle_root_hex
156
+ );
157
+
158
if *num_responses_lock == total_messages {
159
info!("All messages responded. Closing connection...");
160
ws_write.lock().await.close().await.unwrap();
0 commit comments