Skip to content

Commit

Permalink
fix: fix EventBucketFlowRateLimitStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu committed May 8, 2024
1 parent c9c1881 commit 7d025d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/storage/keeper/bucket_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (k Keeper) setBucketFlowRateLimitStatus(ctx sdk.Context, bucketName string,
store.Set(types.GetBucketFlowRateLimitStatusKey(bucketName), bz)

if err := ctx.EventManager().EmitTypedEvents(&types.EventBucketFlowRateLimitStatus{
BucketId: bucketId,
BucketName: bucketName,
IsLimited: status.IsBucketLimited,
}); err != nil {
Expand Down

0 comments on commit 7d025d8

Please sign in to comment.