From b36bdfdb782f666f3b79d9661eb5c32a2a1fc16f Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Mon, 29 Apr 2024 15:53:26 +0200 Subject: [PATCH] latest Seth + fix gun --- integration-tests/actions/seth/actions.go | 4 ++-- integration-tests/load/automationv2_1/gun.go | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/integration-tests/actions/seth/actions.go b/integration-tests/actions/seth/actions.go index c4636ebf139..d805ce8c460 100644 --- a/integration-tests/actions/seth/actions.go +++ b/integration-tests/actions/seth/actions.go @@ -846,8 +846,8 @@ func SendLinkFundsToDeploymentAddresses( return errors.Wrapf(err, "Error getting LINK balance of multicall contract") } - if toTransferToMultiCallContract.Cmp(balance) != 0 { - return fmt.Errorf("Incorrect LINK balance of multicall contract. Expected: %s. Got: %s", toTransferToMultiCallContract.String(), balance.String()) + if balance.Cmp(toTransferToMultiCallContract) < 0 { + return fmt.Errorf("Incorrect LINK balance of multicall contract. Expected at least: %s. Got: %s", toTransferToMultiCallContract.String(), balance.String()) } // Transfer LINK to ephemeral keys diff --git a/integration-tests/load/automationv2_1/gun.go b/integration-tests/load/automationv2_1/gun.go index 461824d86e4..162aca251fb 100644 --- a/integration-tests/load/automationv2_1/gun.go +++ b/integration-tests/load/automationv2_1/gun.go @@ -106,6 +106,7 @@ func (m *LogTriggerGun) Call(_ *wasp.Generator) *wasp.Response { }(a, m) } wg.Wait() + close(resultCh) r := &wasp.Response{} for result := range resultCh {