Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
keruch committed Oct 11, 2024
1 parent ad86fee commit 2c4f152
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions x/sequencer/keeper/msg_server_create_sequencer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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
}
3 changes: 1 addition & 2 deletions x/sequencer/keeper/msg_server_create_sequencer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c4f152

Please sign in to comment.