From b54cee0fdfc4f01c104f0ff3c71b72bbb655d000 Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Sun, 29 Dec 2024 16:12:45 +0100 Subject: [PATCH] fix kurtosis version + add e2e test --- .github/workflows/e2e.yml | 5 +++-- e2e/interchaintestv8/relayer_test.go | 15 ++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index feb56a0..b1397d0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -78,7 +78,8 @@ jobs: - TestWithRelayerTestSuite/TestTimeoutPacketFromEth_Plonk - TestWithRelayerTestSuite/Test_10_TimeoutPacketFromEth_Groth16 - TestWithRelayerTestSuite/Test_5_TimeoutPacketFromEth_Plonk - - TestWithRelayerTestSuite/TestRecvPacketToCosmos_Groth16 + - TestWithRelayerTestSuite/TestRecvPacketToCosmos + - TestWithRelayerTestSuite/Test_10_RecvPacketToCosmos - TestWithCosmosRelayerTestSuite/TestRelayerInfo - TestWithCosmosRelayerTestSuite/TestICS20RecvAndAckPacket - TestWithCosmosRelayerTestSuite/Test_10_ICS20RecvAndAckPacket @@ -151,7 +152,7 @@ jobs: run: | echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list sudo apt update - sudo apt install kurtosis-cli=1.4.1 # Must match the kurtosis library version we use in the e2e tests + sudo apt install kurtosis-cli=1.4.3 # Must match the kurtosis library version we use in the e2e tests kurtosis engine start kurtosis analytics disable echo "$(dirname $(which kurtosis))" >> $GITHUB_PATH diff --git a/e2e/interchaintestv8/relayer_test.go b/e2e/interchaintestv8/relayer_test.go index ee61c8a..bcfa47e 100644 --- a/e2e/interchaintestv8/relayer_test.go +++ b/e2e/interchaintestv8/relayer_test.go @@ -668,14 +668,19 @@ func (s *RelayerTestSuite) ICS20TimeoutFromEthereumToTimeoutTest( })) } -func (s *RelayerTestSuite) TestRecvPacketToCosmos_Groth16() { - s.SkipIfEthTestnetType(testvalues.EthTestnetTypePoW) +func (s *RelayerTestSuite) TestRecvPacketToCosmos() { ctx := context.Background() - s.RecvPacketCosmosTest(ctx, operator.ProofTypeGroth16, 1) + s.RecvPacketCosmosTest(ctx, 1) } -func (s *RelayerTestSuite) RecvPacketCosmosTest(ctx context.Context, proofType operator.SupportedProofType, numOfTransfers int) { - s.SetupSuite(ctx, proofType) +func (s *RelayerTestSuite) Test_10_RecvPacketToCosmos() { + ctx := context.Background() + s.RecvPacketCosmosTest(ctx, 10) +} + +func (s *RelayerTestSuite) RecvPacketCosmosTest(ctx context.Context, numOfTransfers int) { + s.SkipIfEthTestnetType(testvalues.EthTestnetTypePoW) + s.SetupSuite(ctx, operator.ProofTypeGroth16) // Doesn't matter, since we won't relay to eth in this test eth, simd := s.EthChain, s.CosmosChains[0]