From 3561cf5873e079d853e8c714df2e8e28c7cc1d00 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 22 Jul 2021 15:36:40 +0300 Subject: [PATCH] [#712] moprh/client: Log VUB in notary invocations For easier debug when notary transaction didn't execute. Signed-off-by: Alex Vanin --- pkg/morph/client/notary.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index bec2b28c..27495b60 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -317,6 +317,8 @@ func (c *Client) notaryInvoke(committee bool, contract util.Uint160, method stri c.logger.Debug("notary request invoked", zap.String("method", method), + zap.Uint32("valid_until_block", until), + zap.Uint32("fallback_valid_for", c.notary.fallbackTime), zap.Stringer("tx_hash", resp.Hash().Reverse())) return nil