diff --git a/e2e/testsuite/tx.go b/e2e/testsuite/tx.go index 0b1a3a73ad4..2facf1071e7 100644 --- a/e2e/testsuite/tx.go +++ b/e2e/testsuite/tx.go @@ -158,8 +158,9 @@ func (s *E2ETestSuite) ExecuteGovV1Proposal(ctx context.Context, msg sdk.Msg, ch panic("ExecuteAndPassGovV1Proposal must be passed a cosmos.CosmosChain") } - sender, err := addresscodec.NewBech32Codec(cosmosChain.Config().Bech32Prefix).StringToBytes(user.FormattedAddress()) + senderBytes, err := addresscodec.NewBech32Codec(cosmosChain.Config().Bech32Prefix).StringToBytes(user.FormattedAddress()) s.Require().NoError(err) + sender := sdk.AccAddress(senderBytes) proposalID := s.proposalIDs[cosmosChain.Config().ChainID] defer func() {