Skip to content

Commit

Permalink
Merge pull request #1206 from iov-one/make-protoc
Browse files Browse the repository at this point in the history
`make protoc`
  • Loading branch information
davepuchyr authored Apr 9, 2020
2 parents 86dc3de + b164a50 commit 6f420b6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## HEAD
- `bug`: Fix renew domain handler renews empty string account

## 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

Expand Down
5 changes: 2 additions & 3 deletions cmd/bnsd/x/account/codec.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion docs/proto/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,15 @@ <h3 id="account.Configuration">Configuration</h3>
<td>domain_renew</td>
<td><a href="#int64">int64</a></td>
<td></td>
<td><p>Domain review defines the duration of the domain renewal period. </p></td>
<td><p>Domain renew defines the duration of the domain renewal period. </p></td>
</tr>

<tr>
<td>domain_grace_period</td>
<td><a href="#int64">int64</a></td>
<td></td>
<td><p>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. </p></td>
</tr>

</tbody>
Expand Down
5 changes: 4 additions & 1 deletion spec/gogo/cmd/bnsd/x/account/codec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion spec/proto/cmd/bnsd/x/account/codec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f420b6

Please sign in to comment.