File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ IMPROVEMENTS
4242 JSON ABCI log.
4343 * [ \# 3620] ( https://github.com/cosmos/cosmos-sdk/pull/3620 ) Version command shows build tags
4444 * [ \# 3638] Add Bcrypt benchmarks & justification of security parameter choice
45+ * [ \# 3648] Add JSON struct tags to vesting accounts.
4546
4647* Tendermint
4748 * [ \# 3618] Upgrade to Tendermint 0.30.03
Original file line number Diff line number Diff line change @@ -183,11 +183,11 @@ func (acc *BaseAccount) SpendableCoins(_ time.Time) sdk.Coins {
183183type BaseVestingAccount struct {
184184 * BaseAccount
185185
186- OriginalVesting sdk.Coins // coins in account upon initialization
187- DelegatedFree sdk.Coins // coins that are vested and delegated
188- DelegatedVesting sdk.Coins // coins that vesting and delegated
186+ OriginalVesting sdk.Coins `json:"original_vesting"` // coins in account upon initialization
187+ DelegatedFree sdk.Coins `json:"delegated_free"` // coins that are vested and delegated
188+ DelegatedVesting sdk.Coins `json:"delegated_vesting"` // coins that vesting and delegated
189189
190- EndTime int64 // when the coins become unlocked
190+ EndTime int64 `json:"end_time"` // when the coins become unlocked
191191}
192192
193193// String implements fmt.Stringer
@@ -343,7 +343,7 @@ var _ VestingAccount = (*ContinuousVestingAccount)(nil)
343343type ContinuousVestingAccount struct {
344344 * BaseVestingAccount
345345
346- StartTime int64 // when the coins start to vest
346+ StartTime int64 `json:"start_time"` // when the coins start to vest
347347}
348348
349349// NewContinuousVestingAccount returns a new ContinuousVestingAccount
You can’t perform that action at this time.
0 commit comments