Skip to content

Commit ca6baf8

Browse files
committed
Fix linting errors
1 parent 9f0eff1 commit ca6baf8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

x/axelarcork/keeper/abci.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func (k Keeper) EndBlocker(ctx sdk.Context) {
4242
sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory),
4343
sdk.NewAttribute(types.AttributeKeyCork, c.String()),
4444
sdk.NewAttribute(types.AttributeKeyBlockHeight, fmt.Sprintf("%d", ctx.BlockHeight())),
45-
sdk.NewAttribute(types.AttributeKeyCorkId, hex.EncodeToString(c.IDHash(uint64(ctx.BlockHeight())))),
45+
sdk.NewAttribute(types.AttributeKeyCorkID, hex.EncodeToString(c.IDHash(uint64(ctx.BlockHeight())))),
4646
),
4747
},
4848
)

x/axelarcork/types/events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const (
66

77
AttributeKeyCork = "cork"
88
AttributeKeyBlockHeight = "block_height"
9-
AttributeKeyCorkId = "cork_id"
9+
AttributeKeyCorkID = "cork_id"
1010

1111
AttributeValueCategory = ModuleName
1212
)

x/cork/keeper/abci.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (k Keeper) submitContractCall(ctx sdk.Context, cork v2types.Cork) {
3939
sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory),
4040
sdk.NewAttribute(types.AttributeKeyCork, cork.String()),
4141
sdk.NewAttribute(types.AttributeKeyBlockHeight, fmt.Sprintf("%d", ctx.BlockHeight())),
42-
sdk.NewAttribute(types.AttributeKeyCorkId, hex.EncodeToString(cork.IDHash(uint64(ctx.BlockHeight())))),
42+
sdk.NewAttribute(types.AttributeKeyCorkID, hex.EncodeToString(cork.IDHash(uint64(ctx.BlockHeight())))),
4343
sdk.NewAttribute(gravitytypes.AttributeKeyContractCallInvalidationScope, fmt.Sprint(invalidationScope)),
4444
sdk.NewAttribute(gravitytypes.AttributeKeyContractCallInvalidationNonce, fmt.Sprint(invalidationNonce)),
4545
),

x/cork/keeper/msg_server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (k Keeper) ScheduleCork(c context.Context, msg *types.MsgScheduleCorkReques
6060
sdk.NewAttribute(corktypes.AttributeKeyValidator, validatorAddr.String()),
6161
sdk.NewAttribute(corktypes.AttributeKeyCork, msg.Cork.String()),
6262
sdk.NewAttribute(corktypes.AttributeKeyBlockHeight, fmt.Sprintf("%d", msg.BlockHeight)),
63-
sdk.NewAttribute(corktypes.AttributeKeyCorkId, hex.EncodeToString(corkID)),
63+
sdk.NewAttribute(corktypes.AttributeKeyCorkID, hex.EncodeToString(corkID)),
6464
sdk.NewAttribute(gravitytypes.AttributeKeyContractCallInvalidationScope, fmt.Sprint(invalidationScope)),
6565
sdk.NewAttribute(gravitytypes.AttributeKeyContractCallInvalidationNonce, fmt.Sprint(invalidationNonce)),
6666
),

x/cork/types/events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const (
1313
AttributeKeyCommitPeriodStart = "commit_period_start"
1414
AttributeKeyCommitPeriodEnd = "commit_period_end"
1515
AttributeKeyBlockHeight = "block_height"
16-
AttributeKeyCorkId = "cork_id"
16+
AttributeKeyCorkID = "cork_id"
1717

1818
AttributeValueCategory = ModuleName
1919
)

0 commit comments

Comments
 (0)