From 3a6d9f12a66a947ac1c01867f2fccc6e9a3a0f17 Mon Sep 17 00:00:00 2001 From: Philip Offtermatt Date: Tue, 12 Sep 2023 13:09:28 +0200 Subject: [PATCH] Don't capitalize function args --- tests/e2e/actions.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/e2e/actions.go b/tests/e2e/actions.go index a1dc2e8cf7..492085af58 100644 --- a/tests/e2e/actions.go +++ b/tests/e2e/actions.go @@ -1890,22 +1890,22 @@ const ( ) func (tr TestRun) lightClientAttack( - Validator ValidatorID, - Chain ChainID, + validator ValidatorID, + chain ChainID, attackType LightClientAttackType, ) { if !tr.useCometmock { log.Fatal("light client attack is only supported with CometMock") } - validatorPrivateKeyAddress := tr.GetValidatorPrivateKeyAddress(Chain, Validator) + validatorPrivateKeyAddress := tr.GetValidatorPrivateKeyAddress(chain, validator) method := "cause_light_client_attack" params := fmt.Sprintf(`{"private_key_address":"%s", "misbehaviour_type": "%s"}`, validatorPrivateKeyAddress, attackType) - address := tr.getQueryNodeRPCAddress(Chain) + address := tr.getQueryNodeRPCAddress(chain) tr.curlJsonRPCRequest(method, params, address) - tr.waitBlocks(Chain, 1, 10*time.Second) + tr.waitBlocks(chain, 1, 10*time.Second) } type assignConsumerPubKeyAction struct {