From 5253377f65920533d6ca49ce851c5ed97735e2f0 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 23 Jul 2024 18:19:34 -0500 Subject: [PATCH] fix(e2e): upgrade test --- .../e2e/upgrade_test.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/middleware/packet-forward-middleware/e2e/upgrade_test.go b/middleware/packet-forward-middleware/e2e/upgrade_test.go index 0314fa2e..77ea90ef 100644 --- a/middleware/packet-forward-middleware/e2e/upgrade_test.go +++ b/middleware/packet-forward-middleware/e2e/upgrade_test.go @@ -2,7 +2,6 @@ package e2e import ( "context" - "encoding/json" "fmt" "testing" "time" @@ -16,8 +15,6 @@ import ( "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/strangelove-ventures/interchaintest/v8/testutil" "github.com/stretchr/testify/require" - - packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward/types" ) const ( @@ -100,20 +97,6 @@ func CosmosChainUpgradeTest(t *testing.T, chainName, upgradeRepo, upgradeDockerT ValidatorVoting(t, ctx, chain, proposalID, height, haltHeight) UpgradeNodes(t, ctx, chain, client, haltHeight, upgradeRepo, upgradeDockerTag) - - // Validate the PFM subspace -> keeper migration was successful. - cmd := []string{ - chain.Config().Bin, "q", "packetforward", "params", "--output=json", "--node", chain.GetRPCAddress(), - } - stdout, _, err := chain.Exec(ctx, cmd, nil) - fmt.Println("stdout", string(stdout)) - require.NoError(t, err, "error fetching pfm params") - - var params packetforwardtypes.Params - err = json.Unmarshal(stdout, ¶ms) - require.NoError(t, err, "error unmarshalling pfm params") - t.Logf("params: %+v", params) - require.Equal(t, sdkmath.LegacyNewDec(0), params.FeePercentage, "fee percentage not equal to expected value") } func SubmitUpgradeProposal(t *testing.T, ctx context.Context, chain *cosmos.CosmosChain, user ibc.Wallet, upgradeName string, haltHeight uint64) string {