apps: OpaquePeerId is not displayed anymore

  • I’m submitting a …

    • Bug report
    • Feature request
    • Support request
    • Other
  • What is the current behavior and expected behavior?

In a chain with nodeAuthorization pallet installed, when looking at the well-known nodes, an empty list appears:

empty well-known nodes list

Previously, the peer ID of each well known node was displayed as a hex string (but without the “0x” prefix). In the above image, one can see that there is an empty space for the single well-known node, but the peer ID is not displayed at all. Note that we are using the OpaquePeerId type in another of our pallets, and the problem is the same. Below an example taken from a chain with 4 well-known nodes, there is one empty line per node:

empty well-known nodes list

It would be nice to, at least, come back to the initial behavior (see the hex representation of the peer ID). Adding the “0x” prefix to the hex string would be a plus.

  • What is the motivation for changing the behavior?

Fix a regression. Furthermore, when managing such a chain, it is necessary to be able to visualize the well-known nodes.

  • Please tell us about your environment:

In order to take the first screenshot above, the logion node (follow above link to get the exact version) was executed using ./target/release/logion-node --dev so the chain is running in Development mode and using the dev chain spec which defines one single authorized node and validator.

  • Version:

  • Environment:

    • Node.js
    • Browser
    • Other (limited support for other environments)
  • Language:

    • JavaScript
    • TypeScript (include tsc --version)
    • Other

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (15 by maintainers)

Most upvoted comments