logging (#8785)
Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
95fa768671
commit
82aedba11e
|
@ -76,7 +76,7 @@ func (k Keeper) AssertInvariants(ctx sdk.Context) {
|
||||||
invarRoutes := k.Routes()
|
invarRoutes := k.Routes()
|
||||||
n := len(invarRoutes)
|
n := len(invarRoutes)
|
||||||
for i, ir := range invarRoutes {
|
for i, ir := range invarRoutes {
|
||||||
logger.Info("asserting crisis invariants", "inv", fmt.Sprint(i, "/", n))
|
logger.Info("asserting crisis invariants", "inv", fmt.Sprint(i, "/", n), "name", ir.FullRoute())
|
||||||
if res, stop := ir.Invar(ctx); stop {
|
if res, stop := ir.Invar(ctx); stop {
|
||||||
// TODO: Include app name as part of context to allow for this to be
|
// TODO: Include app name as part of context to allow for this to be
|
||||||
// variable.
|
// variable.
|
||||||
|
|
Loading…
Reference in New Issue