This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate chains are registered on startup
Previously chains were checked lazily at the time their pubkeys were fetched or signing was requested. This adds an eager check at the time clients start. It would probably be better if this check mapped to some sort of known-good handle (e.g. `Index` into a generational arena), but this is enough to catch the error eagerly instead of lazily. I encountered this personally during the `cosmoshub-3` upgrade.
- Loading branch information
1 parent
e93c687
commit 78884d2
Showing
2 changed files
with
25 additions
and
2 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