Skip to content

Commit 1dd8480

Browse files
committed
chore: add logs to supported protocol
1 parent 7f3313c commit 1dd8480

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

beacon_node/lighthouse_network/src/rpc/protocol.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use futures::prelude::{AsyncRead, AsyncWrite};
55
use futures::{FutureExt, StreamExt};
66
use libp2p::core::{InboundUpgrade, UpgradeInfo};
77
use ssz::Encode;
8+
use tracing::debug;
89
use ssz_types::VariableList;
910
use std::io;
1011
use std::marker::PhantomData;
@@ -416,11 +417,15 @@ impl SupportedProtocol {
416417
]);
417418
}
418419
if fork_context.spec.is_zkvm_enabled() {
420+
debug!("[Ethproofs] Adding ExecutionProofsByRootV1 to supported protocols");
419421
supported.push(ProtocolId::new(
420422
SupportedProtocol::ExecutionProofsByRootV1,
421423
Encoding::SSZSnappy,
422424
));
425+
} else {
426+
debug!("[Ethproofs] NOT adding ExecutionProofsByRootV1 - zkvm_enabled = false");
423427
}
428+
debug!("[Ethproofs] Total supported protocols: {}", supported.len());
424429
supported
425430
}
426431
}

0 commit comments

Comments
 (0)