mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +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
|
@# AppStateDeterminism does use Seed flag
|
||||||
@go test ./app -run TestAppStateDeterminism -Enabled -Commit -NumBlocks=100 -BlockSize=200 -v -timeout 24h
|
@go test ./app -run TestAppStateDeterminism -Enabled -Commit -NumBlocks=100 -BlockSize=200 -v -timeout 24h
|
||||||
|
|
||||||
|
test:
|
||||||
.PHONY: all build-linux install clean build test-all
|
@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
|
// GenesisState - all auth state that must be provided at genesis
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
PreviousBlockTime time.Time
|
PreviousBlockTime time.Time `json:"previous_block_time" yaml:"previous_block_time"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewGenesisState - Create a new genesis state
|
// NewGenesisState - Create a new genesis state
|
||||||
|
Loading…
Reference in New Issue
Block a user