taproot-assets icon indicating copy to clipboard operation
taproot-assets copied to clipboard

[feature]: Add network-mismatch error messaging when CLI `network` mismatches config `network`

Open dstadulis opened this issue 1 year ago • 0 comments

Motivation

Many users encounter errors when running CLI commands, which try to access universes with chain networks different than what the node is configured / running on.

User copies CLI command, from documentation, which specifies a network which mismatches the user's config file network setting. An error is encountered. Example instance

This enhancement will reduce user friction and support-request worker hours

Deliverable

By adding an [ERR] message:

  • [ ] calling out the mismatch
  • [ ] suggestes alternative CLI command (i.e. recommend the network the node is config'ed to run on)

dstadulis avatar Aug 08 '24 19:08 dstadulis