Ethan Buchman
8da2a6a147
types/priv_validator: fixes for latest p2p and cmn
7 years ago
Ricardo Domingos
d5baa6601c
types: Add test for IsVoteTypeValid
7 years ago
Ricardo Domingos
19eeef0aad
types: Rename exampleVote to examplePrecommit on vote_test
exampleVote doesn't express the type of the vote.
7 years ago
Ricardo Domingos
e76392e330
types: Update String() test to assert Prevote type
7 years ago
Ethan Frey
5ffb5f01cc
Add more tests for Proposal/Vote serialization
String() and Proposal valid after serializing.
To be safe, but mainly to increase test coverage for the PR
7 years ago
Ethan Frey
850310b034
Add test to isolate precommit failure
types/vote_test.go now checks signature on a serialized and
then deserialized vote. Turns out go-wire time encoding doesn't
respect timezones, and the signatures don't check out.
7 years ago
Ethan Frey
599673690c
Add timestamp to vote canonical encoding
7 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Jae Kwon
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
8 years ago