From a5e98a3bfd724d80b7be1db0a9483dd0018b5f86 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 16 Mar 2022 18:25:36 -0400 Subject: [PATCH] proto: add nullable = false to synchrony params --- proto/tendermint/types/params.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/proto/tendermint/types/params.proto b/proto/tendermint/types/params.proto index c5a9e048f..9c7ba4028 100644 --- a/proto/tendermint/types/params.proto +++ b/proto/tendermint/types/params.proto @@ -77,10 +77,12 @@ message HashedParams { message SynchronyParams { // message_delay bounds how long a proposal message may take to reach all validators on a newtork // and still be considered valid. - google.protobuf.Duration message_delay = 1 [(gogoproto.stdduration) = true]; + google.protobuf.Duration message_delay = 1 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; // precision bounds how skewed a proposer's clock may be from any validator // on the network while still producing valid proposals. - google.protobuf.Duration precision = 2 [(gogoproto.stdduration) = true]; + google.protobuf.Duration precision = 2 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; } // TimeoutParams configure the timeouts for the steps of the Tendermint consensus algorithm.