feat(x/asset): Add clawback and transfer auth priviledges #324
Annotations
10 errors and 8 warnings
x/asset/priviledges/clawback/messages.pb.go#L1
: # github.com/realiotech/realio-network/x/asset/priviledges/clawback
|
x/asset/priviledges/clawback/msg_handler.go#L38
cannot use func(context context.Context, msg proto.Message, tokenID string, privAcc sdk.AccAddress) (proto.Message, error) {…} (value of type func(context "context".Context, msg "github.com/gogo/protobuf/proto".Message, tokenID string, privAcc "github.com/cosmos/cosmos-sdk/types".AccAddress) ("github.com/gogo/protobuf/proto".Message, error)) as "github.com/realiotech/realio-network/x/asset/types".MsgHandler value in return statement (typecheck)
|
x/asset/priviledges/freeze/msg_server.go#L29
cannot use (func(context context.Context, msg proto.Message, tokenID string, privAcc sdk.AccAddress) (proto.Message, error) literal) (value of type func(context "context".Context, msg "github.com/gogo/protobuf/proto".Message, tokenID string, privAcc "github.com/cosmos/cosmos-sdk/types".AccAddress) ("github.com/gogo/protobuf/proto".Message, error)) as "github.com/realiotech/realio-network/x/asset/types".MsgHandler value in return statement (typecheck)
|
x/asset/priviledges/mint/messages.pb.go#L1
: # github.com/realiotech/realio-network/x/asset/priviledges/mint
|
x/asset/priviledges/mint/msg_server.go#L29
cannot use func(context context.Context, msg proto.Message, tokenID string, privAcc sdk.AccAddress) (proto.Message, error) {…} (value of type func(context "context".Context, msg "github.com/gogo/protobuf/proto".Message, tokenID string, privAcc "github.com/cosmos/cosmos-sdk/types".AccAddress) ("github.com/gogo/protobuf/proto".Message, error)) as "github.com/realiotech/realio-network/x/asset/types".MsgHandler value in return statement (typecheck)
|
x/asset/priviledges/transfer_auth/msg_server.go#L26
cannot use (func(context context.Context, msg proto.Message, tokenID string, privAcc sdk.AccAddress) (proto.Message, error) literal) (value of type func(context "context".Context, msg "github.com/gogo/protobuf/proto".Message, tokenID string, privAcc "github.com/cosmos/cosmos-sdk/types".AccAddress) ("github.com/gogo/protobuf/proto".Message, error)) as "github.com/realiotech/realio-network/x/asset/types".MsgHandler value in return statement (typecheck)
|
app/apptesting/test_suite.go#L41
expected 'IDENT', found newline (typecheck)
|
app/apptesting/test_suite.go#L43
expected '(', found 'func' (typecheck)
|
app/app.go#L129
could not import github.com/realiotech/realio-network/x/asset/priviledges/clawback (-: # github.com/realiotech/realio-network/x/asset/priviledges/clawback
|
x/asset/priviledges/clawback/msg_handler.go#L38
cannot use func(context context.Context, msg proto.Message, tokenID string, privAcc sdk.AccAddress) (proto.Message, error) {…} (value of type func(context "context".Context, msg "github.com/gogo/protobuf/proto".Message, tokenID string, privAcc "github.com/cosmos/cosmos-sdk/types".AccAddress) ("github.com/gogo/protobuf/proto".Message, error)) as "github.com/realiotech/realio-network/x/asset/types".MsgHandler value in return statement) (typecheck)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
x/asset/types/events.go#L8
var-naming: const AttributeKeyTokenId should be AttributeKeyTokenID (revive)
|
x/asset/types/msg.go#L124
var-naming: func parameter tokenId should be tokenID (revive)
|
x/asset/types/token.go#L3
var-naming: func parameter tokenId should be tokenID (revive)
|
x/asset/types/msg.go#L162
var-naming: func parameter tokenId should be tokenID (revive)
|
x/asset/types/msg.go#L208
var-naming: func parameter tokenId should be tokenID (revive)
|
x/asset/types/msg.go#L254
var-naming: func parameter tokenId should be tokenID (revive)
|
x/asset/types/msg.go#L293
var-naming: func parameter tokenId should be tokenID (revive)
|
This job failed
Loading