Updated naming of EndBlock parameters

* Changes -> Updates for validators
* ConsensusParams.XXXParams -> ConsensusParams.XXX
* As per feedback from Jae on PR
This commit is contained in:
Ethan Frey
2017-12-14 09:27:20 +01:00
parent 895e14d6bd
commit 9c5e1a824d
5 changed files with 179 additions and 176 deletions

View File

@ -107,7 +107,7 @@ func TestPersistentDummyInfo(t *testing.T) {
}
// add a validator, remove a validator, update a validator
func TestValSetChanges(t *testing.T) {
func TestValSetUpdates(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.Changes)
valsEqual(t, diff, resEndBlock.Updates)
}