ValidatorSetUpdates -> ValidatorUpdates

This commit is contained in:
Jae Kwon
2017-12-20 00:02:41 -08:00
parent 9a5b943e77
commit c14d3982ac
7 changed files with 663 additions and 669 deletions

View File

@@ -107,7 +107,7 @@ func TestPersistentDummyInfo(t *testing.T) {
}
// add a validator, remove a validator, update a validator
func TestValSetUpdates(t *testing.T) {
func TestValUpdates(t *testing.T) {
dir, err := ioutil.TempDir("/tmp", "abci-dummy-test") // TODO
if err != nil {
t.Fatal(err)
@@ -188,7 +188,7 @@ func makeApplyBlock(t *testing.T, dummy types.Application, heightInt int, diff [
resEndBlock := dummy.EndBlock(types.RequestEndBlock{header.Height})
dummy.Commit()
valsEqual(t, diff, resEndBlock.ValidatorSetUpdates)
valsEqual(t, diff, resEndBlock.ValidatorUpdates)
}