Skip to content

Commit

Permalink
(unfinished) consensus: add node id preimage todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Dec 30, 2023
1 parent 6fad4ad commit 431280b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions analyzer/consensus/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,7 @@ func (m *processor) extractEventData(event nodeapi.Event) parsedEvent {
case event.RoothashExecutorCommitted != nil && event.RoothashExecutorCommitted.NodeID != nil:
eventData.relatedRuntime = RuntimeFromId(event.RoothashExecutorCommitted.RuntimeID, m.network)
eventData.relatedRuntimeRound = event.RoothashExecutorCommitted.Round
// TODO: preimage?
nodeAddr := staking.NewAddress(*event.RoothashExecutorCommitted.NodeID)
eventData.relatedAddresses = []staking.Address{nodeAddr}
case event.RegistryEntity != nil:
Expand Down

0 comments on commit 431280b

Please sign in to comment.