test/e2e: fix secp failures (#5649)

This commit is contained in:
Marko
2020-11-16 12:31:32 +01:00
committed by GitHub
parent 8aa47c7da5
commit e0950515ff
12 changed files with 47 additions and 22 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func RandVal(i int) types.ValidatorUpdate {
pubkey := tmrand.Bytes(32)
power := tmrand.Uint16() + 1
v := types.Ed25519ValidatorUpdate(pubkey, int64(power))
v := types.UpdateValidator(pubkey, int64(power), "")
return v
}
+1 -1
View File
@@ -234,7 +234,7 @@ func (app *PersistentKVStoreApplication) execValidatorTx(tx []byte) types.Respon
}
// update
return app.updateValidator(types.Ed25519ValidatorUpdate(pubkey, power))
return app.updateValidator(types.UpdateValidator(pubkey, power, ""))
}
// add, update, or remove a validator