diff --git a/x/sequencer/keeper/msg_server_create_sequencer.go b/x/sequencer/keeper/msg_server_create_sequencer.go index 8de076b99..ba53cf9b9 100644 --- a/x/sequencer/keeper/msg_server_create_sequencer.go +++ b/x/sequencer/keeper/msg_server_create_sequencer.go @@ -9,7 +9,6 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/dymensionxyz/sdk-utils/utils/uevent" "github.com/dymensionxyz/dymension/v3/x/sequencer/types" ) @@ -124,10 +123,5 @@ func (k msgServer) CreateSequencer(goCtx context.Context, msg *types.MsgCreateSe ), ) - uevent.EmitTypedEvent(ctx, &types.EventUpdateRewardAddress{ - Creator: msg.Creator, - RewardAddr: msg.RewardAddr, - }) - return &types.MsgCreateSequencerResponse{}, nil } diff --git a/x/sequencer/keeper/msg_server_create_sequencer_test.go b/x/sequencer/keeper/msg_server_create_sequencer_test.go index be5024aed..67518981b 100644 --- a/x/sequencer/keeper/msg_server_create_sequencer_test.go +++ b/x/sequencer/keeper/msg_server_create_sequencer_test.go @@ -354,9 +354,8 @@ func (suite *SequencerTestSuite) TestCreateSequencerInitialSequencerAsProposer() Rpcs: []string{"https://rpc.wpd.evm.rollapp.noisnemyd.xyz:443"}, }, } - resp, err := suite.msgServer.CreateSequencer(goCtx, &sequencerMsg) + _, err = suite.msgServer.CreateSequencer(goCtx, &sequencerMsg) suite.Require().ErrorIs(err, tc.expErr, tc.name) - _ = resp if tc.expErr != nil { return