diff --git a/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt b/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt index a118d956..ba06b973 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt @@ -224,7 +224,11 @@ class UpstreamsConfigReader( upNode: MappingNode, upstream: UpstreamsConfig.Upstream ) { + // Dshackle gRPC connection dispatches requests to different upstreams, which may + // be on different blockchains, and each may have different set of labels. + // So the labels and chains assigned to the gRPC connection make no sense. if (hasAny(upNode, "labels")) { + // Actual labels from underlying upstreams are handled by GrpcUpstreamStatus log.warn("Labels should be not applied to gRPC upstream") } if (hasAny(upNode, "chain")) {