From b164a50fad43d78680bbc430276a88d50d711634 Mon Sep 17 00:00:00 2001 From: Dave Puchyr Date: Thu, 9 Apr 2020 11:24:43 +0200 Subject: [PATCH] `make protoc` --- CHANGELOG.md | 3 +++ cmd/bnsd/x/account/codec.pb.go | 5 ++--- docs/proto/index.html | 10 +++++++++- spec/gogo/cmd/bnsd/x/account/codec.proto | 5 ++++- spec/proto/cmd/bnsd/x/account/codec.proto | 5 ++++- 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d0b38ec..60dafe70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## HEAD +## 1.0.3 +- `bnsd`: include domain grace period in `make protoc` generated files + ## 1.0.2 - `feature/account`: A non owner can delete domain after grace period ends diff --git a/cmd/bnsd/x/account/codec.pb.go b/cmd/bnsd/x/account/codec.pb.go index ed4d5400..2cbcdb63 100644 --- a/cmd/bnsd/x/account/codec.pb.go +++ b/cmd/bnsd/x/account/codec.pb.go @@ -5,14 +5,13 @@ package account import ( fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_iov_one_weave "github.com/iov-one/weave" weave "github.com/iov-one/weave" coin "github.com/iov-one/weave/coin" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/docs/proto/index.html b/docs/proto/index.html index 4b145cb0..a7a6b2b3 100644 --- a/docs/proto/index.html +++ b/docs/proto/index.html @@ -2752,7 +2752,15 @@

Configuration

domain_renew int64 -

Domain review defines the duration of the domain renewal period.

+

Domain renew defines the duration of the domain renewal period.

+ + + + domain_grace_period + int64 + +

Domain grace period defines the duration of the release duration of a domain. A non-admin +can delete the domain after the grace period ends.

diff --git a/spec/gogo/cmd/bnsd/x/account/codec.proto b/spec/gogo/cmd/bnsd/x/account/codec.proto index 691a3447..21315fa2 100644 --- a/spec/gogo/cmd/bnsd/x/account/codec.proto +++ b/spec/gogo/cmd/bnsd/x/account/codec.proto @@ -119,8 +119,11 @@ message Configuration { // Valid blockchain address defines a regular expression that a valid target // blockchain address must match. string valid_blockchain_address = 6; - // Domain review defines the duration of the domain renewal period. + // Domain renew defines the duration of the domain renewal period. int64 domain_renew = 7 [(gogoproto.casttype) = "github.com/iov-one/weave.UnixDuration"]; + // Domain grace period defines the duration of the release duration of a domain. A non-admin + // can delete the domain after the grace period ends. + int64 domain_grace_period = 8 [(gogoproto.casttype) = "github.com/iov-one/weave.UnixDuration"]; } // UpdateConfigurationMsg is used by the gconf extension to update the diff --git a/spec/proto/cmd/bnsd/x/account/codec.proto b/spec/proto/cmd/bnsd/x/account/codec.proto index bc197773..4e7ff5c7 100644 --- a/spec/proto/cmd/bnsd/x/account/codec.proto +++ b/spec/proto/cmd/bnsd/x/account/codec.proto @@ -118,8 +118,11 @@ message Configuration { // Valid blockchain address defines a regular expression that a valid target // blockchain address must match. string valid_blockchain_address = 6; - // Domain review defines the duration of the domain renewal period. + // Domain renew defines the duration of the domain renewal period. int64 domain_renew = 7 ; + // Domain grace period defines the duration of the release duration of a domain. A non-admin + // can delete the domain after the grace period ends. + int64 domain_grace_period = 8 ; } // UpdateConfigurationMsg is used by the gconf extension to update the