Proposal to upgrade to 1.11 (#652)

This commit is contained in:
Yutaro Mori 2018-10-13 14:23:41 +09:00 committed by Nishant Das
parent f767b11348
commit 4c657fef04
2 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@ sudo: false
matrix:
include:
- os: linux
go: 1.10.x
go: 1.11.x
env:
- lint
script:

View File

@ -71,9 +71,9 @@ func TestSetBlockForInitialSync(t *testing.T) {
genericHash[0] = 'a'
block := &pb.BeaconBlock{
PowChainRef: []byte{1, 2, 3},
AncestorHashes: [][]byte{genericHash},
Slot: uint64(20),
PowChainRef: []byte{1, 2, 3},
AncestorHashes: [][]byte{genericHash},
Slot: uint64(20),
CrystallizedStateRoot: genericHash,
}
@ -149,9 +149,9 @@ func TestSavingBlocksInSync(t *testing.T) {
getBlockResponseMsg := func(Slot uint64) p2p.Message {
block := &pb.BeaconBlock{
PowChainRef: []byte{1, 2, 3},
AncestorHashes: [][]byte{genericHash},
Slot: Slot,
PowChainRef: []byte{1, 2, 3},
AncestorHashes: [][]byte{genericHash},
Slot: Slot,
CrystallizedStateRoot: crystallizedStateRoot[:],
}
@ -248,9 +248,9 @@ func TestDelayChan(t *testing.T) {
}
block := &pb.BeaconBlock{
PowChainRef: []byte{1, 2, 3},
AncestorHashes: [][]byte{genericHash},
Slot: uint64(20),
PowChainRef: []byte{1, 2, 3},
AncestorHashes: [][]byte{genericHash},
Slot: uint64(20),
CrystallizedStateRoot: crystallizedStateRoot[:],
}