remove gogoproto

This commit is contained in:
Ethan Buchman
2018-05-24 00:13:43 -04:00
parent cfdec76020
commit 01f87fd8d3
14 changed files with 399 additions and 404 deletions
+3 -2
View File
@@ -12,11 +12,12 @@ import (
func InitChain(client abcicli.Client) error {
total := 10
vals := make([]types.Validator, total)
vals := make([]*types.Validator, total)
for i := 0; i < total; i++ {
pubkey := cmn.RandBytes(33)
power := cmn.RandInt()
vals[i] = types.Ed25519Validator(pubkey, int64(power))
v := types.Ed25519Validator(pubkey, int64(power))
vals[i] = &v
}
_, err := client.InitChainSync(types.RequestInitChain{
Validators: vals,