From 5fe1490f009acfade86692fca223326534b82f50 Mon Sep 17 00:00:00 2001 From: Hein Meling Date: Wed, 26 Nov 2025 16:02:57 -0800 Subject: [PATCH] fix: missing _ imports required to decode measurement.json These imports were accidentally removed by me in 6e9b62f; added a comment to explain why they are needed. --- cmd/plot/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/plot/main.go b/cmd/plot/main.go index e91121a50..165ddb033 100644 --- a/cmd/plot/main.go +++ b/cmd/plot/main.go @@ -9,6 +9,10 @@ import ( "time" "github.com/relab/hotstuff/metrics/plotting" + + // ensure proto messages are registered so that they can be decoded from measurement.json files + _ "github.com/relab/hotstuff/internal/proto/orchestrationpb" + _ "github.com/relab/hotstuff/metrics/types" ) var (