Skip to content

logScope doesn't preserve order of fields #108

@arnetheduck

Description

@arnetheduck
INF 2022-01-03 16:57:11.631+01:00 State replayed                             topics="chaindag" ancestor=874fd407:2866783 targetStateRoot=2fc2f5f3 slots=33 target=874fd407:2866783@2866816 replayDur=307ms49us379ns blocks=0 current=c60f4822:2866762@2866784 found=true assignDur=4ms771us220ns ancestorStateRoot=0b37c3e6
  logScope:
    blocks = ancestors.len
    slots = getStateField(state.data, slot) - ancestor.slot
    current = shortLog(current)
    ancestor = shortLog(ancestor)
    target = shortLog(bs)
    ancestorStateRoot = shortLog(ancestorRoot)
    targetStateRoot = shortLog(getStateRoot(state.data))
    found
    assignDur
    replayDur

the ordering of the fields should be preserved as it matters for the user experience

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions