Skip to content

Commit

Permalink
fix lint and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Mar 26, 2023
1 parent ce684e2 commit 4f7eb65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/groups) [#14879](https://github.com/cosmos/cosmos-sdk/pull/14879) Add `Query/Groups` query to get all the groups.
* (x/genutil,cli) [#15147](https://github.com/cosmos/cosmos-sdk/pull/15147) Add `--initial-height` flag to cli init cmd to provide `genesis.json` with user defined initial block height
* (x/gov) [#15151](https://github.com/cosmos/cosmos-sdk/pull/15151) Add `burn_vote_quorum`, `burn_proposal_deposit_prevote` and `burn_vote_veto` params to allow applications to decide if they would like to burn deposits
* (runtime) [#15547](https://github.com/cosmos/cosmos-sdk/pull/15547) Add eventService

### Improvements

Expand Down
6 changes: 2 additions & 4 deletions runtime/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ func NewEventManager(ctx context.Context) event.Manager {
// Emit emits an typed event that is defined in the protobuf file.
// In the future these events will be added to consensus
func (e Events) Emit(ctx context.Context, event protoiface.MessageV1) error {
e.EventManagerI.EmitTypedEvent(event)
return nil
return e.EventManagerI.EmitTypedEvent(event)
}

// EmitKV emits a key value pair event
Expand All @@ -56,7 +55,6 @@ func (e Events) EmitKV(ctx context.Context, eventType string, attrs ...event.Att
// Emit emits an typed event that is defined in the protobuf file.
// In the future these events will be added to consensus
func (e Events) EmitNonConsensus(ctx context.Context, event protoiface.MessageV1) error {
e.EventManagerI.EmitTypedEvent(event)

return nil
return e.EventManagerI.EmitTypedEvent(event)
}

0 comments on commit 4f7eb65

Please sign in to comment.