Skip to content

Commit

Permalink
fix kurtosis version + add e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Dec 29, 2024
1 parent c83ab1f commit b54cee0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
15 changes: 10 additions & 5 deletions e2e/interchaintestv8/relayer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit b54cee0

Please sign in to comment.