abci: use signed ints; fix amino/proto3 Header compat

This commit is contained in:
Ethan Buchman
2018-10-19 20:26:04 -04:00
parent fd67b9dbbc
commit c300c121d8
3 changed files with 325 additions and 285 deletions
+1 -2
View File
@@ -79,7 +79,7 @@ func TestABCIConsensusParams(t *testing.T) {
assert.Equal(t, *cp, cp2)
}
func _TestABCIbeader(t *testing.T) {
func TestABCIHeader(t *testing.T) {
// build a full header
var height int64 = 5
var numTxs int64 = 3
@@ -126,7 +126,6 @@ func _TestABCIbeader(t *testing.T) {
// assert the encodings match
assert.EqualValues(t, headerBz, pbHeaderBz)
}
func TestABCIEvidence(t *testing.T) {