Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Oct 23, 2023
1 parent 70f0cda commit b5c8b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions x/storage/keeper/cross_app_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ package keeper

import (
"encoding/hex"

"cosmossdk.io/math"

sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/bnb-chain/greenfield/types/common"
Expand Down
5 changes: 4 additions & 1 deletion x/storage/types/crosschain.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ const (
GroupChannelId sdk.ChannelID = 6

// bucket operation types

OperationMirrorBucket uint8 = 1
OperationCreateBucket uint8 = 2
OperationDeleteBucket uint8 = 3

// object operation types

OperationMirrorObject uint8 = 1
// OperationCreateObject uint8 = 2 // not used
OperationDeleteObject uint8 = 3

// group operation types

OperationMirrorGroup uint8 = 1
OperationCreateGroup uint8 = 2
OperationDeleteGroup uint8 = 3
Expand Down Expand Up @@ -120,7 +123,7 @@ var (
},
}

// DeserializeFuncMapV2 used after Pamela upgrade
// DeserializeFuncMapV2 used after Pampas upgrade
DeserializeFuncMapV2 = map[sdk.ChannelID]map[uint8][3]DeserializeFunc{
BucketChannelId: {
OperationMirrorBucket: {
Expand Down

0 comments on commit b5c8b68

Please sign in to comment.