Skip to content

Commit

Permalink
Use gaia with pfm with configurable timeout and retries
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Nov 5, 2022
1 parent becedb6 commit 50d6d09
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/ibc/packet_forward_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,6 @@ func TestPacketForwardMiddleware(t *testing.T) {
require.NoError(t, err)
require.Equal(t, int64(0), gaiaBal)

// Now restart all nodes with a version of gaia that has 2 retries and 1 second timeout
err = gaia.StopAllNodes(ctx)
require.NoError(t, err)
gaia.UpgradeVersion(ctx, client, "strangelove-packet-forward-middleware-two-retries-low-timeout")
err = gaia.StartAllNodes(ctx)
require.NoError(t, err)

// Send packet from Osmosis->Hub->Juno with the timeout so low that it can not make it from Hub to Juno, which should result in a refund from Hub to Osmosis after two retries.
transfer = ibc.WalletAmount{
Address: gaiaUser.Bech32Address(gaia.Config().Bech32Prefix),
Expand Down

0 comments on commit 50d6d09

Please sign in to comment.