-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ir: Improve feedback on consensus misconfiguration
Inner Ring app requires either `morph.endpoints` or `morph.consensus` to be configured. Previously, when user forgot to set both sections, the app responded with: ``` invalid blockchain configuration: missing root section 'morph.consensus' ``` This could confuse the app user: maybe he wants the remote consensus, just set FS chain RPC endpoints incorrectly, why local consensus is required then? From now failure will be: ``` invalid consensus configuration: either 'morph.endpoints' or 'morph.consensus' must be configured ``` Refs #2650. Signed-off-by: Leonard Lyubich <[email protected]>
- Loading branch information
1 parent
e80bf97
commit 699c682
Showing
3 changed files
with
82 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters