From 9a83f4c3e040ae63741ef88dc8ef47eee572dd6b 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 bbe3ed2be..65fd125c0 100644 --- a/analyzer/consensus/consensus.go +++ b/analyzer/consensus/consensus.go @@ -1111,6 +1111,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} }