taproot-assets
taproot-assets copied to clipboard
[feature]: Add network-mismatch error messaging when CLI `network` mismatches config `network`
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)