mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
fix: json formatting of genesis state
This commit is contained in:
parent
a2572fad0f
commit
a5c642a644
5
Makefile
5
Makefile
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user