fix: json formatting of genesis state

This commit is contained in:
Kevin Davis 2019-10-14 17:04:21 -04:00
parent a2572fad0f
commit a5c642a644
2 changed files with 4 additions and 3 deletions

View File

@ -108,5 +108,6 @@ test-all: build
@# AppStateDeterminism does use Seed flag
@go test ./app -run TestAppStateDeterminism -Enabled -Commit -NumBlocks=100 -BlockSize=200 -v -timeout 24h
.PHONY: all build-linux install clean build test-all
test:
@go test ./...
.PHONY: all build-linux install clean build test-all test

View File

@ -10,7 +10,7 @@ import (
// GenesisState - all auth state that must be provided at genesis
type GenesisState struct {
PreviousBlockTime time.Time
PreviousBlockTime time.Time `json:"previous_block_time" yaml:"previous_block_time"`
}
// NewGenesisState - Create a new genesis state