Skip to content
This repository was archived by the owner on Jul 15, 2018. It is now read-only.

Commit 512b312

Browse files
committed
include genesis file structure
1 parent 355fde1 commit 512b312

File tree

5 files changed

+196
-129
lines changed

5 files changed

+196
-129
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# Changelog
22

3-
## 0.10.4 (TBD)
3+
## 0.11.0
4+
5+
*TBD*
46

57
BREAKING CHANGES:
68

79
- [types] Added `type` field to `Evidence` (opaque bytes indicating kind of fraud)
810
- [types] Added `time` field to `Evidence` (note that this is the timestamp of the block which was double-signed, not the time the evidence was received)
911

12+
TODO
13+
1014
## 0.10.3 (April 9, 2018)
1115

1216
IMPROVEMENTS:

example/kvstore/helpers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func RandVals(cnt int) []types.Validator {
3333
// don't make any tx that modify the validator state
3434
func InitKVStore(app *PersistentKVStoreApplication) {
3535
app.InitChain(types.RequestInitChain{
36-
Validators: RandVals(1),
37-
GenesisBytes: []byte("[]"),
36+
Validators: RandVals(1),
37+
GenesisFile: types.GenesisFile{},
3838
})
3939
}

tests/server/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ func InitChain(client abcicli.Client) error {
1919
vals[i] = types.Ed25519Validator(pubkey, int64(power))
2020
}
2121
_, err := client.InitChainSync(types.RequestInitChain{
22-
Validators: vals,
23-
GenesisBytes: []byte("{}"),
22+
Validators: vals,
23+
GenesisFile: types.GenesisFile{},
2424
})
2525
if err != nil {
2626
fmt.Printf("Failed test: InitChain - %v\n", err)

0 commit comments

Comments
 (0)