From 8608ec62626ebd7e3751f37c842cd562336a36fd Mon Sep 17 00:00:00 2001 From: Warren He Date: Fri, 29 Dec 2023 15:28:53 -0800 Subject: [PATCH] (unfinished) consensus: add node id preimage todo --- analyzer/consensus/consensus.go | 1 + 1 file changed, 1 insertion(+) diff --git a/analyzer/consensus/consensus.go b/analyzer/consensus/consensus.go index fa970e926..80b35b4fc 100644 --- a/analyzer/consensus/consensus.go +++ b/analyzer/consensus/consensus.go @@ -1087,6 +1087,7 @@ func (m *processor) extractEventData(event nodeapi.Event) parsedEvent { eventData.relatedRuntime = RuntimeFromID(event.RoothashExecutorCommitted.RuntimeID, m.network) eventData.relatedRuntimeRound = &event.RoothashExecutorCommitted.Round if event.RoothashExecutorCommitted.NodeID != nil { + // TODO: preimage? nodeAddr := staking.NewAddress(*event.RoothashExecutorCommitted.NodeID) eventData.relatedAddresses = []staking.Address{nodeAddr} }