From 3c6a449cb1919db384184edd767836ff0c04c1bb Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Tue, 13 Feb 2024 21:43:39 -0700 Subject: [PATCH] e2e --- tests/e2e/group/tx.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/group/tx.go b/tests/e2e/group/tx.go index 596f546973f4..1807a5fdb025 100644 --- a/tests/e2e/group/tx.go +++ b/tests/e2e/group/tx.go @@ -2486,10 +2486,10 @@ func (s *E2ETestSuite) TestExecProposalsWhenMemberLeavesOrIsUpdated() { } func (s *E2ETestSuite) getGroupIDFromTxResponse(txResp sdk.TxResponse) string { - s.Require().Greater(len(txResp.Logs), 0) - s.Require().NotNil(txResp.Logs[0].Events) - events := txResp.Logs[0].Events - createProposalEvent, _ := sdk.TypedEventToEvent(&group.EventSubmitProposal{}) + s.Require().Greater(len(txResp.Events), 0) + s.Require().NotNil(txResp.Events[0]) + events := txResp.Events + createProposalEvent, _ := sdk.TypedEventToEvent(&group.EventCreateGroup{}) for _, e := range events { if e.Type == createProposalEvent.Type {