Skip to content

Find solution for chronicles in kademlia tests workaround #1940

@rlve

Description

@rlve

This issue is related to #1918

Using dynamic imports uncovered an issue with chronicles in kademlia tests - when test files didn't import chronicles then we got compilation error undeclared identifier: 'activeChroniclesStream', but when they imported, then we got chronicles not used error.

As I wasn't able to fix a root cause and I don't want to change the switch("warningAsError", "UnusedImport:on") setting, then I added these traces as a workaround, for chronicles to be used.

See for example:

trace "chronicles has to be imported to fix Error: undeclared identifier: 'activeChroniclesStream'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    new

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions